0s autopkgtest [05:30:08]: starting date and time: 2025-01-06 05:30:08+0000 0s autopkgtest [05:30:08]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [05:30:08]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d_wf1yti/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/plucky/armhf 55s autopkgtest [05:31:03]: testbed dpkg architecture: armhf 57s autopkgtest [05:31:05]: testbed apt version: 2.9.14ubuntu1 62s autopkgtest [05:31:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s autopkgtest [05:31:12]: testbed release detected to be: None 74s autopkgtest [05:31:22]: updating testbed package index (apt update) 76s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 77s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 77s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 77s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 77s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 77s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 77s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 77s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 77s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 77s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 77s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 77s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 77s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 77s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 77s Get:16 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 78s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 78s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 78s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 78s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 82s Fetched 41.1 MB in 5s (8274 kB/s) 82s Reading package lists... 90s autopkgtest [05:31:38]: upgrading testbed (apt dist-upgrade and autopurge) 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 93s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 93s Starting 2 pkgProblemResolver with broken count: 0 93s Done 94s Entering ResolveByKeep 94s 95s The following package was automatically installed and is no longer required: 95s libassuan0 95s Use 'apt autoremove' to remove it. 95s The following NEW packages will be installed: 95s openssl-provider-legacy python3-bcrypt 95s The following packages will be upgraded: 95s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 95s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 95s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 95s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 95s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 95s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 95s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 95s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 95s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 95s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 95s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 95s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 95s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 95s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 95s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 95s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 95s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 95s make mount openssl pci.ids publicsuffix python-apt-common python3 95s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 95s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 95s python3-newt python3-openssl python3-pkg-resources python3-problem-report 95s python3-rich python3-setuptools python3-software-properties python3-wadllib 95s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 95s readline-common rsync software-properties-common systemd systemd-cryptsetup 95s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 95s util-linux uuid-runtime whiptail xauth 95s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 58.4 MB of archives. 95s After this operation, 8823 kB of additional disk space will be used. 95s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 95s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 95s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 95s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 95s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 95s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 95s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 95s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 95s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 95s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 95s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 95s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 95s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 95s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 95s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 95s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 95s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 96s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 96s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 96s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 96s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 96s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 96s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 96s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 96s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 96s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 96s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 96s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 96s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 96s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 96s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 96s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 96s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 96s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 96s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 96s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 96s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 96s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 96s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 96s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 96s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 96s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 96s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 96s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 96s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 96s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 96s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 96s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 96s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 96s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 96s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 96s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 96s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 96s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 96s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 96s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 96s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 96s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 96s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 96s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 96s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 96s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 96s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 96s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 96s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 96s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 96s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 96s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 96s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 96s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 96s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 96s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 96s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 96s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 96s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 96s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 96s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 96s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 96s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 96s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 96s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 96s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 97s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 97s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 97s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 98s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 98s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 98s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 98s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 98s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 98s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 98s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 98s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 98s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 98s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 98s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 98s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 98s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 98s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 98s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 98s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 99s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 99s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 99s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 99s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 99s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 99s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 99s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 99s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 99s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 99s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 99s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 99s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 99s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 99s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 99s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 99s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 99s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 99s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 99s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 99s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 99s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 99s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 99s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 99s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 99s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 99s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 99s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 99s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 99s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 99s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 99s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 99s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 100s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 100s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 100s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 100s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 100s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 100s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 100s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 100s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 100s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 100s Preconfiguring packages ... 100s Fetched 58.4 MB in 5s (11.8 MB/s) 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 101s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 101s Setting up bash (5.2.37-1ubuntu1) ... 101s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 101s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 101s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 101s Setting up tar (1.35+dfsg-3.1) ... 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 101s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 101s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 101s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 101s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 101s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 101s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 101s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 101s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 101s (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 ... 59970 files and directories currently installed.) 101s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 101s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 102s Setting up libc6:armhf (2.40-4ubuntu1) ... 102s (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 ... 59970 files and directories currently installed.) 102s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 102s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 102s Selecting previously unselected package openssl-provider-legacy. 102s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 102s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 102s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 102s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 102s (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 ... 59973 files and directories currently installed.) 102s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 102s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 102s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 102s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 102s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 102s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 102s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 102s (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 ... 59974 files and directories currently installed.) 102s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 103s (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 ... 59974 files and directories currently installed.) 103s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 103s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 103s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 103s (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 ... 59974 files and directories currently installed.) 103s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 103s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 103s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 103s (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 ... 59974 files and directories currently installed.) 103s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 103s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 103s Setting up util-linux (2.40.2-1ubuntu2) ... 104s fstrim.service is a disabled or a static unit not running, not starting it. 104s (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 ... 59974 files and directories currently installed.) 104s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 104s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 104s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 104s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 104s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 104s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 104s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 104s Unpacking readline-common (8.2-6) over (8.2-5) ... 104s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 104s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 104s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 104s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 104s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 104s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 104s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 104s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 104s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 104s (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 ... 59974 files and directories currently installed.) 104s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 104s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 104s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 104s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 104s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 104s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 105s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 105s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 105s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 105s (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 ... 59967 files and directories currently installed.) 105s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 105s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 105s Setting up libsystemd0:armhf (257-2ubuntu1) ... 105s Setting up mount (2.40.2-1ubuntu2) ... 105s Setting up systemd (257-2ubuntu1) ... 105s Installing new version of config file /etc/systemd/logind.conf ... 105s Installing new version of config file /etc/systemd/sleep.conf ... 105s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 105s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 105s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 106s (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 ... 59967 files and directories currently installed.) 106s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 106s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 106s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 106s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 106s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 106s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 106s Setting up libudev1:armhf (257-2ubuntu1) ... 106s (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 ... 59967 files and directories currently installed.) 106s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 106s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 106s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 106s (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 ... 59967 files and directories currently installed.) 106s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 106s Unpacking base-passwd (3.6.6) over (3.6.5) ... 106s Setting up base-passwd (3.6.6) ... 106s (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 ... 59967 files and directories currently installed.) 106s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 106s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 106s Setting up libc-bin (2.40-4ubuntu1) ... 107s (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 ... 59967 files and directories currently installed.) 107s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 107s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 107s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 107s (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 ... 59967 files and directories currently installed.) 107s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 107s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 107s Setting up apt (2.9.18) ... 108s (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 ... 59966 files and directories currently installed.) 108s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 108s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 108s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 108s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 108s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 108s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 108s Setting up libgpg-error0:armhf (1.51-3) ... 108s (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 ... 59966 files and directories currently installed.) 108s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 108s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 108s Setting up libnpth0t64:armhf (1.8-2) ... 108s (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 ... 59966 files and directories currently installed.) 108s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 108s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 108s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 108s Setting up gpgv (2.4.4-2ubuntu21) ... 108s (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 ... 59966 files and directories currently installed.) 108s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 109s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 109s Setting up python3-minimal (3.12.8-1) ... 109s (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 ... 59966 files and directories currently installed.) 109s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 109s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 109s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 109s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 109s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 109s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 109s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 109s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 109s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 109s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 109s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 110s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 110s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 110s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 110s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 110s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 110s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 110s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 110s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 110s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 110s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 110s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 110s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 110s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 110s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 110s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 110s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 110s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 110s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 110s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 110s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 110s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 111s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 111s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 111s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 111s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 111s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 111s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 111s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 111s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 111s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 111s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 111s Setting up libcap-ng0:armhf (0.8.5-4) ... 111s (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 ... 59953 files and directories currently installed.) 111s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 111s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 111s Setting up libunistring5:armhf (1.3-1) ... 111s (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 ... 59953 files and directories currently installed.) 111s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 111s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 111s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 111s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 111s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 111s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 111s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 111s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 111s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 111s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 111s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 111s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 111s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 111s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 111s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 111s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 112s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 112s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 112s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 112s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 112s Preparing to unpack .../10-ucf_3.0046_all.deb ... 112s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 112s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 112s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 112s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 112s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 112s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 112s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 112s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 112s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 112s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 112s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 112s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 112s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 112s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 112s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 112s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 112s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 113s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 113s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 113s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 113s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 113s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 113s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 113s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 113s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 113s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 113s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 113s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 113s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 113s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 113s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 113s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 113s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 113s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 113s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 113s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 113s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 113s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 113s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 113s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 113s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 113s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 113s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 113s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 113s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 113s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 113s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 113s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 113s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 114s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 114s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 114s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 114s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 114s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 114s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 114s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 114s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 114s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 114s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 114s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 114s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 114s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 114s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 114s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 114s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 114s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 114s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 115s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 115s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 115s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 115s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 115s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 115s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 115s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 115s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 115s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 115s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 115s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 115s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 115s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 115s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 115s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 115s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 115s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 115s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 115s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 115s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 115s Selecting previously unselected package python3-bcrypt. 115s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 115s Unpacking python3-bcrypt (4.2.0-2.1) ... 115s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 115s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 115s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 116s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 116s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 116s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 116s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 116s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 116s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 116s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 116s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 117s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 117s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 117s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 117s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 117s Unpacking software-properties-common (0.108) over (0.105) ... 117s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 117s Unpacking python3-software-properties (0.108) over (0.105) ... 117s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 117s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 117s Setting up systemd-sysv (257-2ubuntu1) ... 117s Setting up pci.ids (0.0~2024.11.25-1) ... 117s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 117s Setting up apt-utils (2.9.18) ... 117s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 117s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 117s Setting up libyaml-0-2:armhf (0.2.5-2) ... 117s Setting up python3.12-gdbm (3.12.8-3) ... 117s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 117s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 117s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 117s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 117s Setting up gettext-base (0.22.5-3) ... 117s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 117s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 117s Setting up locales (2.40-4ubuntu1) ... 118s Generating locales (this might take a while)... 120s en_US.UTF-8... done 120s Generation complete. 120s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 120s Setting up tzdata (2024b-4ubuntu1) ... 120s 120s Current default time zone: 'Etc/UTC' 120s Local time is now: Mon Jan 6 05:32:08 UTC 2025. 120s Universal Time is now: Mon Jan 6 05:32:08 UTC 2025. 120s Run 'dpkg-reconfigure tzdata' if you wish to change it. 120s 120s Setting up eject (2.40.2-1ubuntu2) ... 120s Setting up libftdi1-2:armhf (1.5-8) ... 120s Setting up libglib2.0-data (2.82.4-1) ... 120s Setting up systemd-cryptsetup (257-2ubuntu1) ... 120s Setting up libwrap0:armhf (7.6.q-34) ... 120s Setting up make (4.4.1-1) ... 120s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 120s Setting up bash-completion (1:2.16.0-1) ... 120s Setting up libfribidi0:armhf (1.0.16-1) ... 120s Setting up libpng16-16t64:armhf (1.6.44-3) ... 120s Setting up systemd-timesyncd (257-2ubuntu1) ... 120s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 120s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 120s Setting up udev (257-2ubuntu1) ... 121s Setting up usb.ids (2024.12.04-1) ... 121s Setting up ucf (3.0046) ... 121s Installing new version of config file /etc/ucf.conf ... 121s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 121s Setting up whiptail (0.52.24-4ubuntu1) ... 121s Setting up python-apt-common (2.9.6build1) ... 121s Setting up dracut-install (105-2ubuntu5) ... 121s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 122s uuidd.service is a disabled or a static unit not running, not starting it. 122s Setting up xauth (1:1.1.2-1.1) ... 122s Setting up groff-base (1.23.0-7) ... 122s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 122s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 122s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 122s Setting up curl (8.11.1-1ubuntu1) ... 122s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 122s Setting up openssl (3.4.0-1ubuntu2) ... 122s Installing new version of config file /etc/ssl/openssl.cnf ... 122s Setting up libgpg-error-l10n (1.51-3) ... 122s Setting up iputils-ping (3:20240905-1ubuntu1) ... 122s Setting up readline-common (8.2-6) ... 122s Setting up publicsuffix (20241206.1516-0.1) ... 122s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 122s Setting up libbpf1:armhf (1:1.5.0-2) ... 122s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 122s Setting up rsync (3.3.0+ds1-2) ... 123s rsync.service is a disabled or a static unit not running, not starting it. 123s Setting up python3.13-gdbm (3.13.1-2) ... 123s Setting up ethtool (1:6.11-1) ... 123s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 123s Setting up systemd-resolved (257-2ubuntu1) ... 124s Setting up libxkbcommon0:armhf (1.7.0-2) ... 124s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 124s Setting up python3.12-minimal (3.12.8-3) ... 125s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 125s No schema files found: doing nothing. 125s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 125s Setting up libreadline8t64:armhf (8.2-6) ... 125s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 125s Setting up gpgconf (2.4.4-2ubuntu21) ... 125s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 125s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 125s Setting up gpg (2.4.4-2ubuntu21) ... 125s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 125s Setcap worked! gst-ptp-helper is not suid! 125s Setting up gpg-agent (2.4.4-2ubuntu21) ... 125s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 125s Setting up python3.12 (3.12.8-3) ... 127s Setting up gpgsm (2.4.4-2ubuntu21) ... 127s Setting up libglib2.0-bin (2.82.4-1) ... 127s Setting up libappstream5:armhf (1.0.4-1) ... 127s Setting up libqmi-glib5:armhf (1.35.6-1) ... 127s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 127s Setting up fdisk (2.40.2-1ubuntu2) ... 127s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 127s Setting up dirmngr (2.4.4-2ubuntu21) ... 127s Setting up appstream (1.0.4-1) ... 127s ✔ Metadata cache was updated successfully. 127s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 127s Setting up keyboxd (2.4.4-2ubuntu21) ... 127s Setting up gnupg (2.4.4-2ubuntu21) ... 127s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 127s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 127s Setting up libqmi-proxy (1.35.6-1) ... 127s Setting up libfwupd3:armhf (2.0.3-3) ... 127s Setting up python3 (3.12.8-1) ... 127s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 127s Setting up python3-jinja2 (3.1.3-1.1) ... 128s Setting up python3-wadllib (2.0.0-2) ... 128s Setting up python3-json-pointer (2.4-3) ... 128s Setting up fwupd (2.0.3-3) ... 128s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 128s fwupd.service is a disabled or a static unit not running, not starting it. 128s Setting up python3-pkg-resources (75.6.0-1) ... 129s Setting up python3-attr (24.2.0-1) ... 129s Setting up python3-setuptools (75.6.0-1) ... 130s Setting up python3-rich (13.9.4-1) ... 130s Setting up python3-gdbm:armhf (3.13.1-1) ... 130s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 130s Setting up python3-apt (2.9.6build1) ... 130s Setting up python3-jsonpatch (1.32-5) ... 130s Setting up python3-bcrypt (4.2.0-2.1) ... 131s Setting up python3-apport (2.31.0-0ubuntu2) ... 131s Setting up python3-software-properties (0.108) ... 131s Setting up python3-cryptography (43.0.0-1) ... 131s Setting up python3-openssl (24.3.0-1) ... 131s Setting up software-properties-common (0.108) ... 131s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 132s Setting up apport (2.31.0-0ubuntu2) ... 133s apport-autoreport.service is a disabled or a static unit not running, not starting it. 133s Processing triggers for dbus (1.14.10-4ubuntu5) ... 133s Processing triggers for shared-mime-info (2.4-5) ... 133s Warning: program compiled against libxml 212 using older 209 133s Processing triggers for debianutils (5.21) ... 133s Processing triggers for install-info (7.1.1-1) ... 133s Processing triggers for initramfs-tools (0.142ubuntu35) ... 134s Processing triggers for libc-bin (2.40-4ubuntu1) ... 134s Processing triggers for systemd (257-2ubuntu1) ... 134s Processing triggers for man-db (2.13.0-1) ... 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 140s Starting pkgProblemResolver with broken count: 0 140s Starting 2 pkgProblemResolver with broken count: 0 140s Done 141s The following packages will be REMOVED: 141s libassuan0* 141s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 141s After this operation, 68.6 kB disk space will be freed. 141s (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 ... 60003 files and directories currently installed.) 141s Removing libassuan0:armhf (2.5.6-1build1) ... 141s Processing triggers for libc-bin (2.40-4ubuntu1) ... 144s autopkgtest [05:32:32]: rebooting testbed after setup commands that affected boot 204s autopkgtest [05:33:32]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 242s autopkgtest [05:34:10]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 329s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 329s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 329s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 329s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 329s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 329s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 329s gpgv: Can't check signature: No public key 329s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 330s autopkgtest [05:35:38]: testing package glib2.0 version 2.82.4-1 341s autopkgtest [05:35:49]: build not needed 353s autopkgtest [05:36:01]: test build: preparing testbed 355s Reading package lists... 356s Building dependency tree... 356s Reading state information... 356s Starting pkgProblemResolver with broken count: 0 356s Starting 2 pkgProblemResolver with broken count: 0 356s Done 357s The following NEW packages will be installed: 357s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 357s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 357s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 357s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 357s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 357s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 357s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 357s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 357s rpcsvc-proto uuid-dev zlib1g-dev 357s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 357s Need to get 54.3 MB of archives. 357s After this operation, 160 MB of additional disk space will be used. 357s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 357s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 358s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 358s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 358s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 358s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 358s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 358s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [9217 kB] 358s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-12ubuntu1 [1034 B] 358s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 358s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 358s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-12ubuntu1 [43.4 kB] 358s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-12ubuntu1 [125 kB] 358s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-12ubuntu1 [2900 kB] 358s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-12ubuntu1 [1150 kB] 358s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-12ubuntu1 [897 kB] 358s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [18.0 MB] 359s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-12ubuntu1 [502 kB] 359s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 359s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 359s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-12ubuntu1 [2571 kB] 360s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [10.5 MB] 360s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-12ubuntu1 [20.2 kB] 360s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 360s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 360s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 360s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 360s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu2 [51.0 kB] 360s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu2 [207 kB] 360s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 360s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 360s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 360s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 360s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 360s Get:35 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1-dev armhf 3.7-3ubuntu2 [160 kB] 360s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu2 [33.2 kB] 360s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB] 360s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 360s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 360s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 360s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 360s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.4-1 [1624 kB] 361s Fetched 54.3 MB in 4s (15.2 MB/s) 361s Selecting previously unselected package libc-dev-bin. 361s (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 ... 59998 files and directories currently installed.) 361s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 361s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 361s Selecting previously unselected package linux-libc-dev:armhf. 361s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ... 361s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 361s Selecting previously unselected package libcrypt-dev:armhf. 361s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 361s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 361s Selecting previously unselected package rpcsvc-proto. 361s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 361s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 361s Selecting previously unselected package libc6-dev:armhf. 361s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 361s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 362s Selecting previously unselected package libisl23:armhf. 362s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 362s Unpacking libisl23:armhf (0.27-1) ... 362s Selecting previously unselected package libmpc3:armhf. 362s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 362s Unpacking libmpc3:armhf (1.3.1-1build2) ... 362s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 362s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package cpp-14. 362s Preparing to unpack .../08-cpp-14_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package cpp-arm-linux-gnueabihf. 362s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 362s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package cpp. 362s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 362s Unpacking cpp (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package libcc1-0:armhf. 362s Preparing to unpack .../11-libcc1-0_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking libcc1-0:armhf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package libgomp1:armhf. 362s Preparing to unpack .../12-libgomp1_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking libgomp1:armhf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package libasan8:armhf. 362s Preparing to unpack .../13-libasan8_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking libasan8:armhf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package libubsan1:armhf. 362s Preparing to unpack .../14-libubsan1_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking libubsan1:armhf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package libgcc-14-dev:armhf. 362s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 362s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 362s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 362s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 363s Selecting previously unselected package gcc-14. 363s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_armhf.deb ... 363s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 363s Selecting previously unselected package gcc-arm-linux-gnueabihf. 363s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 363s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 363s Selecting previously unselected package gcc. 363s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 363s Unpacking gcc (4:14.1.0-2ubuntu1) ... 363s Selecting previously unselected package libstdc++-14-dev:armhf. 363s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_armhf.deb ... 363s Unpacking libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 364s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 364s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-14. 364s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_armhf.deb ... 364s Unpacking g++-14 (14.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-arm-linux-gnueabihf. 364s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 364s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 364s Selecting previously unselected package g++. 364s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 364s Unpacking g++ (4:14.1.0-2ubuntu1) ... 364s Selecting previously unselected package build-essential. 364s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 364s Unpacking build-essential (12.10ubuntu1) ... 364s Selecting previously unselected package libffi-dev:armhf. 364s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_armhf.deb ... 364s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 364s Selecting previously unselected package uuid-dev:armhf. 364s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu2_armhf.deb ... 364s Unpacking uuid-dev:armhf (2.40.2-1ubuntu2) ... 364s Selecting previously unselected package libblkid-dev:armhf. 364s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu2_armhf.deb ... 364s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu2) ... 364s Selecting previously unselected package libsepol-dev:armhf. 364s Preparing to unpack .../29-libsepol-dev_3.7-1_armhf.deb ... 364s Unpacking libsepol-dev:armhf (3.7-1) ... 364s Selecting previously unselected package libpcre2-16-0:armhf. 364s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 364s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 364s Selecting previously unselected package libpcre2-32-0:armhf. 364s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 364s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 364s Selecting previously unselected package libpcre2-posix3:armhf. 364s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 364s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 364s Selecting previously unselected package libpcre2-dev:armhf. 364s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 364s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 364s Selecting previously unselected package libselinux1-dev:armhf. 364s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu2_armhf.deb ... 364s Unpacking libselinux1-dev:armhf (3.7-3ubuntu2) ... 365s Selecting previously unselected package libmount-dev:armhf. 365s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu2_armhf.deb ... 365s Unpacking libmount-dev:armhf (2.40.2-1ubuntu2) ... 365s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 365s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_armhf.deb ... 365s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ... 365s Selecting previously unselected package libpkgconf3:armhf. 365s Preparing to unpack .../37-libpkgconf3_1.8.1-4_armhf.deb ... 365s Unpacking libpkgconf3:armhf (1.8.1-4) ... 365s Selecting previously unselected package pkgconf-bin. 365s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_armhf.deb ... 365s Unpacking pkgconf-bin (1.8.1-4) ... 365s Selecting previously unselected package pkgconf:armhf. 365s Preparing to unpack .../39-pkgconf_1.8.1-4_armhf.deb ... 365s Unpacking pkgconf:armhf (1.8.1-4) ... 365s Selecting previously unselected package zlib1g-dev:armhf. 365s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 365s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 365s Selecting previously unselected package libgio-2.0-dev:armhf. 365s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_armhf.deb ... 365s Unpacking libgio-2.0-dev:armhf (2.82.4-1) ... 365s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 365s Setting up libgomp1:armhf (14.2.0-12ubuntu1) ... 365s Setting up libffi-dev:armhf (3.4.6-1build1) ... 365s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 365s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ... 365s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 365s Setting up libpkgconf3:armhf (1.8.1-4) ... 365s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 365s Setting up libmpc3:armhf (1.3.1-1build2) ... 365s Setting up libsepol-dev:armhf (3.7-1) ... 365s Setting up pkgconf-bin (1.8.1-4) ... 365s Setting up libubsan1:armhf (14.2.0-12ubuntu1) ... 365s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 365s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 365s Setting up libasan8:armhf (14.2.0-12ubuntu1) ... 365s Setting up libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 365s Setting up libisl23:armhf (0.27-1) ... 365s Setting up libc-dev-bin (2.40-4ubuntu1) ... 365s Setting up libcc1-0:armhf (14.2.0-12ubuntu1) ... 365s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 365s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 365s Setting up pkgconf:armhf (1.8.1-4) ... 365s Setting up cpp-14 (14.2.0-12ubuntu1) ... 365s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 365s Setting up libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 365s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 365s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 365s Setting up g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 365s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 365s Setting up libselinux1-dev:armhf (3.7-3ubuntu2) ... 365s Setting up gcc-14 (14.2.0-12ubuntu1) ... 365s Setting up uuid-dev:armhf (2.40.2-1ubuntu2) ... 365s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 365s Setting up cpp (4:14.1.0-2ubuntu1) ... 365s Setting up g++-14 (14.2.0-12ubuntu1) ... 365s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 365s Setting up libblkid-dev:armhf (2.40.2-1ubuntu2) ... 365s Setting up gcc (4:14.1.0-2ubuntu1) ... 365s Setting up g++ (4:14.1.0-2ubuntu1) ... 365s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 365s Setting up build-essential (12.10ubuntu1) ... 365s Setting up libmount-dev:armhf (2.40.2-1ubuntu2) ... 365s Setting up libgio-2.0-dev:armhf (2.82.4-1) ... 365s Processing triggers for man-db (2.13.0-1) ... 366s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 366s No schema files found: doing nothing. 366s Processing triggers for install-info (7.1.1-1) ... 366s Processing triggers for libc-bin (2.40-4ubuntu1) ... 375s autopkgtest [05:36:23]: test build: [----------------------- 377s + mode=dynamic 377s + getopt -o --long static -n debian/tests/build -- 377s + getopt_temp= -- 377s + eval set -- -- 377s + set -- -- 377s + true 377s + shift 377s + break 377s + mktemp -d 377s + WORKDIR=/tmp/tmp.xXtAKXKj0A 377s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 377s + cd /tmp/tmp.xXtAKXKj0A 377s + [ -n ] 377s + CROSS_COMPILE= 377s + cat 377s + cat 377s + cat 377s + cat 377s + cat 377s + cat 377s + cflags= 377s + pcflags= 377s + packages=glib-2.0 377s + pkg-config --cflags --libs glib-2.0 377s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 377s + echo build (glib, dynamic): OK 377s + [ -x glib-dynamic ] 377s + foo=bar ./glib-dynamic 377s build (glib, dynamic): OK 377s run (glib, dynamic): OK 377s + echo run (glib, dynamic): OK 377s + cflags= 377s + pcflags= 377s + packages=gobject-2.0 377s + pkg-config --cflags --libs gobject-2.0 377s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 377s + echo build (gobject, dynamic): OK 377s + [ -x gobject-dynamic ] 377s + foo=bar ./gobject-dynamic 377s build (gobject, dynamic): OK 377s run (gobject, dynamic): OK 377s + echo run (gobject, dynamic): OK 377s + cflags= 377s + pcflags= 377s + packages=gio-2.0 377s + pkg-config --cflags --libs gio-2.0 377s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 378s + echo build (gio, dynamic): OK 378s + [ -x gio-dynamic ] 378s + foo=bar ./gio-dynamic 378s build (gio, dynamic): OK 378s run (gio, dynamic): OK 378s + echo run (gio, dynamic): OK 378s + cflags= 378s + pcflags= 378s + packages=gio-unix-2.0 378s + pkg-config --cflags --libs gio-unix-2.0 378s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 378s + echo build (gio-unix, dynamic): OK 378s + [ -x gio-unix-dynamic ] 378s + foo=bar ./gio-unix-dynamic 378s build (gio-unix, dynamic): OK 378s run (gio-unix, dynamic): OK 378s + echo run (gio-unix, dynamic): OK 378s + cflags= 378s + pcflags= 378s + packages=gmodule-2.0 378s + pkg-config --cflags --libs gmodule-2.0 378s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 378s build (gmodule, dynamic): OK 378s + echo build (gmodule, dynamic): OK 378s + [ -x gmodule-dynamic ] 378s + foo=bar ./gmodule-dynamic 378s + echo run (gmodule, dynamic): OK 378s + cflags= 378s + pcflags= 378s + packages=gthread-2.0 378s run (gmodule, dynamic): OK 378s + pkg-config --cflags --libs gthread-2.0 378s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 378s build (gthread, dynamic): OK 378s run (gthread, dynamic): OK 378s + echo build (gthread, dynamic): OK 378s + [ -x gthread-dynamic ] 378s + foo=bar ./gthread-dynamic 378s + echo run (gthread, dynamic): OK 378s + rm -rf /tmp/tmp.xXtAKXKj0A 379s autopkgtest [05:36:27]: test build: -----------------------] 383s autopkgtest [05:36:31]: test build: - - - - - - - - - - results - - - - - - - - - - 383s build PASS (superficial) 387s autopkgtest [05:36:35]: test build-static: preparing testbed 389s Reading package lists... 389s Building dependency tree... 389s Reading state information... 390s Starting pkgProblemResolver with broken count: 0 390s Starting 2 pkgProblemResolver with broken count: 0 390s Done 391s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 399s autopkgtest [05:36:47]: test build-static: [----------------------- 401s + mode=dynamic 401s + getopt -o --long static -n debian/tests/build -- --static 401s + getopt_temp= --static -- 401s + eval set -- --static -- 401s + set -- --static -- 401s + true 401s + mode=static 401s + shift 401s + continue 401s + true 401s + shift 401s + break 401s + mktemp -d 401s + WORKDIR=/tmp/tmp.9Ajsh8siXF 401s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 401s + cd /tmp/tmp.9Ajsh8siXF 401s + [ -n ] 401s + CROSS_COMPILE= 401s + cat 401s + cat 401s + cat 401s + cat 401s + cat 401s + cat 401s + cflags= 401s + pcflags= 401s + packages=glib-2.0 401s + cflags=-static 401s + pcflags=--static 401s + pkg-config --static --cflags --libs glib-2.0 401s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 401s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 401s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s + echo build (glib, static): OK 401s + [ -x glib-static ] 401s + foo=bar ./glib-static 401s build (glib, static): OK 401s + echo run (glib, static): OK 401s + cflags= 401s + pcflags= 401s + packages=gobject-2.0 401s + cflags=-static 401s + pcflags=--static 401s run (glib, static): OK 401s + pkg-config --static --cflags --libs gobject-2.0 401s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 401s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 401s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 401s + echo build (gobject, static): OK 401s + [ -x gobject-static ] 401s + foo=bar ./gobject-static 401s build (gobject, static): OK 401s + echo run (gobject, static): OK 401s + cflags= 401s + pcflags= 401s + packages=gio-2.0 401s + cflags=-static 401s + pcflags=--static 401s + continue 401s + cflags= 401s + pcflags= 401s + packages=gio-unix-2.0 401s + cflags=-static 401s + pcflags=--static 401s + continue 401s + cflags= 401s + pcflags= 401s + packages=gmodule-2.0 401s + cflags=-static 401s + pcflags=--static 401s + pkg-config --static --cflags --libs gmodule-2.0 401s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 401s run (gobject, static): OK 402s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 402s (.text+0x3e2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 402s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s + echo build (gmodule, static): OK 402s + [ -x gmodule-static ] 402s + foo=bar ./gmodule-static 402s build (gmodule, static): OK 402s + echo run (gmodule, static): OK 402s + cflags= 402s + pcflags= 402s + packages=gthread-2.0 402s + cflags=-static 402s + pcflags=--static 402s + pkg-config --static --cflags --libs gthread-2.0 402s run (gmodule, static): OK 402s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 402s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 402s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 402s + echo build (gthread, static): OK 402s + [ -x gthread-static ] 402s + foo=bar ./gthread-static 402s build (gthread, static): OK 402s + echo run (gthread, static): OK 402s + rm -rf /tmp/tmp.9Ajsh8siXF 402s run (gthread, static): OK 402s autopkgtest [05:36:50]: test build-static: -----------------------] 407s build-static PASS (superficial) 407s autopkgtest [05:36:55]: test build-static: - - - - - - - - - - results - - - - - - - - - - 411s autopkgtest [05:36:59]: test girepository-tools: preparing testbed 464s autopkgtest [05:37:52]: testbed dpkg architecture: armhf 466s autopkgtest [05:37:54]: testbed apt version: 2.9.14ubuntu1 470s autopkgtest [05:37:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 472s autopkgtest [05:38:00]: testbed release detected to be: plucky 480s autopkgtest [05:38:08]: updating testbed package index (apt update) 482s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 482s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 482s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 482s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 482s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 482s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 482s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 482s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 482s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 482s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 482s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 482s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 482s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 482s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 482s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 482s Get:16 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 483s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 483s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 483s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 484s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 487s Fetched 41.1 MB in 5s (7641 kB/s) 488s Reading package lists... 494s autopkgtest [05:38:22]: upgrading testbed (apt dist-upgrade and autopurge) 496s Reading package lists... 496s Building dependency tree... 496s Reading state information... 497s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 497s Starting 2 pkgProblemResolver with broken count: 0 497s Done 497s Entering ResolveByKeep 498s 498s The following package was automatically installed and is no longer required: 498s libassuan0 498s Use 'apt autoremove' to remove it. 498s The following NEW packages will be installed: 498s openssl-provider-legacy python3-bcrypt 498s The following packages will be upgraded: 498s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 498s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 498s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 498s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 498s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 498s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 498s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 498s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 498s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 498s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 498s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 498s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 498s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 498s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 498s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 498s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 498s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 498s make mount openssl pci.ids publicsuffix python-apt-common python3 498s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 498s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 498s python3-newt python3-openssl python3-pkg-resources python3-problem-report 498s python3-rich python3-setuptools python3-software-properties python3-wadllib 498s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 498s readline-common rsync software-properties-common systemd systemd-cryptsetup 498s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 498s util-linux uuid-runtime whiptail xauth 498s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 498s Need to get 58.4 MB of archives. 498s After this operation, 8823 kB of additional disk space will be used. 498s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 499s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 499s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 499s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 499s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 499s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 499s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 499s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 499s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 499s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 499s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 499s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 499s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 499s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 499s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 499s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 499s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 499s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 499s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 499s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 499s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 499s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 499s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 499s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 499s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 499s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 499s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 499s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 499s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 500s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 500s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 500s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 500s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 500s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 500s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 500s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 500s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 500s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 500s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 500s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 500s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 500s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 500s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 500s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 500s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 500s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 500s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 500s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 500s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 500s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 500s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 500s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 500s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 500s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 500s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 500s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 500s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 500s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 500s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 500s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 500s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 500s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 500s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 500s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 500s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 500s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 500s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 500s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 500s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 500s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 500s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 500s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 500s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 500s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 500s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 500s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 500s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 500s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 500s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 500s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 500s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 500s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 500s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 500s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 500s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 500s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 501s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 501s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 501s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 501s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 501s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 501s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 501s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 501s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 501s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 501s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 501s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 501s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 501s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 501s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 501s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 501s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 501s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 501s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 501s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 501s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 501s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 501s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 501s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 501s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 501s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 501s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 501s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 501s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 501s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 501s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 501s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 501s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 501s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 501s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 501s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 502s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 502s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 502s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 502s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 502s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 502s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 502s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 502s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 502s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 502s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 502s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 502s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 502s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 502s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 502s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 502s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 502s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 502s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 502s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 502s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 502s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 503s Preconfiguring packages ... 503s Fetched 58.4 MB in 3s (16.7 MB/s) 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 503s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 503s Setting up bash (5.2.37-1ubuntu1) ... 503s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 503s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 503s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 503s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 503s Setting up tar (1.35+dfsg-3.1) ... 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 503s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 503s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 503s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 503s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 503s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 503s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 503s (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 ... 59970 files and directories currently installed.) 503s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 503s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 504s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 504s (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 ... 59970 files and directories currently installed.) 504s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 504s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 504s Setting up libc6:armhf (2.40-4ubuntu1) ... 504s (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 ... 59970 files and directories currently installed.) 504s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 504s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 504s Selecting previously unselected package openssl-provider-legacy. 504s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 504s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 504s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 504s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 504s (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 ... 59973 files and directories currently installed.) 504s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 504s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 504s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 504s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 504s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 504s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 504s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 505s (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 ... 59974 files and directories currently installed.) 505s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 505s (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 ... 59974 files and directories currently installed.) 505s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 505s (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 ... 59974 files and directories currently installed.) 505s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 505s (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 ... 59974 files and directories currently installed.) 505s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Setting up util-linux (2.40.2-1ubuntu2) ... 506s fstrim.service is a disabled or a static unit not running, not starting it. 506s (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 ... 59974 files and directories currently installed.) 506s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 506s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 506s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 506s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 506s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 506s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 506s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 506s Unpacking readline-common (8.2-6) over (8.2-5) ... 506s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 506s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 506s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 506s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 506s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 506s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 506s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 506s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 506s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 506s (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 ... 59974 files and directories currently installed.) 506s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 506s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 506s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 506s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 507s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 507s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 507s (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 ... 59967 files and directories currently installed.) 507s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 507s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Setting up libsystemd0:armhf (257-2ubuntu1) ... 507s Setting up mount (2.40.2-1ubuntu2) ... 507s Setting up systemd (257-2ubuntu1) ... 507s Installing new version of config file /etc/systemd/logind.conf ... 507s Installing new version of config file /etc/systemd/sleep.conf ... 507s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 507s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 507s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 508s (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 ... 59967 files and directories currently installed.) 508s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 508s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 508s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 508s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 508s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 508s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 508s Setting up libudev1:armhf (257-2ubuntu1) ... 508s (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 ... 59967 files and directories currently installed.) 508s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 508s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 508s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 508s (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 ... 59967 files and directories currently installed.) 508s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 508s Unpacking base-passwd (3.6.6) over (3.6.5) ... 508s Setting up base-passwd (3.6.6) ... 508s (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 ... 59967 files and directories currently installed.) 508s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 508s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 508s Setting up libc-bin (2.40-4ubuntu1) ... 509s (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 ... 59967 files and directories currently installed.) 509s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 509s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 509s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 509s (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 ... 59967 files and directories currently installed.) 509s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 509s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 509s Setting up apt (2.9.18) ... 510s (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 ... 59966 files and directories currently installed.) 510s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 510s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 510s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 510s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 510s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 510s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 510s Setting up libgpg-error0:armhf (1.51-3) ... 510s (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 ... 59966 files and directories currently installed.) 510s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 510s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 510s Setting up libnpth0t64:armhf (1.8-2) ... 510s (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 ... 59966 files and directories currently installed.) 510s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 511s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 511s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 511s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 511s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 511s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 511s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 511s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 511s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 511s Setting up gpgv (2.4.4-2ubuntu21) ... 511s (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 ... 59966 files and directories currently installed.) 511s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 511s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 511s Setting up python3-minimal (3.12.8-1) ... 511s (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 ... 59966 files and directories currently installed.) 511s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 511s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 511s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 511s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 511s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 512s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 512s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 512s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 512s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 512s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 512s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 512s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 512s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 512s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 512s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 512s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 512s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 512s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 512s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 513s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 513s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 513s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 513s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 513s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 513s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 513s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 513s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 513s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 513s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 513s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 513s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 513s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 513s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 513s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 513s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 513s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 513s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 513s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 514s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 514s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 514s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 514s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 514s Setting up libcap-ng0:armhf (0.8.5-4) ... 514s (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 ... 59953 files and directories currently installed.) 514s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 514s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 514s Setting up libunistring5:armhf (1.3-1) ... 514s (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 ... 59953 files and directories currently installed.) 514s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 514s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 514s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 514s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 514s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 514s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 514s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 514s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 514s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 514s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 514s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 514s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 514s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 514s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 514s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 514s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 514s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 514s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 515s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 515s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 515s Preparing to unpack .../10-ucf_3.0046_all.deb ... 515s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 515s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 515s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 515s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 515s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 515s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 515s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 515s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 515s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 515s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 515s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 515s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 515s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 516s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 516s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 516s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 516s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 516s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 516s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 516s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 516s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 516s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 516s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 516s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 516s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 516s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 516s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 516s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 516s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 516s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 516s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 516s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 516s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 516s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 516s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 516s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 516s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 516s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 516s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 516s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 516s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 516s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 516s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 516s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 516s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 516s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 516s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 517s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 517s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 517s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 517s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 517s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 517s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 517s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 517s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 517s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 517s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 517s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 517s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 517s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 517s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 517s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 517s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 517s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 517s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 517s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 517s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 517s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 517s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 517s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 517s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 517s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 517s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 517s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 517s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 517s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 517s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 517s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 517s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 517s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 517s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 518s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 518s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 518s Selecting previously unselected package python3-bcrypt. 518s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 518s Unpacking python3-bcrypt (4.2.0-2.1) ... 518s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 518s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 518s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 518s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 518s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 518s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 518s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 518s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 518s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 518s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 518s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 519s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 519s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 519s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 519s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 519s Unpacking software-properties-common (0.108) over (0.105) ... 519s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 519s Unpacking python3-software-properties (0.108) over (0.105) ... 519s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 519s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 519s Setting up systemd-sysv (257-2ubuntu1) ... 519s Setting up pci.ids (0.0~2024.11.25-1) ... 519s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 519s Setting up apt-utils (2.9.18) ... 519s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 519s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 519s Setting up libyaml-0-2:armhf (0.2.5-2) ... 519s Setting up python3.12-gdbm (3.12.8-3) ... 519s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 519s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 519s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 519s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 519s Setting up gettext-base (0.22.5-3) ... 519s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 519s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 519s Setting up locales (2.40-4ubuntu1) ... 520s Generating locales (this might take a while)... 522s en_US.UTF-8... done 522s Generation complete. 522s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 522s Setting up tzdata (2024b-4ubuntu1) ... 522s 522s Current default time zone: 'Etc/UTC' 522s Local time is now: Mon Jan 6 05:38:50 UTC 2025. 522s Universal Time is now: Mon Jan 6 05:38:50 UTC 2025. 522s Run 'dpkg-reconfigure tzdata' if you wish to change it. 522s 522s Setting up eject (2.40.2-1ubuntu2) ... 522s Setting up libftdi1-2:armhf (1.5-8) ... 522s Setting up libglib2.0-data (2.82.4-1) ... 522s Setting up systemd-cryptsetup (257-2ubuntu1) ... 522s Setting up libwrap0:armhf (7.6.q-34) ... 522s Setting up make (4.4.1-1) ... 522s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 522s Setting up bash-completion (1:2.16.0-1) ... 522s Setting up libfribidi0:armhf (1.0.16-1) ... 522s Setting up libpng16-16t64:armhf (1.6.44-3) ... 522s Setting up systemd-timesyncd (257-2ubuntu1) ... 523s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 523s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 523s Setting up udev (257-2ubuntu1) ... 524s Setting up usb.ids (2024.12.04-1) ... 524s Setting up ucf (3.0046) ... 524s Installing new version of config file /etc/ucf.conf ... 524s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 524s Setting up whiptail (0.52.24-4ubuntu1) ... 524s Setting up python-apt-common (2.9.6build1) ... 524s Setting up dracut-install (105-2ubuntu5) ... 524s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 525s uuidd.service is a disabled or a static unit not running, not starting it. 525s Setting up xauth (1:1.1.2-1.1) ... 525s Setting up groff-base (1.23.0-7) ... 525s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 525s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 525s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 525s Setting up curl (8.11.1-1ubuntu1) ... 525s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 525s Setting up openssl (3.4.0-1ubuntu2) ... 525s Installing new version of config file /etc/ssl/openssl.cnf ... 525s Setting up libgpg-error-l10n (1.51-3) ... 525s Setting up iputils-ping (3:20240905-1ubuntu1) ... 525s Setting up readline-common (8.2-6) ... 525s Setting up publicsuffix (20241206.1516-0.1) ... 525s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 525s Setting up libbpf1:armhf (1:1.5.0-2) ... 525s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 525s Setting up rsync (3.3.0+ds1-2) ... 526s rsync.service is a disabled or a static unit not running, not starting it. 526s Setting up python3.13-gdbm (3.13.1-2) ... 526s Setting up ethtool (1:6.11-1) ... 526s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 526s Setting up systemd-resolved (257-2ubuntu1) ... 527s Setting up libxkbcommon0:armhf (1.7.0-2) ... 527s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 527s Setting up python3.12-minimal (3.12.8-3) ... 528s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 528s No schema files found: doing nothing. 528s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 528s Setting up libreadline8t64:armhf (8.2-6) ... 528s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 528s Setting up gpgconf (2.4.4-2ubuntu21) ... 528s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 528s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 528s Setting up gpg (2.4.4-2ubuntu21) ... 528s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 528s Setcap worked! gst-ptp-helper is not suid! 528s Setting up gpg-agent (2.4.4-2ubuntu21) ... 528s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 528s Setting up python3.12 (3.12.8-3) ... 529s Setting up gpgsm (2.4.4-2ubuntu21) ... 529s Setting up libglib2.0-bin (2.82.4-1) ... 529s Setting up libappstream5:armhf (1.0.4-1) ... 529s Setting up libqmi-glib5:armhf (1.35.6-1) ... 529s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 529s Setting up fdisk (2.40.2-1ubuntu2) ... 529s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 529s Setting up dirmngr (2.4.4-2ubuntu21) ... 529s Setting up appstream (1.0.4-1) ... 529s ✔ Metadata cache was updated successfully. 530s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 530s Setting up keyboxd (2.4.4-2ubuntu21) ... 530s Setting up gnupg (2.4.4-2ubuntu21) ... 530s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 530s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 530s Setting up libqmi-proxy (1.35.6-1) ... 530s Setting up libfwupd3:armhf (2.0.3-3) ... 530s Setting up python3 (3.12.8-1) ... 530s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 530s Setting up python3-jinja2 (3.1.3-1.1) ... 530s Setting up python3-wadllib (2.0.0-2) ... 531s Setting up python3-json-pointer (2.4-3) ... 531s Setting up fwupd (2.0.3-3) ... 531s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 531s fwupd.service is a disabled or a static unit not running, not starting it. 531s Setting up python3-pkg-resources (75.6.0-1) ... 532s Setting up python3-attr (24.2.0-1) ... 532s Setting up python3-setuptools (75.6.0-1) ... 533s Setting up python3-rich (13.9.4-1) ... 533s Setting up python3-gdbm:armhf (3.13.1-1) ... 533s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 533s Setting up python3-apt (2.9.6build1) ... 533s Setting up python3-jsonpatch (1.32-5) ... 533s Setting up python3-bcrypt (4.2.0-2.1) ... 534s Setting up python3-apport (2.31.0-0ubuntu2) ... 534s Setting up python3-software-properties (0.108) ... 534s Setting up python3-cryptography (43.0.0-1) ... 534s Setting up python3-openssl (24.3.0-1) ... 534s Setting up software-properties-common (0.108) ... 535s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 535s Setting up apport (2.31.0-0ubuntu2) ... 536s apport-autoreport.service is a disabled or a static unit not running, not starting it. 536s Processing triggers for dbus (1.14.10-4ubuntu5) ... 536s Processing triggers for shared-mime-info (2.4-5) ... 536s Warning: program compiled against libxml 212 using older 209 537s Processing triggers for debianutils (5.21) ... 537s Processing triggers for install-info (7.1.1-1) ... 537s Processing triggers for initramfs-tools (0.142ubuntu35) ... 537s Processing triggers for libc-bin (2.40-4ubuntu1) ... 538s Processing triggers for systemd (257-2ubuntu1) ... 538s Processing triggers for man-db (2.13.0-1) ... 542s Reading package lists... 543s Building dependency tree... 543s Reading state information... 543s Starting pkgProblemResolver with broken count: 0 543s Starting 2 pkgProblemResolver with broken count: 0 543s Done 544s The following packages will be REMOVED: 544s libassuan0* 544s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 544s After this operation, 68.6 kB disk space will be freed. 545s (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 ... 60003 files and directories currently installed.) 545s Removing libassuan0:armhf (2.5.6-1build1) ... 545s Processing triggers for libc-bin (2.40-4ubuntu1) ... 547s autopkgtest [05:39:15]: rebooting testbed after setup commands that affected boot 613s Reading package lists... 613s Building dependency tree... 613s Reading state information... 614s Starting pkgProblemResolver with broken count: 0 614s Starting 2 pkgProblemResolver with broken count: 0 614s Done 615s The following NEW packages will be installed: 615s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 615s native-architecture 615s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 615s Need to get 1059 kB of archives. 615s After this operation, 12.4 MB of additional disk space will be used. 615s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.4-1 [853 kB] 615s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 615s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 615s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 616s Fetched 1059 kB in 1s (1768 kB/s) 616s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 616s (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 ... 59998 files and directories currently installed.) 616s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_armhf.deb ... 616s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 616s Selecting previously unselected package native-architecture. 616s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 616s Unpacking native-architecture (0.2.3) ... 616s Selecting previously unselected package libgirepository-2.0-0:armhf. 616s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_armhf.deb ... 616s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 616s Selecting previously unselected package girepository-tools:armhf. 616s Preparing to unpack .../girepository-tools_2.82.4-1_armhf.deb ... 616s Unpacking girepository-tools:armhf (2.82.4-1) ... 616s Setting up native-architecture (0.2.3) ... 616s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 616s Setting up gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 616s Setting up girepository-tools:armhf (2.82.4-1) ... 616s Processing triggers for man-db (2.13.0-1) ... 617s Processing triggers for libc-bin (2.40-4ubuntu1) ... 640s autopkgtest [05:40:48]: test girepository-tools: [----------------------- 642s + cd /tmp/autopkgtest.IZl8W8/autopkgtest_tmp 642s + dpkg-architecture -qDEB_HOST_GNU_TYPE 642s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 642s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 642s + dpkg-architecture -qDEB_HOST_MULTIARCH 642s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 642s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 642s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 642s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 642s typelib: GLib-2.0 642s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 643s autopkgtest [05:40:51]: test girepository-tools: -----------------------] 647s autopkgtest [05:40:55]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 647s girepository-tools PASS (superficial) 651s autopkgtest [05:40:59]: test libgio-2.0-dev-bin: preparing testbed 704s autopkgtest [05:41:52]: testbed dpkg architecture: armhf 706s autopkgtest [05:41:54]: testbed apt version: 2.9.14ubuntu1 710s autopkgtest [05:41:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 712s autopkgtest [05:42:00]: testbed release detected to be: plucky 720s autopkgtest [05:42:08]: updating testbed package index (apt update) 722s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 723s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 723s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 723s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 723s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 723s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 723s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 723s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 723s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 723s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 723s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 723s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 723s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 724s Get:14 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 724s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 724s Get:16 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 724s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 724s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 724s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 724s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 728s Fetched 41.1 MB in 6s (7112 kB/s) 730s Reading package lists... 736s autopkgtest [05:42:24]: upgrading testbed (apt dist-upgrade and autopurge) 738s Reading package lists... 738s Building dependency tree... 738s Reading state information... 740s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 740s Starting 2 pkgProblemResolver with broken count: 0 740s Done 742s Entering ResolveByKeep 742s 743s The following package was automatically installed and is no longer required: 743s libassuan0 743s Use 'apt autoremove' to remove it. 744s The following NEW packages will be installed: 744s openssl-provider-legacy python3-bcrypt 744s The following packages will be upgraded: 744s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 744s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 744s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 744s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 744s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 744s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 744s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 744s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 744s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 744s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 744s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 744s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 744s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 744s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 744s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 744s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 744s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 744s make mount openssl pci.ids publicsuffix python-apt-common python3 744s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 744s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 744s python3-newt python3-openssl python3-pkg-resources python3-problem-report 744s python3-rich python3-setuptools python3-software-properties python3-wadllib 744s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 744s readline-common rsync software-properties-common systemd systemd-cryptsetup 744s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 744s util-linux uuid-runtime whiptail xauth 744s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 744s Need to get 58.4 MB of archives. 744s After this operation, 8823 kB of additional disk space will be used. 744s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 744s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 744s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 744s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 744s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 744s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 744s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 744s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 744s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 744s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 745s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 745s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 745s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 745s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 745s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 745s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 745s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 745s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 745s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 745s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 745s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 745s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 745s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 745s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 745s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 745s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 745s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 745s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 745s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 745s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 745s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 745s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 745s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 745s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 745s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 745s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 745s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 745s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 745s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 745s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 745s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 745s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 745s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 745s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 745s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 745s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 745s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 745s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 745s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 745s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 745s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 745s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 745s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 745s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 745s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 745s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 745s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 745s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 745s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 745s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 745s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 745s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 745s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 745s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 745s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 745s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 745s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 745s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 745s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 745s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 745s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 745s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 745s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 745s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 745s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 745s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 745s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 745s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 745s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 746s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 746s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 746s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 746s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 746s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 746s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 746s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 746s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 746s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 746s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 746s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 746s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 746s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 746s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 746s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 746s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 746s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 746s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 746s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 746s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 746s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 746s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 746s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 746s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 746s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 746s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 746s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 746s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 746s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 746s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 746s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 746s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 747s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 747s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 747s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 747s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 747s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 747s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 747s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 747s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 747s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 747s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 747s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 747s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 747s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 747s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 747s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 747s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 747s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 747s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 747s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 747s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 747s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 747s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 747s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 747s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 747s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 747s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 747s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 747s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 747s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 747s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 747s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 748s Preconfiguring packages ... 748s Fetched 58.4 MB in 3s (16.9 MB/s) 748s (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 ... 59970 files and directories currently installed.) 748s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 748s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 749s Setting up bash (5.2.37-1ubuntu1) ... 749s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 749s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 749s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 749s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 749s Setting up tar (1.35+dfsg-3.1) ... 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 749s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 749s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 749s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 749s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 749s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 749s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 749s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 749s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 749s (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 ... 59970 files and directories currently installed.) 749s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 750s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 750s Setting up libc6:armhf (2.40-4ubuntu1) ... 750s (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 ... 59970 files and directories currently installed.) 750s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 750s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 750s Selecting previously unselected package openssl-provider-legacy. 750s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 750s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 750s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 750s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 750s (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 ... 59973 files and directories currently installed.) 750s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 750s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 750s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 750s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 750s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 750s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 751s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 751s (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 ... 59974 files and directories currently installed.) 751s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 751s (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 ... 59974 files and directories currently installed.) 751s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 751s (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 ... 59974 files and directories currently installed.) 751s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 751s (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 ... 59974 files and directories currently installed.) 751s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 751s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 751s Setting up util-linux (2.40.2-1ubuntu2) ... 752s fstrim.service is a disabled or a static unit not running, not starting it. 752s (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 ... 59974 files and directories currently installed.) 752s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 752s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 752s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 752s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 752s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 752s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 752s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 752s Unpacking readline-common (8.2-6) over (8.2-5) ... 753s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 753s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 753s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 753s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 753s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 753s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 753s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 753s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 753s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 753s (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 ... 59974 files and directories currently installed.) 753s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 753s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 753s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 753s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 753s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 753s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 754s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 754s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 754s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 754s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 754s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 754s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 754s Setting up libsystemd0:armhf (257-2ubuntu1) ... 754s Setting up mount (2.40.2-1ubuntu2) ... 754s Setting up systemd (257-2ubuntu1) ... 754s Installing new version of config file /etc/systemd/logind.conf ... 754s Installing new version of config file /etc/systemd/sleep.conf ... 754s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 754s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 754s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 755s (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 ... 59967 files and directories currently installed.) 755s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 755s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 755s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 755s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 755s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 755s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 755s Setting up libudev1:armhf (257-2ubuntu1) ... 755s (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 ... 59967 files and directories currently installed.) 755s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 755s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 755s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 755s (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 ... 59967 files and directories currently installed.) 755s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 755s Unpacking base-passwd (3.6.6) over (3.6.5) ... 755s Setting up base-passwd (3.6.6) ... 756s (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 ... 59967 files and directories currently installed.) 756s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 756s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 756s Setting up libc-bin (2.40-4ubuntu1) ... 756s (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 ... 59967 files and directories currently installed.) 756s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 756s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 756s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 756s (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 ... 59967 files and directories currently installed.) 756s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 756s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 756s Setting up apt (2.9.18) ... 757s (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 ... 59966 files and directories currently installed.) 757s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 757s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 757s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 757s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 757s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 757s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 757s Setting up libgpg-error0:armhf (1.51-3) ... 757s (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 ... 59966 files and directories currently installed.) 757s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 757s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 757s Setting up libnpth0t64:armhf (1.8-2) ... 757s (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 ... 59966 files and directories currently installed.) 757s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 757s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 758s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 758s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 758s Setting up gpgv (2.4.4-2ubuntu21) ... 758s (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 ... 59966 files and directories currently installed.) 758s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 758s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 758s Setting up python3-minimal (3.12.8-1) ... 759s (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 ... 59966 files and directories currently installed.) 759s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 759s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 759s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 759s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 759s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 759s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 759s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 759s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 759s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 759s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 760s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 760s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 760s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 760s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 760s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 760s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 760s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 760s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 760s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 760s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 760s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 761s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 761s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 761s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 761s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 761s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 761s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 761s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 761s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 761s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 761s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 761s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 761s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 761s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 761s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 761s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 761s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 761s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 761s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 761s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 761s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 761s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 761s Setting up libcap-ng0:armhf (0.8.5-4) ... 761s (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 ... 59953 files and directories currently installed.) 761s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 761s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 761s Setting up libunistring5:armhf (1.3-1) ... 761s (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 ... 59953 files and directories currently installed.) 761s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 761s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 762s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 762s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 762s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 762s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 762s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 762s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 762s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 762s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 762s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 762s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 762s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 762s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 762s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 762s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 762s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 762s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 762s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 763s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 763s Preparing to unpack .../10-ucf_3.0046_all.deb ... 763s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 763s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 763s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 763s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 763s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 763s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 763s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 763s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 763s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 763s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 763s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 763s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 763s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 763s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 763s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 763s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 763s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 763s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 763s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 763s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 763s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 763s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 763s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 764s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 764s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 764s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 764s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 764s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 764s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 764s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 764s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 764s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 764s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 764s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 764s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 764s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 764s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 764s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 764s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 764s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 764s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 764s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 764s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 764s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 764s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 765s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 765s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 765s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 765s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 765s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 765s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 765s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 765s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 765s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 765s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 765s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 765s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 765s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 765s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 765s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 765s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 765s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 765s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 765s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 765s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 765s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 765s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 765s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 765s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 766s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 766s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 766s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 766s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 766s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 766s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 766s Selecting previously unselected package python3-bcrypt. 766s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 766s Unpacking python3-bcrypt (4.2.0-2.1) ... 766s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 766s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 766s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 766s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 766s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 766s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 766s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 767s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 767s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 767s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 767s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 767s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 767s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 767s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 767s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 767s Unpacking software-properties-common (0.108) over (0.105) ... 768s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 768s Unpacking python3-software-properties (0.108) over (0.105) ... 768s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 768s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 768s Setting up systemd-sysv (257-2ubuntu1) ... 768s Setting up pci.ids (0.0~2024.11.25-1) ... 768s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 768s Setting up apt-utils (2.9.18) ... 768s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 768s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 768s Setting up libyaml-0-2:armhf (0.2.5-2) ... 768s Setting up python3.12-gdbm (3.12.8-3) ... 768s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 768s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 768s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 768s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 768s Setting up gettext-base (0.22.5-3) ... 768s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 768s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 768s Setting up locales (2.40-4ubuntu1) ... 769s Generating locales (this might take a while)... 773s en_US.UTF-8... done 773s Generation complete. 773s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 773s Setting up tzdata (2024b-4ubuntu1) ... 773s 773s Current default time zone: 'Etc/UTC' 773s Local time is now: Mon Jan 6 05:43:01 UTC 2025. 773s Universal Time is now: Mon Jan 6 05:43:01 UTC 2025. 773s Run 'dpkg-reconfigure tzdata' if you wish to change it. 773s 773s Setting up eject (2.40.2-1ubuntu2) ... 773s Setting up libftdi1-2:armhf (1.5-8) ... 773s Setting up libglib2.0-data (2.82.4-1) ... 773s Setting up systemd-cryptsetup (257-2ubuntu1) ... 773s Setting up libwrap0:armhf (7.6.q-34) ... 773s Setting up make (4.4.1-1) ... 773s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 773s Setting up bash-completion (1:2.16.0-1) ... 773s Setting up libfribidi0:armhf (1.0.16-1) ... 773s Setting up libpng16-16t64:armhf (1.6.44-3) ... 773s Setting up systemd-timesyncd (257-2ubuntu1) ... 773s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 774s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 774s Setting up udev (257-2ubuntu1) ... 774s Setting up usb.ids (2024.12.04-1) ... 774s Setting up ucf (3.0046) ... 774s Installing new version of config file /etc/ucf.conf ... 774s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 774s Setting up whiptail (0.52.24-4ubuntu1) ... 774s Setting up python-apt-common (2.9.6build1) ... 774s Setting up dracut-install (105-2ubuntu5) ... 774s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 775s uuidd.service is a disabled or a static unit not running, not starting it. 775s Setting up xauth (1:1.1.2-1.1) ... 776s Setting up groff-base (1.23.0-7) ... 776s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 776s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 776s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 776s Setting up curl (8.11.1-1ubuntu1) ... 776s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 776s Setting up openssl (3.4.0-1ubuntu2) ... 776s Installing new version of config file /etc/ssl/openssl.cnf ... 776s Setting up libgpg-error-l10n (1.51-3) ... 776s Setting up iputils-ping (3:20240905-1ubuntu1) ... 776s Setting up readline-common (8.2-6) ... 776s Setting up publicsuffix (20241206.1516-0.1) ... 776s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 776s Setting up libbpf1:armhf (1:1.5.0-2) ... 776s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 776s Setting up rsync (3.3.0+ds1-2) ... 777s rsync.service is a disabled or a static unit not running, not starting it. 777s Setting up python3.13-gdbm (3.13.1-2) ... 777s Setting up ethtool (1:6.11-1) ... 777s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 777s Setting up systemd-resolved (257-2ubuntu1) ... 777s Setting up libxkbcommon0:armhf (1.7.0-2) ... 777s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 777s Setting up python3.12-minimal (3.12.8-3) ... 779s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 779s No schema files found: doing nothing. 779s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 779s Setting up libreadline8t64:armhf (8.2-6) ... 779s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 779s Setting up gpgconf (2.4.4-2ubuntu21) ... 779s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 779s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 779s Setting up gpg (2.4.4-2ubuntu21) ... 779s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 779s Setcap worked! gst-ptp-helper is not suid! 779s Setting up gpg-agent (2.4.4-2ubuntu21) ... 779s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 779s Setting up python3.12 (3.12.8-3) ... 781s Setting up gpgsm (2.4.4-2ubuntu21) ... 781s Setting up libglib2.0-bin (2.82.4-1) ... 781s Setting up libappstream5:armhf (1.0.4-1) ... 781s Setting up libqmi-glib5:armhf (1.35.6-1) ... 781s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 781s Setting up fdisk (2.40.2-1ubuntu2) ... 781s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 781s Setting up dirmngr (2.4.4-2ubuntu21) ... 781s Setting up appstream (1.0.4-1) ... 781s ✔ Metadata cache was updated successfully. 781s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 781s Setting up keyboxd (2.4.4-2ubuntu21) ... 781s Setting up gnupg (2.4.4-2ubuntu21) ... 781s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 781s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 781s Setting up libqmi-proxy (1.35.6-1) ... 781s Setting up libfwupd3:armhf (2.0.3-3) ... 781s Setting up python3 (3.12.8-1) ... 781s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 782s Setting up python3-jinja2 (3.1.3-1.1) ... 782s Setting up python3-wadllib (2.0.0-2) ... 782s Setting up python3-json-pointer (2.4-3) ... 782s Setting up fwupd (2.0.3-3) ... 783s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 783s fwupd.service is a disabled or a static unit not running, not starting it. 783s Setting up python3-pkg-resources (75.6.0-1) ... 783s Setting up python3-attr (24.2.0-1) ... 783s Setting up python3-setuptools (75.6.0-1) ... 784s Setting up python3-rich (13.9.4-1) ... 785s Setting up python3-gdbm:armhf (3.13.1-1) ... 785s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 785s Setting up python3-apt (2.9.6build1) ... 785s Setting up python3-jsonpatch (1.32-5) ... 785s Setting up python3-bcrypt (4.2.0-2.1) ... 786s Setting up python3-apport (2.31.0-0ubuntu2) ... 786s Setting up python3-software-properties (0.108) ... 786s Setting up python3-cryptography (43.0.0-1) ... 786s Setting up python3-openssl (24.3.0-1) ... 786s Setting up software-properties-common (0.108) ... 787s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 787s Setting up apport (2.31.0-0ubuntu2) ... 788s apport-autoreport.service is a disabled or a static unit not running, not starting it. 788s Processing triggers for dbus (1.14.10-4ubuntu5) ... 788s Processing triggers for shared-mime-info (2.4-5) ... 788s Warning: program compiled against libxml 212 using older 209 789s Processing triggers for debianutils (5.21) ... 789s Processing triggers for install-info (7.1.1-1) ... 789s Processing triggers for initramfs-tools (0.142ubuntu35) ... 789s Processing triggers for libc-bin (2.40-4ubuntu1) ... 789s Processing triggers for systemd (257-2ubuntu1) ... 789s Processing triggers for man-db (2.13.0-1) ... 794s Reading package lists... 794s Building dependency tree... 794s Reading state information... 795s Starting pkgProblemResolver with broken count: 0 795s Starting 2 pkgProblemResolver with broken count: 0 795s Done 797s The following packages will be REMOVED: 797s libassuan0* 797s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 797s After this operation, 68.6 kB disk space will be freed. 797s (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 ... 60003 files and directories currently installed.) 797s Removing libassuan0:armhf (2.5.6-1build1) ... 797s Processing triggers for libc-bin (2.40-4ubuntu1) ... 799s autopkgtest [05:43:27]: rebooting testbed after setup commands that affected boot 864s Reading package lists... 865s Building dependency tree... 865s Reading state information... 866s Starting pkgProblemResolver with broken count: 0 866s Starting 2 pkgProblemResolver with broken count: 0 866s Done 867s The following NEW packages will be installed: 867s libgio-2.0-dev-bin python3-packaging 867s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 867s Need to get 181 kB of archives. 867s After this operation, 929 kB of additional disk space will be used. 867s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 867s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 868s Fetched 181 kB in 0s (411 kB/s) 868s Selecting previously unselected package python3-packaging. 868s (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 ... 59998 files and directories currently installed.) 868s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 868s Unpacking python3-packaging (24.2-1) ... 868s Selecting previously unselected package libgio-2.0-dev-bin. 868s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 868s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 868s Setting up python3-packaging (24.2-1) ... 869s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 869s Processing triggers for man-db (2.13.0-1) ... 884s autopkgtest [05:44:52]: test libgio-2.0-dev-bin: [----------------------- 886s + gdbus-codegen --help 887s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 887s [--c-namespace NAMESPACE] [--c-generate-object-manager] 887s [--c-generate-autocleanup {none,objects,all}] 887s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 887s [--generate-rst OUTFILES] [--pragma-once] 887s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 887s [--glib-min-required VERSION] 887s [--glib-max-allowed VERSION] 887s [--symbol-decorator SYMBOL_DECORATOR] 887s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 887s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 887s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 887s [--output FILE | --output-directory OUTDIR] 887s FILE [FILE ...] 887s 887s D-Bus code and documentation generator 887s 887s positional arguments: 887s FILE D-Bus introspection XML file 887s 887s options: 887s -h, --help show this help message and exit 887s --interface-prefix PREFIX 887s String to strip from D-Bus interface names for code 887s and docs 887s --c-namespace NAMESPACE 887s The namespace to use for generated C code 887s --c-generate-object-manager 887s Generate a GDBusObjectManagerClient subclass when 887s generating C code 887s --c-generate-autocleanup {none,objects,all} 887s Generate autocleanup support 887s --generate-docbook OUTFILES 887s Generate Docbook in OUTFILES-org.Project.IFace.xml 887s --generate-md OUTFILES 887s Generate Markdown in OUTFILES-org.Project.IFace.md 887s --generate-rst OUTFILES 887s Generate reStructuredText in OUTFILES- 887s org.Project.IFace.rst 887s --pragma-once Use "pragma once" as the inclusion guard 887s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 887s Add annotation (may be used several times) 887s --glib-min-required VERSION 887s Minimum version of GLib to be supported by the 887s outputted code (default: 2.30) 887s --glib-max-allowed VERSION 887s Maximum version of GLib to be used by the outputted 887s code (default: current GLib version) 887s --symbol-decorator SYMBOL_DECORATOR 887s Macro used to decorate a symbol in the outputted 887s header, possibly to export symbols 887s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 887s Additional header required for decorator specified by 887s --symbol-decorator 887s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 887s Additional define required for decorator specified by 887s --symbol-decorator 887s --generate-c-code OUTFILES 887s Generate C code in OUTFILES.[ch] 887s --header Generate C headers 887s --body Generate C code 887s --interface-info-header 887s Generate GDBusInterfaceInfo C header 887s --interface-info-body 887s Generate GDBusInterfaceInfo C code 887s --output FILE Write output into the specified file 887s --output-directory OUTDIR 887s Location to output generated files 887s + glib-compile-resources --version 887s 2.82.4 887s + glib-genmarshal --version 887s glib-genmarshal version 2.82.4 887s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 887s You may redistribute copies of glib-genmarshal under the terms of 887s the GNU General Public License which can be found in the 887s GLib source package. Sources, examples and contact 887s information are available at http://www.gtk.org 887s + glib-gettextize --version 887s /usr/bin/glib-gettextize (GNU glib) 2.82.4 887s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 887s This is free software; see the source for copying conditions. There is NO 887s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 887s Written by Ulrich Drepper 887s + glib-mkenums --version 887s glib-mkenums version 2.82.4 887s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 887s You may redistribute copies of glib-mkenums under the terms of 887s the GNU General Public License which can be found in the 887s GLib source package. Sources, examples and contact 887s information are available at http://www.gtk.org 887s + gobject-query tree 887s GObject 887s + gtester --version 887s gtester version 2.82.4 887s + gtester-report --version 887s gtester-report (GLib utils) version 2.82.4. 887s autopkgtest [05:44:55]: test libgio-2.0-dev-bin: -----------------------] 891s autopkgtest [05:44:59]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 891s libgio-2.0-dev-bin PASS (superficial) 895s autopkgtest [05:45:03]: test libglib2.0-dev: preparing testbed 946s autopkgtest [05:45:54]: testbed dpkg architecture: armhf 948s autopkgtest [05:45:56]: testbed apt version: 2.9.14ubuntu1 952s autopkgtest [05:46:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 953s autopkgtest [05:46:01]: testbed release detected to be: plucky 961s autopkgtest [05:46:09]: updating testbed package index (apt update) 964s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 964s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 964s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 964s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 964s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 964s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 964s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 964s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 964s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 964s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 964s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 964s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 964s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 964s Get:14 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 964s Get:15 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 964s Get:16 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 964s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 964s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 964s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 965s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 968s Fetched 41.1 MB in 5s (7805 kB/s) 970s Reading package lists... 975s autopkgtest [05:46:23]: upgrading testbed (apt dist-upgrade and autopurge) 977s Reading package lists... 978s Building dependency tree... 978s Reading state information... 979s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 979s Starting 2 pkgProblemResolver with broken count: 0 979s Done 980s Entering ResolveByKeep 981s 981s The following package was automatically installed and is no longer required: 981s libassuan0 981s Use 'apt autoremove' to remove it. 982s The following NEW packages will be installed: 982s openssl-provider-legacy python3-bcrypt 982s The following packages will be upgraded: 982s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 982s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 982s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 982s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 982s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 982s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 982s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 982s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 982s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 982s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 982s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 982s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 982s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 982s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 982s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 982s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 982s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 982s make mount openssl pci.ids publicsuffix python-apt-common python3 982s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 982s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 982s python3-newt python3-openssl python3-pkg-resources python3-problem-report 982s python3-rich python3-setuptools python3-software-properties python3-wadllib 982s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 982s readline-common rsync software-properties-common systemd systemd-cryptsetup 982s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 982s util-linux uuid-runtime whiptail xauth 982s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 982s Need to get 58.4 MB of archives. 982s After this operation, 8823 kB of additional disk space will be used. 982s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 982s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 982s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 982s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 982s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 982s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 982s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 982s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 982s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 982s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 982s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 982s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 982s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 982s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 982s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 982s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 982s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 983s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 983s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 983s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 983s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 983s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 983s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 983s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 983s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 983s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 983s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 983s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 983s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 983s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 983s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 983s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 983s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 983s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 983s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 983s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 983s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 983s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 983s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 983s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 983s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 983s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 983s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 983s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 983s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 983s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 983s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 983s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 983s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 983s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 983s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 983s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 983s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 983s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 983s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 983s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 983s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 983s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 983s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 983s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 983s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 983s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 983s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 983s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 983s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 983s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 983s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 983s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 983s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 983s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 983s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 983s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 983s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 983s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 983s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 983s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 983s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 983s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 983s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 983s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 983s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 983s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 983s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 983s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 983s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 983s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 983s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 983s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 984s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 984s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 984s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 984s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 984s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 984s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 984s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 984s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 984s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 984s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 984s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 984s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 984s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 984s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 984s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 984s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 984s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 984s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 984s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 984s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 984s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 984s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 984s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 984s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 984s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 984s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 984s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 984s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 984s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 984s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 984s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 984s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 984s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 985s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 985s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 985s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 985s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 985s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 985s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 985s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 985s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 985s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 985s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 985s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 985s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 985s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 985s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 985s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 985s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 985s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 985s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 985s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 985s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 985s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 986s Preconfiguring packages ... 986s Fetched 58.4 MB in 3s (18.8 MB/s) 986s (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 ... 59970 files and directories currently installed.) 986s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 986s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 986s Setting up bash (5.2.37-1ubuntu1) ... 986s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 986s (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 ... 59970 files and directories currently installed.) 986s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 986s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 986s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 986s (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 ... 59970 files and directories currently installed.) 986s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 986s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 986s Setting up tar (1.35+dfsg-3.1) ... 986s (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 ... 59970 files and directories currently installed.) 986s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 986s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 987s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 987s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 987s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 987s (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 ... 59970 files and directories currently installed.) 987s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 987s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 987s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 987s (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 ... 59970 files and directories currently installed.) 987s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 987s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 987s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 987s (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 ... 59970 files and directories currently installed.) 987s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 987s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 987s Setting up libc6:armhf (2.40-4ubuntu1) ... 988s (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 ... 59970 files and directories currently installed.) 988s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 988s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 988s Selecting previously unselected package openssl-provider-legacy. 988s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 988s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 988s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 988s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 988s (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 ... 59973 files and directories currently installed.) 988s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 988s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 988s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 988s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 988s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 988s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 988s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 988s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 988s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 988s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 988s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 988s (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 ... 59974 files and directories currently installed.) 988s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 988s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 988s (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 ... 59974 files and directories currently installed.) 988s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 988s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 989s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 989s (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 ... 59974 files and directories currently installed.) 989s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 989s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 989s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 989s (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 ... 59974 files and directories currently installed.) 989s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 989s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 989s Setting up util-linux (2.40.2-1ubuntu2) ... 990s fstrim.service is a disabled or a static unit not running, not starting it. 990s (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 ... 59974 files and directories currently installed.) 990s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 990s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 990s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 990s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 990s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 990s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 990s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 990s Unpacking readline-common (8.2-6) over (8.2-5) ... 990s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 990s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 990s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 990s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 990s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 990s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 990s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 990s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 990s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 990s (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 ... 59974 files and directories currently installed.) 990s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 990s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 990s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 990s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 991s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 991s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 991s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 991s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 991s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 991s (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 ... 59967 files and directories currently installed.) 991s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 991s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 991s Setting up libsystemd0:armhf (257-2ubuntu1) ... 991s Setting up mount (2.40.2-1ubuntu2) ... 991s Setting up systemd (257-2ubuntu1) ... 991s Installing new version of config file /etc/systemd/logind.conf ... 991s Installing new version of config file /etc/systemd/sleep.conf ... 991s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 991s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 991s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 992s (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 ... 59967 files and directories currently installed.) 992s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 992s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 992s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 992s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 992s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 992s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 992s Setting up libudev1:armhf (257-2ubuntu1) ... 992s (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 ... 59967 files and directories currently installed.) 992s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 992s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 992s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 993s (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 ... 59967 files and directories currently installed.) 993s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 993s Unpacking base-passwd (3.6.6) over (3.6.5) ... 993s Setting up base-passwd (3.6.6) ... 993s (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 ... 59967 files and directories currently installed.) 993s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 993s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 993s Setting up libc-bin (2.40-4ubuntu1) ... 993s (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 ... 59967 files and directories currently installed.) 993s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 993s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 993s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 993s (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 ... 59967 files and directories currently installed.) 993s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 993s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 994s Setting up apt (2.9.18) ... 994s (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 ... 59966 files and directories currently installed.) 994s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 994s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 994s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 994s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 994s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 994s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 994s Setting up libgpg-error0:armhf (1.51-3) ... 995s (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 ... 59966 files and directories currently installed.) 995s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 995s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 995s Setting up libnpth0t64:armhf (1.8-2) ... 995s (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 ... 59966 files and directories currently installed.) 995s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 995s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 995s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 995s Setting up gpgv (2.4.4-2ubuntu21) ... 996s (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 ... 59966 files and directories currently installed.) 996s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 996s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 996s Setting up python3-minimal (3.12.8-1) ... 996s (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 ... 59966 files and directories currently installed.) 996s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 996s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 996s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 996s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 996s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 996s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 996s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 996s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 996s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 997s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 997s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 997s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 997s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 997s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 997s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 997s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 997s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 997s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 997s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 997s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 997s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 997s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 998s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 998s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 998s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 998s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 998s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 998s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 998s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 998s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 998s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 998s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 998s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 998s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 998s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 998s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 998s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 998s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 998s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 998s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 998s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 998s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 998s Setting up libcap-ng0:armhf (0.8.5-4) ... 998s (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 ... 59953 files and directories currently installed.) 998s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 998s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 998s Setting up libunistring5:armhf (1.3-1) ... 999s (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 ... 59953 files and directories currently installed.) 999s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 999s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 999s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 999s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 999s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 999s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 999s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 999s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 999s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 999s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 999s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 999s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 999s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 999s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 999s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 999s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 999s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 999s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 999s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 999s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1000s Preparing to unpack .../10-ucf_3.0046_all.deb ... 1000s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 1000s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1000s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1000s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 1000s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 1000s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 1000s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1000s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 1000s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 1000s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 1000s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1000s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1000s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1000s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 1000s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 1000s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1000s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1000s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1000s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1000s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 1000s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1000s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 1000s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 1000s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 1000s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 1000s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 1000s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 1001s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 1001s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 1001s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 1001s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1001s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 1001s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 1001s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 1001s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1001s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 1001s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1001s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 1001s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1001s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 1001s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1001s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 1001s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1001s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 1001s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1001s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 1001s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1001s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 1001s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 1001s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1001s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1002s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1002s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1002s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 1002s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 1002s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 1002s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 1002s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 1002s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1002s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 1002s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1002s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 1002s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1002s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 1002s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1002s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 1002s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 1002s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 1002s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 1002s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 1002s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 1002s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 1002s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1003s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 1003s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 1003s Selecting previously unselected package python3-bcrypt. 1003s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1003s Unpacking python3-bcrypt (4.2.0-2.1) ... 1003s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 1003s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1003s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 1003s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 1003s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 1003s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1003s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 1003s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1003s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 1004s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 1004s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 1004s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1004s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 1004s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1004s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 1004s Unpacking software-properties-common (0.108) over (0.105) ... 1004s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 1005s Unpacking python3-software-properties (0.108) over (0.105) ... 1005s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 1005s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1005s Setting up systemd-sysv (257-2ubuntu1) ... 1005s Setting up pci.ids (0.0~2024.11.25-1) ... 1005s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1005s Setting up apt-utils (2.9.18) ... 1005s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 1005s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 1005s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1005s Setting up python3.12-gdbm (3.12.8-3) ... 1005s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 1005s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 1005s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 1005s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 1005s Setting up gettext-base (0.22.5-3) ... 1005s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 1005s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 1005s Setting up locales (2.40-4ubuntu1) ... 1006s Generating locales (this might take a while)... 1009s en_US.UTF-8... done 1009s Generation complete. 1009s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 1009s Setting up tzdata (2024b-4ubuntu1) ... 1009s 1009s Current default time zone: 'Etc/UTC' 1009s Local time is now: Mon Jan 6 05:46:57 UTC 2025. 1009s Universal Time is now: Mon Jan 6 05:46:57 UTC 2025. 1009s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1009s 1009s Setting up eject (2.40.2-1ubuntu2) ... 1009s Setting up libftdi1-2:armhf (1.5-8) ... 1009s Setting up libglib2.0-data (2.82.4-1) ... 1009s Setting up systemd-cryptsetup (257-2ubuntu1) ... 1009s Setting up libwrap0:armhf (7.6.q-34) ... 1009s Setting up make (4.4.1-1) ... 1009s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 1009s Setting up bash-completion (1:2.16.0-1) ... 1009s Setting up libfribidi0:armhf (1.0.16-1) ... 1009s Setting up libpng16-16t64:armhf (1.6.44-3) ... 1009s Setting up systemd-timesyncd (257-2ubuntu1) ... 1010s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1010s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 1010s Setting up udev (257-2ubuntu1) ... 1010s Setting up usb.ids (2024.12.04-1) ... 1010s Setting up ucf (3.0046) ... 1010s Installing new version of config file /etc/ucf.conf ... 1010s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 1010s Setting up whiptail (0.52.24-4ubuntu1) ... 1010s Setting up python-apt-common (2.9.6build1) ... 1010s Setting up dracut-install (105-2ubuntu5) ... 1010s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 1011s uuidd.service is a disabled or a static unit not running, not starting it. 1011s Setting up xauth (1:1.1.2-1.1) ... 1011s Setting up groff-base (1.23.0-7) ... 1011s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1011s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 1012s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1012s Setting up curl (8.11.1-1ubuntu1) ... 1012s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 1012s Setting up openssl (3.4.0-1ubuntu2) ... 1012s Installing new version of config file /etc/ssl/openssl.cnf ... 1012s Setting up libgpg-error-l10n (1.51-3) ... 1012s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1012s Setting up readline-common (8.2-6) ... 1012s Setting up publicsuffix (20241206.1516-0.1) ... 1012s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 1012s Setting up libbpf1:armhf (1:1.5.0-2) ... 1012s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1012s Setting up rsync (3.3.0+ds1-2) ... 1012s rsync.service is a disabled or a static unit not running, not starting it. 1012s Setting up python3.13-gdbm (3.13.1-2) ... 1012s Setting up ethtool (1:6.11-1) ... 1012s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 1012s Setting up systemd-resolved (257-2ubuntu1) ... 1013s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1013s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 1013s Setting up python3.12-minimal (3.12.8-3) ... 1014s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 1014s No schema files found: doing nothing. 1014s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 1014s Setting up libreadline8t64:armhf (8.2-6) ... 1014s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1014s Setting up gpgconf (2.4.4-2ubuntu21) ... 1014s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 1014s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 1014s Setting up gpg (2.4.4-2ubuntu21) ... 1014s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 1015s Setcap worked! gst-ptp-helper is not suid! 1015s Setting up gpg-agent (2.4.4-2ubuntu21) ... 1015s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 1015s Setting up python3.12 (3.12.8-3) ... 1017s Setting up gpgsm (2.4.4-2ubuntu21) ... 1017s Setting up libglib2.0-bin (2.82.4-1) ... 1017s Setting up libappstream5:armhf (1.0.4-1) ... 1017s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1017s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 1017s Setting up fdisk (2.40.2-1ubuntu2) ... 1017s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1017s Setting up dirmngr (2.4.4-2ubuntu21) ... 1017s Setting up appstream (1.0.4-1) ... 1017s ✔ Metadata cache was updated successfully. 1017s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 1017s Setting up keyboxd (2.4.4-2ubuntu21) ... 1017s Setting up gnupg (2.4.4-2ubuntu21) ... 1017s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 1017s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 1017s Setting up libqmi-proxy (1.35.6-1) ... 1017s Setting up libfwupd3:armhf (2.0.3-3) ... 1017s Setting up python3 (3.12.8-1) ... 1017s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1018s Setting up python3-jinja2 (3.1.3-1.1) ... 1018s Setting up python3-wadllib (2.0.0-2) ... 1018s Setting up python3-json-pointer (2.4-3) ... 1018s Setting up fwupd (2.0.3-3) ... 1019s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1019s fwupd.service is a disabled or a static unit not running, not starting it. 1019s Setting up python3-pkg-resources (75.6.0-1) ... 1019s Setting up python3-attr (24.2.0-1) ... 1020s Setting up python3-setuptools (75.6.0-1) ... 1021s Setting up python3-rich (13.9.4-1) ... 1021s Setting up python3-gdbm:armhf (3.13.1-1) ... 1021s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 1021s Setting up python3-apt (2.9.6build1) ... 1022s Setting up python3-jsonpatch (1.32-5) ... 1022s Setting up python3-bcrypt (4.2.0-2.1) ... 1022s Setting up python3-apport (2.31.0-0ubuntu2) ... 1022s Setting up python3-software-properties (0.108) ... 1022s Setting up python3-cryptography (43.0.0-1) ... 1023s Setting up python3-openssl (24.3.0-1) ... 1023s Setting up software-properties-common (0.108) ... 1023s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 1024s Setting up apport (2.31.0-0ubuntu2) ... 1025s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1025s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1025s Processing triggers for shared-mime-info (2.4-5) ... 1025s Warning: program compiled against libxml 212 using older 209 1025s Processing triggers for debianutils (5.21) ... 1026s Processing triggers for install-info (7.1.1-1) ... 1026s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1026s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1026s Processing triggers for systemd (257-2ubuntu1) ... 1026s Processing triggers for man-db (2.13.0-1) ... 1030s Reading package lists... 1031s Building dependency tree... 1031s Reading state information... 1032s Starting pkgProblemResolver with broken count: 0 1032s Starting 2 pkgProblemResolver with broken count: 0 1032s Done 1033s The following packages will be REMOVED: 1033s libassuan0* 1034s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1034s After this operation, 68.6 kB disk space will be freed. 1034s (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 ... 60003 files and directories currently installed.) 1034s Removing libassuan0:armhf (2.5.6-1build1) ... 1034s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1036s autopkgtest [05:47:24]: rebooting testbed after setup commands that affected boot 1101s Reading package lists... 1101s Building dependency tree... 1101s Reading state information... 1102s Starting pkgProblemResolver with broken count: 0 1102s Starting 2 pkgProblemResolver with broken count: 0 1102s Done 1104s The following NEW packages will be installed: 1104s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 1104s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 1104s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 1104s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8 1104s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 1104s libgcc-14-dev libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 1104s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libmount-dev libmpc3 1104s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 1104s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 1104s libubsan1 linux-libc-dev native-architecture pkgconf pkgconf-bin 1104s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 1104s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1104s Need to get 55.6 MB of archives. 1104s After this operation, 174 MB of additional disk space will be used. 1104s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 1104s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 1105s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 1105s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 1105s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 1105s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 1105s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 1105s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [9217 kB] 1105s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-12ubuntu1 [1034 B] 1105s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 1105s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 1105s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-12ubuntu1 [43.4 kB] 1105s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-12ubuntu1 [125 kB] 1105s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-12ubuntu1 [2900 kB] 1105s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-12ubuntu1 [1150 kB] 1105s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-12ubuntu1 [897 kB] 1105s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [18.0 MB] 1106s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-12ubuntu1 [502 kB] 1106s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 1106s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 1106s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-12ubuntu1 [2571 kB] 1106s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [10.5 MB] 1106s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-12ubuntu1 [20.2 kB] 1106s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 1106s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 1106s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 1106s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.4-1 [853 kB] 1106s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 1106s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 1106s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 1106s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 1106s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu2 [51.0 kB] 1106s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu2 [207 kB] 1106s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 1106s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 1106s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 1106s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 1106s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 1106s Get:39 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1-dev armhf 3.7-3ubuntu2 [160 kB] 1106s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu2 [33.2 kB] 1106s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB] 1106s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 1106s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 1106s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 1106s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 1106s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.4-1 [1624 kB] 1106s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1106s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 1106s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.4-1 [18.1 kB] 1106s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev armhf 2.82.4-1 [18.9 kB] 1107s Fetched 55.6 MB in 2s (25.8 MB/s) 1107s Selecting previously unselected package libc-dev-bin. 1107s (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 ... 59998 files and directories currently installed.) 1107s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 1107s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 1107s Selecting previously unselected package linux-libc-dev:armhf. 1107s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ... 1107s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 1107s Selecting previously unselected package libcrypt-dev:armhf. 1107s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 1107s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 1107s Selecting previously unselected package rpcsvc-proto. 1107s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 1107s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 1107s Selecting previously unselected package libc6-dev:armhf. 1107s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 1107s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 1107s Selecting previously unselected package libisl23:armhf. 1107s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 1107s Unpacking libisl23:armhf (0.27-1) ... 1108s Selecting previously unselected package libmpc3:armhf. 1108s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 1108s Unpacking libmpc3:armhf (1.3.1-1build2) ... 1108s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 1108s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package cpp-14. 1108s Preparing to unpack .../08-cpp-14_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package cpp-arm-linux-gnueabihf. 1108s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1108s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1108s Selecting previously unselected package cpp. 1108s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 1108s Unpacking cpp (4:14.1.0-2ubuntu1) ... 1108s Selecting previously unselected package libcc1-0:armhf. 1108s Preparing to unpack .../11-libcc1-0_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking libcc1-0:armhf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package libgomp1:armhf. 1108s Preparing to unpack .../12-libgomp1_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking libgomp1:armhf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package libasan8:armhf. 1108s Preparing to unpack .../13-libasan8_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking libasan8:armhf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package libubsan1:armhf. 1108s Preparing to unpack .../14-libubsan1_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking libubsan1:armhf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package libgcc-14-dev:armhf. 1108s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 1108s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 1108s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1108s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1109s Selecting previously unselected package gcc-14. 1109s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_armhf.deb ... 1109s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 1109s Selecting previously unselected package gcc-arm-linux-gnueabihf. 1109s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1109s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1109s Selecting previously unselected package gcc. 1109s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 1109s Unpacking gcc (4:14.1.0-2ubuntu1) ... 1109s Selecting previously unselected package libstdc++-14-dev:armhf. 1109s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_armhf.deb ... 1109s Unpacking libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 1109s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 1109s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1109s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1110s Selecting previously unselected package g++-14. 1110s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_armhf.deb ... 1110s Unpacking g++-14 (14.2.0-12ubuntu1) ... 1110s Selecting previously unselected package g++-arm-linux-gnueabihf. 1110s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1110s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1110s Selecting previously unselected package g++. 1110s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 1110s Unpacking g++ (4:14.1.0-2ubuntu1) ... 1110s Selecting previously unselected package build-essential. 1110s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 1110s Unpacking build-essential (12.10ubuntu1) ... 1110s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 1110s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.4-1_armhf.deb ... 1110s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 1110s Selecting previously unselected package native-architecture. 1110s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 1110s Unpacking native-architecture (0.2.3) ... 1110s Selecting previously unselected package libgirepository-2.0-0:armhf. 1110s Preparing to unpack .../28-libgirepository-2.0-0_2.82.4-1_armhf.deb ... 1110s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 1110s Selecting previously unselected package girepository-tools:armhf. 1110s Preparing to unpack .../29-girepository-tools_2.82.4-1_armhf.deb ... 1110s Unpacking girepository-tools:armhf (2.82.4-1) ... 1110s Selecting previously unselected package libffi-dev:armhf. 1110s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_armhf.deb ... 1110s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 1110s Selecting previously unselected package uuid-dev:armhf. 1110s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu2_armhf.deb ... 1110s Unpacking uuid-dev:armhf (2.40.2-1ubuntu2) ... 1110s Selecting previously unselected package libblkid-dev:armhf. 1110s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu2_armhf.deb ... 1110s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu2) ... 1110s Selecting previously unselected package libsepol-dev:armhf. 1110s Preparing to unpack .../33-libsepol-dev_3.7-1_armhf.deb ... 1110s Unpacking libsepol-dev:armhf (3.7-1) ... 1110s Selecting previously unselected package libpcre2-16-0:armhf. 1110s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 1110s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1110s Selecting previously unselected package libpcre2-32-0:armhf. 1110s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 1110s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1110s Selecting previously unselected package libpcre2-posix3:armhf. 1110s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 1110s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1110s Selecting previously unselected package libpcre2-dev:armhf. 1110s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 1110s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 1111s Selecting previously unselected package libselinux1-dev:armhf. 1111s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu2_armhf.deb ... 1111s Unpacking libselinux1-dev:armhf (3.7-3ubuntu2) ... 1111s Selecting previously unselected package libmount-dev:armhf. 1111s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu2_armhf.deb ... 1111s Unpacking libmount-dev:armhf (2.40.2-1ubuntu2) ... 1111s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 1111s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_armhf.deb ... 1111s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ... 1111s Selecting previously unselected package libpkgconf3:armhf. 1111s Preparing to unpack .../41-libpkgconf3_1.8.1-4_armhf.deb ... 1111s Unpacking libpkgconf3:armhf (1.8.1-4) ... 1111s Selecting previously unselected package pkgconf-bin. 1111s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_armhf.deb ... 1111s Unpacking pkgconf-bin (1.8.1-4) ... 1111s Selecting previously unselected package pkgconf:armhf. 1111s Preparing to unpack .../43-pkgconf_1.8.1-4_armhf.deb ... 1111s Unpacking pkgconf:armhf (1.8.1-4) ... 1111s Selecting previously unselected package zlib1g-dev:armhf. 1111s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 1111s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1111s Selecting previously unselected package libgio-2.0-dev:armhf. 1111s Preparing to unpack .../45-libgio-2.0-dev_2.82.4-1_armhf.deb ... 1111s Unpacking libgio-2.0-dev:armhf (2.82.4-1) ... 1111s Selecting previously unselected package python3-packaging. 1111s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 1111s Unpacking python3-packaging (24.2-1) ... 1111s Selecting previously unselected package libgio-2.0-dev-bin. 1111s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 1111s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1111s Selecting previously unselected package libglib2.0-dev-bin. 1111s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_armhf.deb ... 1111s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1111s Selecting previously unselected package libglib2.0-dev:armhf. 1111s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_armhf.deb ... 1111s Unpacking libglib2.0-dev:armhf (2.82.4-1) ... 1111s Setting up native-architecture (0.2.3) ... 1111s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 1111s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 1111s Setting up libgomp1:armhf (14.2.0-12ubuntu1) ... 1111s Setting up libffi-dev:armhf (3.4.6-1build1) ... 1111s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1111s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ... 1111s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1111s Setting up python3-packaging (24.2-1) ... 1111s Setting up libpkgconf3:armhf (1.8.1-4) ... 1111s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 1111s Setting up libmpc3:armhf (1.3.1-1build2) ... 1111s Setting up libsepol-dev:armhf (3.7-1) ... 1111s Setting up pkgconf-bin (1.8.1-4) ... 1111s Setting up libubsan1:armhf (14.2.0-12ubuntu1) ... 1111s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1111s Setting up gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 1111s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 1111s Setting up libasan8:armhf (14.2.0-12ubuntu1) ... 1111s Setting up libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 1111s Setting up libisl23:armhf (0.27-1) ... 1111s Setting up libc-dev-bin (2.40-4ubuntu1) ... 1111s Setting up libcc1-0:armhf (14.2.0-12ubuntu1) ... 1111s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1111s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1112s Setting up girepository-tools:armhf (2.82.4-1) ... 1112s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1112s Setting up pkgconf:armhf (1.8.1-4) ... 1112s Setting up cpp-14 (14.2.0-12ubuntu1) ... 1112s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 1112s Setting up libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 1112s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1112s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1112s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1112s Setting up g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1112s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 1112s Setting up libselinux1-dev:armhf (3.7-3ubuntu2) ... 1112s Setting up gcc-14 (14.2.0-12ubuntu1) ... 1112s Setting up uuid-dev:armhf (2.40.2-1ubuntu2) ... 1112s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1112s Setting up cpp (4:14.1.0-2ubuntu1) ... 1112s Setting up g++-14 (14.2.0-12ubuntu1) ... 1112s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1112s Setting up libblkid-dev:armhf (2.40.2-1ubuntu2) ... 1112s Setting up gcc (4:14.1.0-2ubuntu1) ... 1112s Setting up g++ (4:14.1.0-2ubuntu1) ... 1112s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1112s Setting up build-essential (12.10ubuntu1) ... 1112s Setting up libmount-dev:armhf (2.40.2-1ubuntu2) ... 1112s Setting up libgio-2.0-dev:armhf (2.82.4-1) ... 1112s Processing triggers for install-info (7.1.1-1) ... 1112s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1112s Processing triggers for man-db (2.13.0-1) ... 1113s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 1113s No schema files found: doing nothing. 1113s Setting up libglib2.0-dev:armhf (2.82.4-1) ... 1130s autopkgtest [05:48:58]: test libglib2.0-dev: [----------------------- 1132s + debian/tests/build 1132s + mode=dynamic 1132s + getopt -o --long static -n debian/tests/build -- 1132s + getopt_temp= -- 1132s + eval set -- -- 1132s + set -- -- 1132s + true 1132s + shift 1132s + break 1132s + mktemp -d 1132s + WORKDIR=/tmp/tmp.kC4hetYP9Y 1132s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1132s + cd /tmp/tmp.kC4hetYP9Y 1132s + [ -n ] 1132s + CROSS_COMPILE= 1132s + cat 1132s + cat 1132s + cat 1132s + cat 1132s + cat 1132s + cat 1132s + cflags= 1132s + pcflags= 1132s + packages=glib-2.0 1132s + pkg-config --cflags --libs glib-2.0 1132s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 1133s + echo build (glib, dynamic): OK 1133s + [ -x glib-dynamic ] 1133s + foo=bar ./glib-dynamic 1133s build (glib, dynamic): OK 1133s + echo run (glib, dynamic): OK 1133s + cflags= 1133s + pcflags= 1133s + packages=gobject-2.0 1133s run (glib, dynamic): OK 1133s + pkg-config --cflags --libs gobject-2.0 1133s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 1133s + echo build (gobject, dynamic): OK 1133s + [ -x gobject-dynamic ] 1133s + foo=bar ./gobject-dynamic 1133s + echo run (gobject, dynamic): OK 1133s + cflags= 1133s + pcflags= 1133s + packages=gio-2.0 1133s + pkg-config --cflags --libs gio-2.0 1133s build (gobject, dynamic): OK 1133s run (gobject, dynamic): OK 1133s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 1133s + echo build (gio, dynamic): OK 1133s + [ -x gio-dynamic ] 1133s + foo=bar ./gio-dynamic 1133s build (gio, dynamic): OK 1133s + echo run (gio, dynamic): OK 1133s + cflags= 1133s + pcflags= 1133s + packages=gio-unix-2.0 1133s + pkg-config --cflags --libs gio-unix-2.0 1133s run (gio, dynamic): OK 1133s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 1133s build (gio-unix, dynamic): OK 1133s + echo build (gio-unix, dynamic): OK 1133s + [ -x gio-unix-dynamic ] 1133s + foo=bar ./gio-unix-dynamic 1133s run (gio-unix, dynamic): OK 1133s + echo run (gio-unix, dynamic): OK 1133s + cflags= 1133s + pcflags= 1133s + packages=gmodule-2.0 1133s + pkg-config --cflags --libs gmodule-2.0 1133s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 1133s + echo build (gmodule, dynamic): OK 1133s + [ -x gmodule-dynamic ] 1133s + foo=bar ./gmodule-dynamic 1133s build (gmodule, dynamic): OK 1133s + echo run (gmodule, dynamic): OK 1133s + cflags= 1133s + pcflags= 1133s + packages=gthread-2.0 1133s + pkg-config --cflags --libs gthread-2.0 1133s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 1133s run (gmodule, dynamic): OK 1134s build (gthread, dynamic): OK 1134s run (gthread, dynamic): OK 1134s + echo build (gthread, dynamic): OK 1134s + [ -x gthread-dynamic ] 1134s + foo=bar ./gthread-dynamic 1134s + echo run (gthread, dynamic): OK 1134s + rm -rf /tmp/tmp.kC4hetYP9Y 1134s + debian/tests/build-static 1134s + mode=dynamic 1134s + getopt -o --long static -n debian/tests/build -- --static 1134s + getopt_temp= --static -- 1134s + eval set -- --static -- 1134s + set -- --static -- 1134s + true 1134s + mode=static 1134s + shift 1134s + continue 1134s + true 1134s + shift 1134s + break 1134s + mktemp -d 1134s + WORKDIR=/tmp/tmp.WyWgRWtkYd 1134s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1134s + cd /tmp/tmp.WyWgRWtkYd 1134s + [ -n ] 1134s + CROSS_COMPILE= 1134s + cat 1134s + cat 1134s + cat 1134s + cat 1134s + cat 1134s + cat 1134s + cflags= 1134s + pcflags= 1134s + packages=glib-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + pkg-config --static --cflags --libs glib-2.0 1134s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1134s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1134s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s + echo build (glib, static): OK 1134s + [ -x glib-static ] 1134s + foo=bar ./glib-static 1134s build (glib, static): OK 1134s run (glib, static): OK 1134s + echo run (glib, static): OK 1134s + cflags= 1134s + pcflags= 1134s + packages=gobject-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + pkg-config --static --cflags --libs gobject-2.0 1134s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 1134s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1134s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s + echo build (gobject, static): OK 1134s + [ -x gobject-static ] 1134s + foo=bar ./gobject-static 1134s build (gobject, static): OK 1134s run (gobject, static): OK 1134s + echo run (gobject, static): OK 1134s + cflags= 1134s + pcflags= 1134s + packages=gio-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + continue 1134s + cflags= 1134s + pcflags= 1134s + packages=gio-unix-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + continue 1134s + cflags= 1134s + pcflags= 1134s + packages=gmodule-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + pkg-config --static --cflags --libs gmodule-2.0 1134s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 1134s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 1134s (.text+0x3e2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1134s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s + echo build (gmodule, static): OK 1134s + [ -x gmodule-static ] 1134s + foo=bar ./gmodule-static 1134s build (gmodule, static): OK 1134s + run (gmodule, static): OK 1134s echo run (gmodule, static): OK 1134s + cflags= 1134s + pcflags= 1134s + packages=gthread-2.0 1134s + cflags=-static 1134s + pcflags=--static 1134s + pkg-config --static --cflags --libs gthread-2.0 1134s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 1134s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1134s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0x1a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1134s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1135s build (gthread, static): OK 1135s + echo build (gthread, static): OK 1135s + [ -x gthread-static ] 1135s + foo=bar ./gthread-static 1135s run (gthread, static): OK 1135s + echo run (gthread, static): OK 1135s + rm -rf /tmp/tmp.WyWgRWtkYd 1135s + debian/tests/girepository-tools 1135s + cd /tmp/autopkgtest.IZl8W8/autopkgtest_tmp 1135s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1135s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 1135s + dpkg-architecture -qDEB_HOST_MULTIARCH 1135s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1135s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1135s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1135s typelib: GLib-2.0 1135s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 1135s + debian/tests/libgio-2.0-dev-bin 1135s + gdbus-codegen --help 1135s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1135s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1135s [--c-generate-autocleanup {none,objects,all}] 1135s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1135s [--generate-rst OUTFILES] [--pragma-once] 1135s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1135s [--glib-min-required VERSION] 1135s [--glib-max-allowed VERSION] 1135s [--symbol-decorator SYMBOL_DECORATOR] 1135s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1135s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1135s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1135s [--output FILE | --output-directory OUTDIR] 1135s FILE [FILE ...] 1135s 1135s D-Bus code and documentation generator 1135s 1135s positional arguments: 1135s FILE D-Bus introspection XML file 1135s 1135s options: 1135s -h, --help show this help message and exit 1135s --interface-prefix PREFIX 1135s String to strip from D-Bus interface names for code 1135s and docs 1135s --c-namespace NAMESPACE 1135s The namespace to use for generated C code 1135s --c-generate-object-manager 1135s Generate a GDBusObjectManagerClient subclass when 1135s generating C code 1135s --c-generate-autocleanup {none,objects,all} 1135s Generate autocleanup support 1135s --generate-docbook OUTFILES 1135s Generate Docbook in OUTFILES-org.Project.IFace.xml 1135s --generate-md OUTFILES 1135s Generate Markdown in OUTFILES-org.Project.IFace.md 1135s --generate-rst OUTFILES 1135s Generate reStructuredText in OUTFILES- 1135s org.Project.IFace.rst 1135s --pragma-once Use "pragma once" as the inclusion guard 1135s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1135s Add annotation (may be used several times) 1135s --glib-min-required VERSION 1135s Minimum version of GLib to be supported by the 1135s outputted code (default: 2.30) 1135s --glib-max-allowed VERSION 1135s Maximum version of GLib to be used by the outputted 1135s code (default: current GLib version) 1135s --symbol-decorator SYMBOL_DECORATOR 1135s Macro used to decorate a symbol in the outputted 1135s header, possibly to export symbols 1135s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1135s Additional header required for decorator specified by 1135s --symbol-decorator 1135s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1135s Additional define required for decorator specified by 1135s --symbol-decorator 1135s --generate-c-code OUTFILES 1135s Generate C code in OUTFILES.[ch] 1135s --header Generate C headers 1135s --body Generate C code 1135s --interface-info-header 1135s Generate GDBusInterfaceInfo C header 1135s --interface-info-body 1135s Generate GDBusInterfaceInfo C code 1135s --output FILE Write output into the specified file 1135s --output-directory OUTDIR 1135s Location to output generated files 1135s + glib-compile-resources --version 1135s 2.82.4 1135s + glib-genmarshal --version 1135s glib-genmarshal version 2.82.4 1135s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1135s You may redistribute copies of glib-genmarshal under the terms of 1135s the GNU General Public License which can be found in the 1135s GLib source package. Sources, examples and contact 1135s information are available at http://www.gtk.org 1135s + glib-gettextize --version 1135s /usr/bin/glib-gettextize (GNU glib) 2.82.4 1135s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1135s This is free software; see the source for copying conditions. There is NO 1135s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1135s Written by Ulrich Drepper 1135s + glib-mkenums --version 1135s glib-mkenums version 2.82.4 1135s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1135s You may redistribute copies of glib-mkenums under the terms of 1135s the GNU General Public License which can be found in the 1135s GLib source package. Sources, examples and contact 1135s information are available at http://www.gtk.org 1135s + gobject-query tree 1135s + gtester --version 1135s + gtester-report --version 1135s GObject 1135s gtester version 2.82.4 1135s gtester-report (GLib utils) version 2.82.4. 1135s + cd /tmp/autopkgtest.IZl8W8/autopkgtest_tmp 1135s + dpkg-architecture -qDEB_HOST_MULTIARCH 1135s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1135s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1135s typelib: GLib-2.0 1135s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1135s + gi-decompile-typelib -o GLib.gir GLib.typelib 1136s autopkgtest [05:49:04]: test libglib2.0-dev: -----------------------] 1140s autopkgtest [05:49:08]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1140s libglib2.0-dev PASS (superficial) 1144s autopkgtest [05:49:12]: test installed-tests: preparing testbed 1195s autopkgtest [05:50:03]: testbed dpkg architecture: armhf 1197s autopkgtest [05:50:05]: testbed apt version: 2.9.14ubuntu1 1201s autopkgtest [05:50:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1203s autopkgtest [05:50:11]: testbed release detected to be: plucky 1210s autopkgtest [05:50:18]: updating testbed package index (apt update) 1212s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1212s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 1213s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1213s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1213s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1213s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 1213s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 1213s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 1213s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 1213s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 1213s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 1213s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 1213s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 1213s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 1213s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 1213s Get:16 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 1213s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 1213s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 1213s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 1214s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 1218s Fetched 41.1 MB in 5s (7821 kB/s) 1219s Reading package lists... 1225s autopkgtest [05:50:33]: upgrading testbed (apt dist-upgrade and autopurge) 1227s Reading package lists... 1227s Building dependency tree... 1227s Reading state information... 1228s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1228s Starting 2 pkgProblemResolver with broken count: 0 1228s Done 1230s Entering ResolveByKeep 1230s 1231s The following package was automatically installed and is no longer required: 1231s libassuan0 1231s Use 'apt autoremove' to remove it. 1231s The following NEW packages will be installed: 1231s openssl-provider-legacy python3-bcrypt 1231s The following packages will be upgraded: 1231s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 1231s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 1231s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 1231s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 1231s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1231s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 1231s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 1231s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 1231s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 1231s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 1231s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 1231s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 1231s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 1231s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 1231s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 1231s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 1231s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 1231s make mount openssl pci.ids publicsuffix python-apt-common python3 1231s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 1231s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 1231s python3-newt python3-openssl python3-pkg-resources python3-problem-report 1231s python3-rich python3-setuptools python3-software-properties python3-wadllib 1231s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 1231s readline-common rsync software-properties-common systemd systemd-cryptsetup 1231s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 1231s util-linux uuid-runtime whiptail xauth 1231s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1231s Need to get 58.4 MB of archives. 1231s After this operation, 8823 kB of additional disk space will be used. 1231s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 1231s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 1231s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 1231s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 1231s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 1231s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 1231s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 1231s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 1232s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 1232s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 1232s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 1232s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 1232s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 1232s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 1232s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 1232s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 1232s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 1232s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 1232s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 1232s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 1232s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 1232s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 1232s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 1232s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 1232s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 1232s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 1232s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 1232s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 1232s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 1232s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 1232s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 1232s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 1232s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 1232s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 1232s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 1232s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 1232s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 1232s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 1232s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 1232s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 1232s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 1232s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 1232s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 1232s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 1232s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 1232s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 1232s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 1232s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 1232s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 1232s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 1232s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 1233s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 1233s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 1233s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 1233s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 1233s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 1233s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 1233s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 1233s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 1233s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 1233s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 1233s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 1233s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 1233s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 1233s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 1233s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 1233s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 1233s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 1233s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 1233s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 1233s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 1233s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 1233s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 1233s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 1233s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 1233s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 1233s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 1233s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 1233s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 1233s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 1233s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 1233s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 1233s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 1233s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 1233s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 1233s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 1233s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 1233s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 1233s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 1233s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 1233s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 1233s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 1233s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 1234s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 1234s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 1234s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 1234s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 1234s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 1234s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 1234s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 1234s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 1234s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 1234s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 1234s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 1234s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 1234s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 1234s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 1234s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 1234s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 1234s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 1234s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 1234s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 1234s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 1234s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 1234s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 1234s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 1234s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 1234s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 1234s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 1234s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 1234s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 1235s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 1235s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 1235s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 1235s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 1235s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 1235s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 1235s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 1235s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 1235s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 1235s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 1235s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 1235s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 1235s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 1235s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 1235s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 1235s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 1235s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 1235s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 1235s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 1235s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 1235s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 1236s Preconfiguring packages ... 1236s Fetched 58.4 MB in 4s (14.5 MB/s) 1236s (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 ... 59970 files and directories currently installed.) 1236s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 1236s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 1236s Setting up bash (5.2.37-1ubuntu1) ... 1236s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 1236s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 1237s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 1237s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 1237s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 1237s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 1237s Setting up tar (1.35+dfsg-3.1) ... 1237s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 1237s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1237s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 1237s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1237s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 1237s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 1237s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1237s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 1237s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 1237s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1237s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 1237s (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 ... 59970 files and directories currently installed.) 1237s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 1237s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1238s Setting up libc6:armhf (2.40-4ubuntu1) ... 1238s (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 ... 59970 files and directories currently installed.) 1238s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 1238s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1238s Selecting previously unselected package openssl-provider-legacy. 1238s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 1238s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 1238s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 1238s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 1238s (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 ... 59973 files and directories currently installed.) 1238s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 1238s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1238s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 1238s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 1238s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 1238s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 1238s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 1238s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1238s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 1238s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1238s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 1238s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1238s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 1238s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1238s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 1239s (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 ... 59974 files and directories currently installed.) 1239s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 1239s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1239s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 1239s (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 ... 59974 files and directories currently installed.) 1239s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 1239s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1239s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 1239s (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 ... 59974 files and directories currently installed.) 1239s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 1239s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1239s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 1239s (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 ... 59974 files and directories currently installed.) 1239s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 1239s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1239s Setting up util-linux (2.40.2-1ubuntu2) ... 1240s fstrim.service is a disabled or a static unit not running, not starting it. 1240s (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 ... 59974 files and directories currently installed.) 1240s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 1240s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1240s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 1240s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1240s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 1240s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1240s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 1240s Unpacking readline-common (8.2-6) over (8.2-5) ... 1240s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 1240s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 1240s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 1240s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 1240s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 1240s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 1240s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 1240s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1240s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 1240s (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 ... 59974 files and directories currently installed.) 1240s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 1240s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1241s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 1241s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1241s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 1241s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 1241s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 1241s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1241s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 1241s (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 ... 59967 files and directories currently installed.) 1241s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 1241s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1242s Setting up libsystemd0:armhf (257-2ubuntu1) ... 1242s Setting up mount (2.40.2-1ubuntu2) ... 1242s Setting up systemd (257-2ubuntu1) ... 1242s Installing new version of config file /etc/systemd/logind.conf ... 1242s Installing new version of config file /etc/systemd/sleep.conf ... 1242s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1242s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 1242s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1243s (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 ... 59967 files and directories currently installed.) 1243s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 1243s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 1243s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 1243s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1243s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 1243s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1243s Setting up libudev1:armhf (257-2ubuntu1) ... 1243s (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 ... 59967 files and directories currently installed.) 1243s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 1243s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 1243s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 1243s (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 ... 59967 files and directories currently installed.) 1243s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 1243s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1243s Setting up base-passwd (3.6.6) ... 1244s (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 ... 59967 files and directories currently installed.) 1244s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 1244s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1244s Setting up libc-bin (2.40-4ubuntu1) ... 1244s (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 ... 59967 files and directories currently installed.) 1244s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 1244s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 1244s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 1244s (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 ... 59967 files and directories currently installed.) 1244s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 1244s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 1244s Setting up apt (2.9.18) ... 1245s (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 ... 59966 files and directories currently installed.) 1245s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 1245s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 1245s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 1245s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 1245s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 1245s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 1245s Setting up libgpg-error0:armhf (1.51-3) ... 1246s (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 ... 59966 files and directories currently installed.) 1246s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 1246s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 1246s Setting up libnpth0t64:armhf (1.8-2) ... 1246s (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 ... 59966 files and directories currently installed.) 1246s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 1246s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 1246s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1246s Setting up gpgv (2.4.4-2ubuntu21) ... 1246s (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 ... 59966 files and directories currently installed.) 1246s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 1246s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 1246s Setting up python3-minimal (3.12.8-1) ... 1247s (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 ... 59966 files and directories currently installed.) 1247s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 1247s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 1247s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 1247s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 1247s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 1247s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 1247s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 1247s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 1248s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 1248s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 1248s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 1248s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 1248s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 1248s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 1248s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 1248s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 1248s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 1248s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 1248s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 1248s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 1249s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 1249s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1249s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 1249s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1249s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 1249s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 1249s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 1249s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 1249s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 1249s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 1249s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 1249s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 1249s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 1249s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 1249s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 1249s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 1249s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 1249s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1249s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 1249s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1250s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 1250s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 1250s Setting up libcap-ng0:armhf (0.8.5-4) ... 1250s (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 ... 59953 files and directories currently installed.) 1250s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 1250s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 1250s Setting up libunistring5:armhf (1.3-1) ... 1250s (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 ... 59953 files and directories currently installed.) 1250s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 1250s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1250s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 1250s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 1250s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 1250s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 1250s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 1250s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1250s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 1250s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1250s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 1250s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 1250s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 1250s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 1250s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 1250s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1251s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 1251s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1251s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 1251s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1251s Preparing to unpack .../10-ucf_3.0046_all.deb ... 1251s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 1251s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1251s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1251s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 1251s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 1251s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 1251s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1251s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 1251s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 1252s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 1252s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1252s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1252s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1252s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 1252s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 1252s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1252s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1252s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1252s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1252s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 1252s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1252s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 1252s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 1252s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 1252s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 1252s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 1252s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 1252s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 1252s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 1252s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 1252s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1252s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 1252s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 1252s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 1252s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1252s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 1252s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1252s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 1252s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1252s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 1252s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1253s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 1253s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 1253s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 1253s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1253s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 1253s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1253s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 1253s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 1253s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1253s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1253s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1253s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1253s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 1254s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 1254s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 1254s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 1254s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 1254s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1254s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 1254s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1254s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 1254s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1254s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 1254s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1254s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 1254s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 1254s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 1254s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 1254s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 1254s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 1254s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 1254s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1254s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 1254s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 1254s Selecting previously unselected package python3-bcrypt. 1254s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1254s Unpacking python3-bcrypt (4.2.0-2.1) ... 1255s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 1255s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1255s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 1255s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 1255s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 1255s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1255s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 1255s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1255s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 1255s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 1255s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 1255s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1256s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 1256s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1256s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 1256s Unpacking software-properties-common (0.108) over (0.105) ... 1256s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 1256s Unpacking python3-software-properties (0.108) over (0.105) ... 1256s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 1256s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1256s Setting up systemd-sysv (257-2ubuntu1) ... 1256s Setting up pci.ids (0.0~2024.11.25-1) ... 1256s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1256s Setting up apt-utils (2.9.18) ... 1256s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 1256s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 1256s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1256s Setting up python3.12-gdbm (3.12.8-3) ... 1256s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 1256s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 1256s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 1256s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 1256s Setting up gettext-base (0.22.5-3) ... 1256s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 1256s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 1256s Setting up locales (2.40-4ubuntu1) ... 1257s Generating locales (this might take a while)... 1260s en_US.UTF-8... done 1260s Generation complete. 1260s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 1260s Setting up tzdata (2024b-4ubuntu1) ... 1260s 1260s Current default time zone: 'Etc/UTC' 1260s Local time is now: Mon Jan 6 05:51:08 UTC 2025. 1260s Universal Time is now: Mon Jan 6 05:51:08 UTC 2025. 1260s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1260s 1260s Setting up eject (2.40.2-1ubuntu2) ... 1260s Setting up libftdi1-2:armhf (1.5-8) ... 1260s Setting up libglib2.0-data (2.82.4-1) ... 1260s Setting up systemd-cryptsetup (257-2ubuntu1) ... 1260s Setting up libwrap0:armhf (7.6.q-34) ... 1260s Setting up make (4.4.1-1) ... 1260s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 1260s Setting up bash-completion (1:2.16.0-1) ... 1260s Setting up libfribidi0:armhf (1.0.16-1) ... 1260s Setting up libpng16-16t64:armhf (1.6.44-3) ... 1260s Setting up systemd-timesyncd (257-2ubuntu1) ... 1261s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1261s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 1261s Setting up udev (257-2ubuntu1) ... 1262s Setting up usb.ids (2024.12.04-1) ... 1262s Setting up ucf (3.0046) ... 1262s Installing new version of config file /etc/ucf.conf ... 1262s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 1262s Setting up whiptail (0.52.24-4ubuntu1) ... 1262s Setting up python-apt-common (2.9.6build1) ... 1262s Setting up dracut-install (105-2ubuntu5) ... 1262s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 1263s uuidd.service is a disabled or a static unit not running, not starting it. 1263s Setting up xauth (1:1.1.2-1.1) ... 1263s Setting up groff-base (1.23.0-7) ... 1263s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1263s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 1263s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1263s Setting up curl (8.11.1-1ubuntu1) ... 1263s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 1263s Setting up openssl (3.4.0-1ubuntu2) ... 1263s Installing new version of config file /etc/ssl/openssl.cnf ... 1263s Setting up libgpg-error-l10n (1.51-3) ... 1263s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1263s Setting up readline-common (8.2-6) ... 1263s Setting up publicsuffix (20241206.1516-0.1) ... 1263s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 1263s Setting up libbpf1:armhf (1:1.5.0-2) ... 1263s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1263s Setting up rsync (3.3.0+ds1-2) ... 1264s rsync.service is a disabled or a static unit not running, not starting it. 1264s Setting up python3.13-gdbm (3.13.1-2) ... 1264s Setting up ethtool (1:6.11-1) ... 1264s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 1264s Setting up systemd-resolved (257-2ubuntu1) ... 1264s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1264s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 1264s Setting up python3.12-minimal (3.12.8-3) ... 1266s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 1266s No schema files found: doing nothing. 1266s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 1266s Setting up libreadline8t64:armhf (8.2-6) ... 1266s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1266s Setting up gpgconf (2.4.4-2ubuntu21) ... 1266s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 1266s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 1266s Setting up gpg (2.4.4-2ubuntu21) ... 1266s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 1266s Setcap worked! gst-ptp-helper is not suid! 1266s Setting up gpg-agent (2.4.4-2ubuntu21) ... 1266s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 1266s Setting up python3.12 (3.12.8-3) ... 1268s Setting up gpgsm (2.4.4-2ubuntu21) ... 1268s Setting up libglib2.0-bin (2.82.4-1) ... 1268s Setting up libappstream5:armhf (1.0.4-1) ... 1268s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1268s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 1268s Setting up fdisk (2.40.2-1ubuntu2) ... 1268s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1268s Setting up dirmngr (2.4.4-2ubuntu21) ... 1268s Setting up appstream (1.0.4-1) ... 1268s ✔ Metadata cache was updated successfully. 1268s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 1268s Setting up keyboxd (2.4.4-2ubuntu21) ... 1268s Setting up gnupg (2.4.4-2ubuntu21) ... 1268s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 1268s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 1268s Setting up libqmi-proxy (1.35.6-1) ... 1268s Setting up libfwupd3:armhf (2.0.3-3) ... 1268s Setting up python3 (3.12.8-1) ... 1269s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1269s Setting up python3-jinja2 (3.1.3-1.1) ... 1269s Setting up python3-wadllib (2.0.0-2) ... 1269s Setting up python3-json-pointer (2.4-3) ... 1269s Setting up fwupd (2.0.3-3) ... 1270s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1270s fwupd.service is a disabled or a static unit not running, not starting it. 1270s Setting up python3-pkg-resources (75.6.0-1) ... 1270s Setting up python3-attr (24.2.0-1) ... 1271s Setting up python3-setuptools (75.6.0-1) ... 1272s Setting up python3-rich (13.9.4-1) ... 1272s Setting up python3-gdbm:armhf (3.13.1-1) ... 1272s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 1272s Setting up python3-apt (2.9.6build1) ... 1272s Setting up python3-jsonpatch (1.32-5) ... 1273s Setting up python3-bcrypt (4.2.0-2.1) ... 1273s Setting up python3-apport (2.31.0-0ubuntu2) ... 1273s Setting up python3-software-properties (0.108) ... 1273s Setting up python3-cryptography (43.0.0-1) ... 1274s Setting up python3-openssl (24.3.0-1) ... 1274s Setting up software-properties-common (0.108) ... 1274s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 1275s Setting up apport (2.31.0-0ubuntu2) ... 1276s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1276s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1276s Processing triggers for shared-mime-info (2.4-5) ... 1276s Warning: program compiled against libxml 212 using older 209 1276s Processing triggers for debianutils (5.21) ... 1277s Processing triggers for install-info (7.1.1-1) ... 1277s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1277s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1277s Processing triggers for systemd (257-2ubuntu1) ... 1277s Processing triggers for man-db (2.13.0-1) ... 1282s Reading package lists... 1282s Building dependency tree... 1282s Reading state information... 1283s Starting pkgProblemResolver with broken count: 0 1283s Starting 2 pkgProblemResolver with broken count: 0 1283s Done 1284s The following packages will be REMOVED: 1284s libassuan0* 1285s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1285s After this operation, 68.6 kB disk space will be freed. 1285s (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 ... 60003 files and directories currently installed.) 1285s Removing libassuan0:armhf (2.5.6-1build1) ... 1285s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1287s autopkgtest [05:51:35]: rebooting testbed after setup commands that affected boot 1352s Reading package lists... 1352s Building dependency tree... 1352s Reading state information... 1353s Starting pkgProblemResolver with broken count: 0 1353s Starting 2 pkgProblemResolver with broken count: 0 1353s Done 1355s The following NEW packages will be installed: 1355s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 1355s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 1355s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa 1355s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1355s libllvm19 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 1355s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 1355s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 1355s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 1355s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 1355s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 1355s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 1355s Need to get 41.3 MB of archives. 1355s After this operation, 163 MB of additional disk space will be used. 1355s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-x11 armhf 1.14.10-4ubuntu5 [22.8 kB] 1355s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf desktop-file-utils armhf 0.28-1 [48.5 kB] 1355s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 1355s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 1355s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 1355s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB] 1355s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB] 1355s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 1355s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 1356s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.0-1 [29.4 kB] 1356s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 1356s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.2.8-1ubuntu1 [49.5 kB] 1356s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.6-1ubuntu1 [27.8 MB] 1357s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B] 1357s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B] 1357s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 1357s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 1357s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 1357s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 1357s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 1357s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.2.8-1ubuntu1 [7907 kB] 1357s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.2.8-1ubuntu1 [28.2 kB] 1357s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1357s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 1357s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libvulkan1 armhf 1.3.296.0-1 [114 kB] 1357s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1-mesa-dri armhf 24.2.8-1ubuntu1 [30.9 kB] 1357s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.4-1 [18.1 kB] 1357s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dbusmock all 0.34.0-1 [92.2 kB] 1357s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 1357s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf libglib2.0-tests armhf 2.82.4-1 [2127 kB] 1357s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB] 1357s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 1357s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxfixes3 armhf 1:6.0.0-2build1 [9038 B] 1357s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 1357s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libglx-mesa0 armhf 24.2.8-1ubuntu1 [131 kB] 1357s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1357s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 1357s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 1357s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 1357s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 1357s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 1357s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 1357s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 1357s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 1357s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 1357s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 1357s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 1357s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf x11-xkb-utils armhf 7.7+9 [159 kB] 1357s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1357s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 1357s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB] 1357s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1 armhf 1.7.0-1build1 [105 kB] 1357s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf xvfb armhf 2:21.1.14-2ubuntu1 [730 kB] 1358s Fetched 41.3 MB in 2s (17.9 MB/s) 1358s Selecting previously unselected package dbus-x11. 1358s (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 ... 59998 files and directories currently installed.) 1358s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_armhf.deb ... 1358s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 1358s Selecting previously unselected package desktop-file-utils. 1358s Preparing to unpack .../01-desktop-file-utils_0.28-1_armhf.deb ... 1358s Unpacking desktop-file-utils (0.28-1) ... 1358s Selecting previously unselected package native-architecture. 1358s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 1358s Unpacking native-architecture (0.2.3) ... 1358s Selecting previously unselected package libgirepository-2.0-0:armhf. 1358s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_armhf.deb ... 1358s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 1358s Selecting previously unselected package girepository-tools:armhf. 1358s Preparing to unpack .../04-girepository-tools_2.82.4-1_armhf.deb ... 1358s Unpacking girepository-tools:armhf (2.82.4-1) ... 1358s Selecting previously unselected package gnome-desktop-testing. 1358s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_armhf.deb ... 1358s Unpacking gnome-desktop-testing (2021.1-4) ... 1358s Selecting previously unselected package libdrm-radeon1:armhf. 1358s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_armhf.deb ... 1358s Unpacking libdrm-radeon1:armhf (2.4.123-1) ... 1358s Selecting previously unselected package libfontenc1:armhf. 1358s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 1358s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 1359s Selecting previously unselected package libfreetype6:armhf. 1359s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 1359s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 1359s Selecting previously unselected package libwayland-server0:armhf. 1359s Preparing to unpack .../09-libwayland-server0_1.23.0-1_armhf.deb ... 1359s Unpacking libwayland-server0:armhf (1.23.0-1) ... 1359s Selecting previously unselected package libxcb-randr0:armhf. 1359s Preparing to unpack .../10-libxcb-randr0_1.17.0-2_armhf.deb ... 1359s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 1359s Selecting previously unselected package libglapi-mesa:armhf. 1359s Preparing to unpack .../11-libglapi-mesa_24.2.8-1ubuntu1_armhf.deb ... 1359s Unpacking libglapi-mesa:armhf (24.2.8-1ubuntu1) ... 1359s Selecting previously unselected package libllvm19:armhf. 1359s Preparing to unpack .../12-libllvm19_1%3a19.1.6-1ubuntu1_armhf.deb ... 1359s Unpacking libllvm19:armhf (1:19.1.6-1ubuntu1) ... 1360s Selecting previously unselected package libx11-xcb1:armhf. 1360s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_armhf.deb ... 1360s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ... 1360s Selecting previously unselected package libxcb-dri2-0:armhf. 1360s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_armhf.deb ... 1360s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ... 1360s Selecting previously unselected package libxcb-dri3-0:armhf. 1360s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_armhf.deb ... 1360s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 1360s Selecting previously unselected package libxcb-present0:armhf. 1360s Preparing to unpack .../16-libxcb-present0_1.17.0-2_armhf.deb ... 1360s Unpacking libxcb-present0:armhf (1.17.0-2) ... 1360s Selecting previously unselected package libxcb-sync1:armhf. 1360s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_armhf.deb ... 1360s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 1360s Selecting previously unselected package libxcb-xfixes0:armhf. 1360s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_armhf.deb ... 1360s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 1360s Selecting previously unselected package libxshmfence1:armhf. 1360s Preparing to unpack .../19-libxshmfence1_1.3-1build5_armhf.deb ... 1360s Unpacking libxshmfence1:armhf (1.3-1build5) ... 1360s Selecting previously unselected package mesa-libgallium:armhf. 1360s Preparing to unpack .../20-mesa-libgallium_24.2.8-1ubuntu1_armhf.deb ... 1360s Unpacking mesa-libgallium:armhf (24.2.8-1ubuntu1) ... 1361s Selecting previously unselected package libgbm1:armhf. 1361s Preparing to unpack .../21-libgbm1_24.2.8-1ubuntu1_armhf.deb ... 1361s Unpacking libgbm1:armhf (24.2.8-1ubuntu1) ... 1361s Selecting previously unselected package python3-packaging. 1361s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 1361s Unpacking python3-packaging (24.2-1) ... 1361s Selecting previously unselected package libgio-2.0-dev-bin. 1361s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 1361s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1361s Selecting previously unselected package libvulkan1:armhf. 1361s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_armhf.deb ... 1361s Unpacking libvulkan1:armhf (1.3.296.0-1) ... 1361s Selecting previously unselected package libgl1-mesa-dri:armhf. 1361s Preparing to unpack .../25-libgl1-mesa-dri_24.2.8-1ubuntu1_armhf.deb ... 1361s Unpacking libgl1-mesa-dri:armhf (24.2.8-1ubuntu1) ... 1361s Selecting previously unselected package libglib2.0-dev-bin. 1361s Preparing to unpack .../26-libglib2.0-dev-bin_2.82.4-1_armhf.deb ... 1361s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1361s Selecting previously unselected package python3-dbusmock. 1361s Preparing to unpack .../27-python3-dbusmock_0.34.0-1_all.deb ... 1361s Unpacking python3-dbusmock (0.34.0-1) ... 1361s Selecting previously unselected package tzdata-legacy. 1361s Preparing to unpack .../28-tzdata-legacy_2024b-4ubuntu1_all.deb ... 1361s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 1361s Selecting previously unselected package libglib2.0-tests. 1361s Preparing to unpack .../29-libglib2.0-tests_2.82.4-1_armhf.deb ... 1361s Unpacking libglib2.0-tests (2.82.4-1) ... 1362s Selecting previously unselected package libxcb-glx0:armhf. 1362s Preparing to unpack .../30-libxcb-glx0_1.17.0-2_armhf.deb ... 1362s Unpacking libxcb-glx0:armhf (1.17.0-2) ... 1362s Selecting previously unselected package libxcb-shm0:armhf. 1362s Preparing to unpack .../31-libxcb-shm0_1.17.0-2_armhf.deb ... 1362s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 1362s Selecting previously unselected package libxfixes3:armhf. 1362s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2build1_armhf.deb ... 1362s Unpacking libxfixes3:armhf (1:6.0.0-2build1) ... 1362s Selecting previously unselected package libxxf86vm1:armhf. 1362s Preparing to unpack .../33-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 1362s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 1362s Selecting previously unselected package libglx-mesa0:armhf. 1362s Preparing to unpack .../34-libglx-mesa0_24.2.8-1ubuntu1_armhf.deb ... 1362s Unpacking libglx-mesa0:armhf (24.2.8-1ubuntu1) ... 1362s Selecting previously unselected package x11-common. 1362s Preparing to unpack .../35-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1362s Unpacking x11-common (1:7.7+23ubuntu3) ... 1362s Selecting previously unselected package libice6:armhf. 1362s Preparing to unpack .../36-libice6_2%3a1.1.1-1_armhf.deb ... 1362s Unpacking libice6:armhf (2:1.1.1-1) ... 1362s Selecting previously unselected package libpixman-1-0:armhf. 1362s Preparing to unpack .../37-libpixman-1-0_0.44.0-3_armhf.deb ... 1362s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 1362s Selecting previously unselected package libsm6:armhf. 1362s Preparing to unpack .../38-libsm6_2%3a1.2.4-1_armhf.deb ... 1362s Unpacking libsm6:armhf (2:1.2.4-1) ... 1362s Selecting previously unselected package libxt6t64:armhf. 1362s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 1362s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 1362s Selecting previously unselected package libxmu6:armhf. 1362s Preparing to unpack .../40-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 1362s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 1362s Selecting previously unselected package libxpm4:armhf. 1362s Preparing to unpack .../41-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 1362s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 1362s Selecting previously unselected package libxaw7:armhf. 1362s Preparing to unpack .../42-libxaw7_2%3a1.0.16-1_armhf.deb ... 1362s Unpacking libxaw7:armhf (2:1.0.16-1) ... 1362s Selecting previously unselected package libxfont2:armhf. 1362s Preparing to unpack .../43-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 1362s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 1362s Selecting previously unselected package libxkbfile1:armhf. 1362s Preparing to unpack .../44-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 1362s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 1362s Selecting previously unselected package libxrender1:armhf. 1362s Preparing to unpack .../45-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 1362s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 1362s Selecting previously unselected package libxrandr2:armhf. 1362s Preparing to unpack .../46-libxrandr2_2%3a1.5.4-1_armhf.deb ... 1362s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 1362s Selecting previously unselected package x11-xkb-utils. 1362s Preparing to unpack .../47-x11-xkb-utils_7.7+9_armhf.deb ... 1362s Unpacking x11-xkb-utils (7.7+9) ... 1362s Selecting previously unselected package xserver-common. 1362s Preparing to unpack .../48-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1362s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1363s Selecting previously unselected package libglvnd0:armhf. 1363s Preparing to unpack .../49-libglvnd0_1.7.0-1build1_armhf.deb ... 1363s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 1363s Selecting previously unselected package libglx0:armhf. 1363s Preparing to unpack .../50-libglx0_1.7.0-1build1_armhf.deb ... 1363s Unpacking libglx0:armhf (1.7.0-1build1) ... 1363s Selecting previously unselected package libgl1:armhf. 1363s Preparing to unpack .../51-libgl1_1.7.0-1build1_armhf.deb ... 1363s Unpacking libgl1:armhf (1.7.0-1build1) ... 1363s Selecting previously unselected package xvfb. 1363s Preparing to unpack .../52-xvfb_2%3a21.1.14-2ubuntu1_armhf.deb ... 1363s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1363s Setting up gnome-desktop-testing (2021.1-4) ... 1363s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 1363s Setting up libpixman-1-0:armhf (0.44.0-3) ... 1363s Setting up libllvm19:armhf (1:19.1.6-1ubuntu1) ... 1363s Setting up libwayland-server0:armhf (1.23.0-1) ... 1363s Setting up libx11-xcb1:armhf (2:1.8.10-2) ... 1363s Setting up native-architecture (0.2.3) ... 1363s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 1363s Setting up desktop-file-utils (0.28-1) ... 1363s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 1363s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 1363s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 1363s Setting up libdrm-radeon1:armhf (2.4.123-1) ... 1363s Setting up libglvnd0:armhf (1.7.0-1build1) ... 1363s Setting up libxcb-glx0:armhf (1.17.0-2) ... 1363s Setting up x11-common (1:7.7+23ubuntu3) ... 1363s Setting up libxcb-shm0:armhf (1.17.0-2) ... 1363s Setting up python3-dbusmock (0.34.0-1) ... 1364s Setting up tzdata-legacy (2024b-4ubuntu1) ... 1364s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 1364s Setting up libxcb-present0:armhf (1.17.0-2) ... 1364s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 1364s Setting up python3-packaging (24.2-1) ... 1364s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 1364s Setting up libxfixes3:armhf (1:6.0.0-2build1) ... 1364s Setting up libxcb-sync1:armhf (1.17.0-2) ... 1364s Setting up libxrandr2:armhf (2:1.5.4-1) ... 1364s Setting up libglapi-mesa:armhf (24.2.8-1ubuntu1) ... 1364s Setting up libvulkan1:armhf (1.3.296.0-1) ... 1364s Setting up libxcb-dri2-0:armhf (1.17.0-2) ... 1364s Setting up libxshmfence1:armhf (1.3-1build5) ... 1364s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 1364s Setting up libxcb-randr0:armhf (1.17.0-2) ... 1364s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 1364s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 1364s Setting up libice6:armhf (2:1.1.1-1) ... 1364s Setting up mesa-libgallium:armhf (24.2.8-1ubuntu1) ... 1364s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1364s Setting up girepository-tools:armhf (2.82.4-1) ... 1364s Setting up libgbm1:armhf (24.2.8-1ubuntu1) ... 1364s Setting up libgl1-mesa-dri:armhf (24.2.8-1ubuntu1) ... 1364s Setting up libsm6:armhf (2:1.2.4-1) ... 1364s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1364s Setting up libglx-mesa0:armhf (24.2.8-1ubuntu1) ... 1364s Setting up libglx0:armhf (1.7.0-1build1) ... 1364s Setting up libgl1:armhf (1.7.0-1build1) ... 1364s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 1364s Setting up libglib2.0-tests (2.82.4-1) ... 1364s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 1364s Setting up libxaw7:armhf (2:1.0.16-1) ... 1364s Setting up x11-xkb-utils (7.7+9) ... 1364s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1364s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1364s Processing triggers for man-db (2.13.0-1) ... 1365s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1383s autopkgtest [05:53:11]: test installed-tests: [----------------------- 1385s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1385s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1385s group entry: ubuntu:x:1000: 1385s Environment: 1385s ADTTMP=/tmp/autopkgtest.IZl8W8/autopkgtest_tmp 1385s ADT_ARTIFACTS=/tmp/autopkgtest.IZl8W8/installed-tests-artifacts 1385s ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 1385s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.IZl8W8/installed-tests-artifacts 1385s AUTOPKGTEST_TESTBED_ARCH=armhf 1385s AUTOPKGTEST_TEST_ARCH=armhf 1385s AUTOPKGTEST_TMP=/tmp/autopkgtest.IZl8W8/autopkgtest_tmp 1385s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 1385s DEBIAN_FRONTEND=noninteractive 1385s DEB_BUILD_OPTIONS=parallel=8 1385s GIO_USE_VFS=local 1385s GIO_USE_VOLUME_MONITOR=unix 1385s HOME=/home/ubuntu 1385s LANG=C.UTF-8 1385s LOGNAME=ubuntu 1385s MAIL=/var/mail/ubuntu 1385s OLDPWD=/root 1385s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1385s PWD=/tmp/autopkgtest.IZl8W8/build.7dT/src 1385s SHELL=/bin/bash 1385s SHLVL=1 1385s USER=ubuntu 1385s XDG_RUNTIME_DIR=/tmp/autopkgtest.IZl8W8/autopkgtest_tmp 1385s XDG_SESSION_CLASS=background 1385s XDG_SESSION_ID=c1 1385s XDG_SESSION_TYPE=unspecified 1385s http_proxy=http://squid.internal:3128 1385s https_proxy=http://squid.internal:3128 1385s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 1385s run-with-locales: de_DE=ISO-8859-1... 1385s Character set: ISO-8859-1 1385s Source file: de_DE 1385s Output: /tmp/tmp.xPpfsG3WBK/de_DE 1386s run-with-locales: de_DE.utf8... 1386s Character set: UTF-8 1386s Source file: de_DE 1386s Output: /tmp/tmp.xPpfsG3WBK/de_DE.utf8 1389s run-with-locales: de_DE@euro.utf8... 1389s Character set: UTF-8 1389s Source file: de_DE@euro 1389s Output: /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8 1392s run-with-locales: el_GR.utf8... 1392s Character set: UTF-8 1392s Source file: el_GR 1392s Output: /tmp/tmp.xPpfsG3WBK/el_GR.utf8 1395s run-with-locales: en_GB=ISO-8859-1... 1395s Character set: ISO-8859-1 1395s Source file: en_GB 1395s Output: /tmp/tmp.xPpfsG3WBK/en_GB 1395s run-with-locales: en_GB.utf8... 1395s Character set: UTF-8 1395s Source file: en_GB 1395s Output: /tmp/tmp.xPpfsG3WBK/en_GB.utf8 1398s run-with-locales: en_US=ISO-8859-1... 1398s Character set: ISO-8859-1 1398s Source file: en_US 1398s Output: /tmp/tmp.xPpfsG3WBK/en_US 1399s run-with-locales: en_US.utf8... 1399s Character set: UTF-8 1399s Source file: en_US 1399s Output: /tmp/tmp.xPpfsG3WBK/en_US.utf8 1402s run-with-locales: es_ES.utf8... 1402s Character set: UTF-8 1402s Source file: es_ES 1402s Output: /tmp/tmp.xPpfsG3WBK/es_ES.utf8 1405s run-with-locales: fa_IR=UTF-8... 1405s Character set: UTF-8 1405s Source file: fa_IR 1405s Output: /tmp/tmp.xPpfsG3WBK/fa_IR 1409s run-with-locales: fa_IR.utf8... 1409s Character set: UTF-8 1409s Source file: fa_IR 1409s Output: /tmp/tmp.xPpfsG3WBK/fa_IR.utf8 1412s run-with-locales: fr_FR.utf8... 1412s Character set: UTF-8 1412s Source file: fr_FR 1412s Output: /tmp/tmp.xPpfsG3WBK/fr_FR.utf8 1415s run-with-locales: hr_HR.utf8... 1415s Character set: UTF-8 1415s Source file: hr_HR 1415s Output: /tmp/tmp.xPpfsG3WBK/hr_HR.utf8 1419s run-with-locales: ja_JP.utf8... 1419s Character set: UTF-8 1419s Source file: ja_JP 1419s Output: /tmp/tmp.xPpfsG3WBK/ja_JP.utf8 1420s run-with-locales: ja_JP.EUC-JP... 1420s Character set: EUC-JP 1420s Source file: ja_JP 1420s Output: /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp 1422s run-with-locales: lt_LT.utf8... 1422s Character set: UTF-8 1422s Source file: lt_LT 1422s Output: /tmp/tmp.xPpfsG3WBK/lt_LT.utf8 1425s run-with-locales: pl_PL=ISO-8859-2... 1425s Character set: ISO-8859-2 1425s Source file: pl_PL 1425s Output: /tmp/tmp.xPpfsG3WBK/pl_PL 1425s run-with-locales: pl_PL.ISO-8859-2... 1425s Character set: ISO-8859-2 1425s Source file: pl_PL 1425s Output: /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592 1426s run-with-locales: pl_PL.utf8... 1426s Character set: UTF-8 1426s Source file: pl_PL 1426s Output: /tmp/tmp.xPpfsG3WBK/pl_PL.utf8 1429s run-with-locales: ru_RU=ISO-8859-5... 1429s Character set: ISO-8859-5 1429s Source file: ru_RU 1429s Output: /tmp/tmp.xPpfsG3WBK/ru_RU 1430s run-with-locales: ru_RU.utf8... 1430s Character set: UTF-8 1430s Source file: ru_RU 1430s Output: /tmp/tmp.xPpfsG3WBK/ru_RU.utf8 1434s run-with-locales: sr_RS=UTF-8... 1434s Character set: UTF-8 1434s Source file: sr_RS 1434s Output: /tmp/tmp.xPpfsG3WBK/sr_RS 1437s run-with-locales: sr_RS@latin=UTF-8... 1437s Character set: UTF-8 1437s Source file: sr_RS@latin 1437s Output: /tmp/tmp.xPpfsG3WBK/sr_RS@latin 1441s run-with-locales: sv_SE=ISO-8859-1... 1441s Character set: ISO-8859-1 1441s Source file: sv_SE 1441s Output: /tmp/tmp.xPpfsG3WBK/sv_SE 1441s run-with-locales: sv_SE.utf8... 1441s Character set: UTF-8 1441s Source file: sv_SE 1441s Output: /tmp/tmp.xPpfsG3WBK/sv_SE.utf8 1444s run-with-locales: tr_TR=ISO-8859-9... 1444s Character set: ISO-8859-9 1444s Source file: tr_TR 1444s Output: /tmp/tmp.xPpfsG3WBK/tr_TR 1445s run-with-locales: tr_TR.utf8... 1445s Character set: UTF-8 1445s Source file: tr_TR 1445s Output: /tmp/tmp.xPpfsG3WBK/tr_TR.utf8 1448s run-with-locales: tt_RU=UTF-8... 1448s Character set: UTF-8 1448s Source file: tt_RU 1448s Output: /tmp/tmp.xPpfsG3WBK/tt_RU 1452s run-with-locales: tt_RU.utf8... 1452s Character set: UTF-8 1452s Source file: tt_RU 1452s Output: /tmp/tmp.xPpfsG3WBK/tt_RU.utf8 1455s run-with-locales: tt_RU@iqtelif=UTF-8... 1455s Character set: UTF-8 1455s Source file: tt_RU@iqtelif 1455s Output: /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif 1459s /tmp/tmp.xPpfsG3WBK 1459s /tmp/tmp.xPpfsG3WBK/de_DE 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/de_DE/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/de_DE.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/de_DE@euro.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/el_GR.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/en_GB 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/en_GB/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/en_GB.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/en_US 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/en_US/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/en_US.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/es_ES.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/fa_IR 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/fa_IR/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/fa_IR.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/fr_FR.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/hr_HR.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/ja_JP.eucjp/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/lt_LT.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/pl_PL 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/pl_PL/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.iso88592/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/pl_PL.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/ru_RU 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/ru_RU/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/ru_RU.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/sr_RS 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/sr_RS/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/sr_RS@latin/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/sv_SE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/sv_SE/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/sv_SE.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/tr_TR 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/tr_TR/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/tr_TR.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/tt_RU 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/tt_RU/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/tt_RU.utf8/LC_IDENTIFICATION 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_CTYPE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_NUMERIC 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_TIME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_COLLATE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_MONETARY 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_PAPER 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_NAME 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_ADDRESS 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_TELEPHONE 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_MEASUREMENT 1459s /tmp/tmp.xPpfsG3WBK/tt_RU@iqtelif/LC_IDENTIFICATION 1459s 1..319 1459s # Running test: glib/mkenums.py.test 1459s TAP version 13 1459s ok 1 __main__.TestMkenums.test_available_in 1459s # tmpdir: /tmp/tmp5zrue80l 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmp5zrue80l/tmp9dxrp27u.h: 1459s # typedef enum { 1459s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1459s # } GDBusServerFlags; 1459s # 1459s # /tmp/tmp5zrue80l/tmphtayn5h8.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5zrue80l/tmphtayn5h8.template', '/tmp/tmp5zrue80l/tmp9dxrp27u.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-production 1459s # filename: /tmp/tmp5zrue80l/tmp9dxrp27u.h 1459s # basename: tmp9dxrp27u.h 1459s # enumeration-production 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-header 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-production 1459s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1459s # valuenick: user 1459s # valuenum: 4 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-tail 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1459s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1459s # tmpdir: /tmp/tmpwo_iz828 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmpwo_iz828/tmpre0k9aw4.h: 1459s # typedef enum { 1459s # ENUM_VALUE_WITH_COMMA = ',', 1459s # } TestCommaEnum; 1459s # 1459s # /tmp/tmpwo_iz828/tmpt5qzvibs.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwo_iz828/tmpt5qzvibs.template', '/tmp/tmpwo_iz828/tmpre0k9aw4.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-production 1459s # filename: /tmp/tmpwo_iz828/tmpre0k9aw4.h 1459s # basename: tmpre0k9aw4.h 1459s # enumeration-production 1459s # EnumName: TestCommaEnum 1459s # enum_name: test_comma_enum 1459s # ENUMNAME: TEST_COMMA_ENUM 1459s # ENUMSHORT: COMMA_ENUM 1459s # ENUMPREFIX: TEST 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-header 1459s # EnumName: TestCommaEnum 1459s # enum_name: test_comma_enum 1459s # ENUMNAME: TEST_COMMA_ENUM 1459s # ENUMSHORT: COMMA_ENUM 1459s # ENUMPREFIX: TEST 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-production 1459s # VALUENAME: ENUM_VALUE_WITH_COMMA 1459s # valuenick: comma 1459s # valuenum: 44 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-tail 1459s # EnumName: TestCommaEnum 1459s # enum_name: test_comma_enum 1459s # ENUMNAME: TEST_COMMA_ENUM 1459s # ENUMSHORT: COMMA_ENUM 1459s # ENUMPREFIX: TEST 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1459s ok 3 __main__.TestMkenums.test_deprecated_in 1459s # tmpdir: /tmp/tmpsrlbj8vi 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmpsrlbj8vi/tmpxu4sdrrh.h: 1459s # typedef enum { 1459s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1459s # } GDBusServerFlags; 1459s # 1459s # /tmp/tmpsrlbj8vi/tmpljd4edmz.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsrlbj8vi/tmpljd4edmz.template', '/tmp/tmpsrlbj8vi/tmpxu4sdrrh.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-production 1459s # filename: /tmp/tmpsrlbj8vi/tmpxu4sdrrh.h 1459s # basename: tmpxu4sdrrh.h 1459s # enumeration-production 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-header 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-production 1459s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1459s # valuenick: user 1459s # valuenum: 4 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-tail 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1459s ok 4 __main__.TestMkenums.test_deprecated_in_for 1459s # tmpdir: /tmp/tmpf6yd4bc8 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmpf6yd4bc8/tmp08uzjj5a.h: 1459s # typedef enum { 1459s # 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) 1459s # } GDBusServerFlags; 1459s # 1459s # /tmp/tmpf6yd4bc8/tmpatwv3_fx.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf6yd4bc8/tmpatwv3_fx.template', '/tmp/tmpf6yd4bc8/tmp08uzjj5a.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-production 1459s # filename: /tmp/tmpf6yd4bc8/tmp08uzjj5a.h 1459s # basename: tmp08uzjj5a.h 1459s # enumeration-production 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-header 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-production 1459s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1459s # valuenick: user 1459s # valuenum: 4 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # value-tail 1459s # EnumName: GDBusServerFlags 1459s # enum_name: g_dbus_server_flags 1459s # ENUMNAME: G_DBUS_SERVER_FLAGS 1459s # ENUMSHORT: DBUS_SERVER_FLAGS 1459s # ENUMPREFIX: G 1459s # enumsince: 1459s # type: flags 1459s # Type: Flags 1459s # TYPE: FLAGS 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1459s ok 5 __main__.TestMkenums.test_empty_header 1459s # tmpdir: /tmp/tmptt_gr99i 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmptt_gr99i/tmpdix0yli3.h: 1459s # /tmp/tmptt_gr99i/tmpvzdb1vlu.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptt_gr99i/tmpvzdb1vlu.template', '/tmp/tmptt_gr99i/tmpdix0yli3.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1459s ok 6 __main__.TestMkenums.test_empty_template 1459s # tmpdir: /tmp/tmpyf11n7j9 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmpyf11n7j9/tmpgpv6hd1o.template: 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyf11n7j9/tmpgpv6hd1o.template'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # 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. */ 1459s # 1459s # 1459s # /* Generated data ends here */ 1459s ok 7 __main__.TestMkenums.test_enum_name 1459s # tmpdir: /tmp/tmprkur1y40 1459s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1459s # /tmp/tmprkur1y40/tmpsxvb0aoh.h: 1459s # typedef enum _SomeEnumIdentifier { 1459s # ENUM_VALUE 1459s # } SomeEnumIdentifier; 1459s # 1459s # /tmp/tmprkur1y40/tmp2e78ljvd.template: 1459s # /*** BEGIN file-header ***/ 1459s # file-header 1459s # /*** END file-header ***/ 1459s # 1459s # /*** BEGIN file-production ***/ 1459s # file-production 1459s # filename: @filename@ 1459s # basename: @basename@ 1459s # /*** END file-production ***/ 1459s # 1459s # /*** BEGIN enumeration-production ***/ 1459s # enumeration-production 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END enumeration-production ***/ 1459s # 1459s # /*** BEGIN value-header ***/ 1459s # value-header 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-header ***/ 1459s # 1459s # /*** BEGIN value-production ***/ 1459s # value-production 1459s # VALUENAME: @VALUENAME@ 1459s # valuenick: @valuenick@ 1459s # valuenum: @valuenum@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-production ***/ 1459s # 1459s # /*** BEGIN value-tail ***/ 1459s # value-tail 1459s # EnumName: @EnumName@ 1459s # enum_name: @enum_name@ 1459s # ENUMNAME: @ENUMNAME@ 1459s # ENUMSHORT: @ENUMSHORT@ 1459s # ENUMPREFIX: @ENUMPREFIX@ 1459s # enumsince: @enumsince@ 1459s # type: @type@ 1459s # Type: @Type@ 1459s # TYPE: @TYPE@ 1459s # /*** END value-tail ***/ 1459s # 1459s # /*** BEGIN comment ***/ 1459s # comment 1459s # comment: @comment@ 1459s # /*** END comment ***/ 1459s # 1459s # /*** BEGIN file-tail ***/ 1459s # file-tail 1459s # /*** END file-tail ***/ 1459s # 1459s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprkur1y40/tmp2e78ljvd.template', '/tmp/tmprkur1y40/tmpsxvb0aoh.h'] 1459s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1459s # Output: comment 1459s # 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. 1459s # 1459s # 1459s # file-header 1459s # file-production 1459s # filename: /tmp/tmprkur1y40/tmpsxvb0aoh.h 1459s # basename: tmpsxvb0aoh.h 1459s # enumeration-production 1459s # EnumName: SomeEnumIdentifier 1459s # enum_name: some_enum_identifier 1459s # ENUMNAME: SOME_ENUM_IDENTIFIER 1459s # ENUMSHORT: ENUM_IDENTIFIER 1459s # ENUMPREFIX: SOME 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-header 1459s # EnumName: SomeEnumIdentifier 1459s # enum_name: some_enum_identifier 1459s # ENUMNAME: SOME_ENUM_IDENTIFIER 1459s # ENUMSHORT: ENUM_IDENTIFIER 1459s # ENUMPREFIX: SOME 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-production 1459s # VALUENAME: ENUM_VALUE 1459s # valuenick: value 1459s # valuenum: 0 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # value-tail 1459s # EnumName: SomeEnumIdentifier 1459s # enum_name: some_enum_identifier 1459s # ENUMNAME: SOME_ENUM_IDENTIFIER 1459s # ENUMSHORT: ENUM_IDENTIFIER 1459s # ENUMPREFIX: SOME 1459s # enumsince: 1459s # type: enum 1459s # Type: Enum 1459s # TYPE: ENUM 1459s # file-tail 1459s # 1459s # comment 1459s # comment: Generated data ends here 1460s ok 8 __main__.TestMkenums.test_enum_private_public 1460s # tmpdir: /tmp/tmpt7g1l5kb 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmpt7g1l5kb/tmpp518489f.h: 1460s # typedef enum { 1460s # ENUM_VALUE_PUBLIC1, 1460s # /*< private >*/ 1460s # ENUM_VALUE_PRIVATE, 1460s # } SomeEnumA 1460s # 1460s # /tmp/tmpt7g1l5kb/tmphw3skxr4.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt7g1l5kb/tmphw3skxr4.template', '/tmp/tmpt7g1l5kb/tmpp518489f.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmpt7g1l5kb/tmpp518489f.h 1460s # basename: tmpp518489f.h 1460s # enumeration-production 1460s # EnumName: SomeEnumA 1460s # enum_name: some_enum_a 1460s # ENUMNAME: SOME_ENUM_A 1460s # ENUMSHORT: ENUM_A 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: SomeEnumA 1460s # enum_name: some_enum_a 1460s # ENUMNAME: SOME_ENUM_A 1460s # ENUMSHORT: ENUM_A 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: ENUM_VALUE_PUBLIC1 1460s # valuenick: public1 1460s # valuenum: 0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: SomeEnumA 1460s # enum_name: some_enum_a 1460s # ENUMNAME: SOME_ENUM_A 1460s # ENUMSHORT: ENUM_A 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s # /tmp/tmpt7g1l5kb/tmpzj8x5knv.h: 1460s # typedef enum { 1460s # /*< private >*/ 1460s # ENUM_VALUE_PRIVATE, 1460s # /*< public >*/ 1460s # ENUM_VALUE_PUBLIC2, 1460s # } SomeEnumB; 1460s # 1460s # /tmp/tmpt7g1l5kb/tmp_n5j0691.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt7g1l5kb/tmp_n5j0691.template', '/tmp/tmpt7g1l5kb/tmpzj8x5knv.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmpt7g1l5kb/tmpzj8x5knv.h 1460s # basename: tmpzj8x5knv.h 1460s # enumeration-production 1460s # EnumName: SomeEnumB 1460s # enum_name: some_enum_b 1460s # ENUMNAME: SOME_ENUM_B 1460s # ENUMSHORT: ENUM_B 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: SomeEnumB 1460s # enum_name: some_enum_b 1460s # ENUMNAME: SOME_ENUM_B 1460s # ENUMSHORT: ENUM_B 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: ENUM_VALUE_PUBLIC2 1460s # valuenick: public2 1460s # valuenum: 1 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: SomeEnumB 1460s # enum_name: some_enum_b 1460s # ENUMNAME: SOME_ENUM_B 1460s # ENUMSHORT: ENUM_B 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1460s # tmpdir: /tmp/tmp2eniu42t 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmp2eniu42t/tmpuikee90j.h: 1460s # typedef enum { 1460s # /*< private >*/ 1460s # ENUM_VALUE_PRIVATE = 5, 1460s # /*< public >*/ 1460s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1460s # } TestSymbolicEnum; 1460s # 1460s # /tmp/tmp2eniu42t/tmpgocch6xe.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2eniu42t/tmpgocch6xe.template', '/tmp/tmp2eniu42t/tmpuikee90j.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmp2eniu42t/tmpuikee90j.h 1460s # basename: tmpuikee90j.h 1460s # enumeration-production 1460s # EnumName: TestSymbolicEnum 1460s # enum_name: test_symbolic_enum 1460s # ENUMNAME: TEST_SYMBOLIC_ENUM 1460s # ENUMSHORT: SYMBOLIC_ENUM 1460s # ENUMPREFIX: TEST 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: TestSymbolicEnum 1460s # enum_name: test_symbolic_enum 1460s # ENUMNAME: TEST_SYMBOLIC_ENUM 1460s # ENUMSHORT: SYMBOLIC_ENUM 1460s # ENUMPREFIX: TEST 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: ENUM_VALUE_PUBLIC 1460s # valuenick: public 1460s # valuenum: 7 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: TestSymbolicEnum 1460s # enum_name: test_symbolic_enum 1460s # ENUMNAME: TEST_SYMBOLIC_ENUM 1460s # ENUMSHORT: SYMBOLIC_ENUM 1460s # ENUMPREFIX: TEST 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1460s # tmpdir: /tmp/tmpz5q1zv50 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmpz5q1zv50/tmp8wep0kzq.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-tail ***/ 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz5q1zv50/tmp8wep0kzq.template'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # file-tail 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 11 __main__.TestMkenums.test_help 1460s # tmpdir: /tmp/tmpefegkr1i 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # Running: ['/usr/bin/glib-mkenums', '--help'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1460s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1460s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1460s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1460s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1460s # [--output OUTPUT] [--version] 1460s # [args ...] 1460s # 1460s # positional arguments: 1460s # args One or more input files, or a single argument 1460s # @rspfile_path pointing to a file that contains the 1460s # actual arguments 1460s # 1460s # options: 1460s # -h, --help show this help message and exit 1460s # --identifier-prefix IDPREFIX 1460s # Identifier prefix 1460s # --symbol-prefix SYMPREFIX 1460s # Symbol prefix 1460s # --fhead FHEAD Output file header 1460s # --ftail FTAIL Output file footer 1460s # --fprod FPROD Put out TEXT every time a new input file is being 1460s # processed. 1460s # --eprod EPROD Per enum text, produced prior to value iterations 1460s # --vhead VHEAD Value header, produced before iterating over enum 1460s # values 1460s # --vprod VPROD Value text, produced for each enum value. 1460s # --vtail VTAIL Value tail, produced after iterating over enum values 1460s # --comments COMMENT_TMPL 1460s # Comment structure 1460s # --template TEMPLATE Template file 1460s # --output OUTPUT 1460s # --version, -v Print version information 1460s # 1460s # Production text substitutions: 1460s # @EnumName@ PrefixTheXEnum 1460s # @enum_name@ prefix_the_xenum 1460s # @ENUMNAME@ PREFIX_THE_XENUM 1460s # @ENUMSHORT@ THE_XENUM 1460s # @ENUMPREFIX@ PREFIX 1460s # @enumsince@ the user-provided since value given 1460s # @VALUENAME@ PREFIX_THE_XVALUE 1460s # @valuenick@ the-xvalue 1460s # @valuenum@ the integer value (limited support, Since: 2.26) 1460s # @type@ either enum or flags 1460s # @Type@ either Enum or Flags 1460s # @TYPE@ either ENUM or FLAGS 1460s # @filename@ name of current input file 1460s # @basename@ base name of the current input file (Since: 2.22) 1460s ok 12 __main__.TestMkenums.test_no_args 1460s # tmpdir: /tmp/tmptprjh5d3 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # Running: ['/usr/bin/glib-mkenums'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # 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. */ 1460s # 1460s # 1460s # /* Generated data ends here */ 1460s ok 13 __main__.TestMkenums.test_no_headers 1460s # tmpdir: /tmp/tmpo2r_mq2s 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmpo2r_mq2s/tmp5651d9ls.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo2r_mq2s/tmp5651d9ls.template'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 14 __main__.TestMkenums.test_no_nick 1460s # tmpdir: /tmp/tmpq8ie9yqb 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmpq8ie9yqb/tmpwbxe6a2b.h: 1460s # typedef enum { 1460s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1460s # } GeglSamplerType; 1460s # 1460s # /tmp/tmpq8ie9yqb/tmpmp2o367y.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq8ie9yqb/tmpmp2o367y.template', '/tmp/tmpq8ie9yqb/tmpwbxe6a2b.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmpq8ie9yqb/tmpwbxe6a2b.h 1460s # basename: tmpwbxe6a2b.h 1460s # enumeration-production 1460s # EnumName: GeglSamplerType 1460s # enum_name: gegl_sampler_type 1460s # ENUMNAME: GEGL_SAMPLER_TYPE 1460s # ENUMSHORT: SAMPLER_TYPE 1460s # ENUMPREFIX: GEGL 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: GeglSamplerType 1460s # enum_name: gegl_sampler_type 1460s # ENUMNAME: GEGL_SAMPLER_TYPE 1460s # ENUMSHORT: SAMPLER_TYPE 1460s # ENUMPREFIX: GEGL 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: GEGL_SAMPLER_NEAREST 1460s # valuenick: nearest 1460s # valuenum: 0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: GeglSamplerType 1460s # enum_name: gegl_sampler_type 1460s # ENUMNAME: GEGL_SAMPLER_TYPE 1460s # ENUMSHORT: SAMPLER_TYPE 1460s # ENUMPREFIX: GEGL 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1460s # tmpdir: /tmp/tmptxjbri07 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmptxjbri07/tmp4fwila3g.h: 1460s # /* Copyright © La Peña */ 1460s # typedef enum { 1460s # ENUM_VALUE 1460s # } SomeEnumIdentifier; 1460s # 1460s # /tmp/tmptxjbri07/tmpzb3cwwoh.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptxjbri07/tmpzb3cwwoh.template', '/tmp/tmptxjbri07/tmp4fwila3g.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmptxjbri07/tmp4fwila3g.h 1460s # basename: tmp4fwila3g.h 1460s # enumeration-production 1460s # EnumName: SomeEnumIdentifier 1460s # enum_name: some_enum_identifier 1460s # ENUMNAME: SOME_ENUM_IDENTIFIER 1460s # ENUMSHORT: ENUM_IDENTIFIER 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: SomeEnumIdentifier 1460s # enum_name: some_enum_identifier 1460s # ENUMNAME: SOME_ENUM_IDENTIFIER 1460s # ENUMSHORT: ENUM_IDENTIFIER 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: ENUM_VALUE 1460s # valuenick: value 1460s # valuenum: 0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: SomeEnumIdentifier 1460s # enum_name: some_enum_identifier 1460s # ENUMNAME: SOME_ENUM_IDENTIFIER 1460s # ENUMSHORT: ENUM_IDENTIFIER 1460s # ENUMPREFIX: SOME 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 16 __main__.TestMkenums.test_reproducible 1460s # tmpdir: /tmp/tmpvgpe48ie 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmpvgpe48ie/tmpzlhn33jx.template: template 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvgpe48ie/tmpzlhn33jx.template', '/tmp/tmpvgpe48ie/tmp5i3vo4bk1.h', '/tmp/tmpvgpe48ie/tmpla4ty0612.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # 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. */ 1460s # 1460s # 1460s # /* Generated data ends here */ 1460s # /tmp/tmpvgpe48ie/tmpgk8un_3f.template: template 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvgpe48ie/tmpgk8un_3f.template', '/tmp/tmpvgpe48ie/tmpla4ty0612.h', '/tmp/tmpvgpe48ie/tmp5i3vo4bk1.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # 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. */ 1460s # 1460s # 1460s # /* Generated data ends here */ 1460s ok 17 __main__.TestMkenums.test_since 1460s # tmpdir: /tmp/tmp1_og9fd3 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmp1_og9fd3/tmpmzf40d8_.h: 1460s # typedef enum { /*< since=1.0 >*/ 1460s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1460s # } QmiWmsMessageProtocol; 1460s # 1460s # /tmp/tmp1_og9fd3/tmp59365g3s.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1_og9fd3/tmp59365g3s.template', '/tmp/tmp1_og9fd3/tmpmzf40d8_.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmp1_og9fd3/tmpmzf40d8_.h 1460s # basename: tmpmzf40d8_.h 1460s # enumeration-production 1460s # EnumName: QmiWmsMessageProtocol 1460s # enum_name: qmi_wms_message_protocol 1460s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1460s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1460s # ENUMPREFIX: QMI 1460s # enumsince: 1.0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: QmiWmsMessageProtocol 1460s # enum_name: qmi_wms_message_protocol 1460s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1460s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1460s # ENUMPREFIX: QMI 1460s # enumsince: 1.0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1460s # valuenick: cdma 1460s # valuenum: 0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: QmiWmsMessageProtocol 1460s # enum_name: qmi_wms_message_protocol 1460s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1460s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1460s # ENUMPREFIX: QMI 1460s # enumsince: 1.0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1460s ok 18 __main__.TestMkenums.test_with_double_quotes 1460s # tmpdir: /tmp/tmp2k_8m3cb 1460s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1460s # /tmp/tmp2k_8m3cb/tmprwht32gd.h: 1460s # typedef enum { 1460s # FOO_VALUE /*< nick="eek, a comma" >*/ 1460s # } Foo; 1460s # 1460s # /tmp/tmp2k_8m3cb/tmp5wf4knnx.template: 1460s # /*** BEGIN file-header ***/ 1460s # file-header 1460s # /*** END file-header ***/ 1460s # 1460s # /*** BEGIN file-production ***/ 1460s # file-production 1460s # filename: @filename@ 1460s # basename: @basename@ 1460s # /*** END file-production ***/ 1460s # 1460s # /*** BEGIN enumeration-production ***/ 1460s # enumeration-production 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END enumeration-production ***/ 1460s # 1460s # /*** BEGIN value-header ***/ 1460s # value-header 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-header ***/ 1460s # 1460s # /*** BEGIN value-production ***/ 1460s # value-production 1460s # VALUENAME: @VALUENAME@ 1460s # valuenick: @valuenick@ 1460s # valuenum: @valuenum@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-production ***/ 1460s # 1460s # /*** BEGIN value-tail ***/ 1460s # value-tail 1460s # EnumName: @EnumName@ 1460s # enum_name: @enum_name@ 1460s # ENUMNAME: @ENUMNAME@ 1460s # ENUMSHORT: @ENUMSHORT@ 1460s # ENUMPREFIX: @ENUMPREFIX@ 1460s # enumsince: @enumsince@ 1460s # type: @type@ 1460s # Type: @Type@ 1460s # TYPE: @TYPE@ 1460s # /*** END value-tail ***/ 1460s # 1460s # /*** BEGIN comment ***/ 1460s # comment 1460s # comment: @comment@ 1460s # /*** END comment ***/ 1460s # 1460s # /*** BEGIN file-tail ***/ 1460s # file-tail 1460s # /*** END file-tail ***/ 1460s # 1460s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2k_8m3cb/tmp5wf4knnx.template', '/tmp/tmp2k_8m3cb/tmprwht32gd.h'] 1460s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: comment 1460s # 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. 1460s # 1460s # 1460s # file-header 1460s # file-production 1460s # filename: /tmp/tmp2k_8m3cb/tmprwht32gd.h 1460s # basename: tmprwht32gd.h 1460s # enumeration-production 1460s # EnumName: Foo 1460s # enum_name: foo_ 1460s # ENUMNAME: FOO_ 1460s # ENUMSHORT: 1460s # ENUMPREFIX: FOO 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-header 1460s # EnumName: Foo 1460s # enum_name: foo_ 1460s # ENUMNAME: FOO_ 1460s # ENUMSHORT: 1460s # ENUMPREFIX: FOO 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-production 1460s # VALUENAME: FOO_VALUE 1460s # valuenick: eek, a comma 1460s # valuenum: 0 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # value-tail 1460s # EnumName: Foo 1460s # enum_name: foo_ 1460s # ENUMNAME: FOO_ 1460s # ENUMSHORT: 1460s # ENUMPREFIX: FOO 1460s # enumsince: 1460s # type: enum 1460s # Type: Enum 1460s # TYPE: ENUM 1460s # file-tail 1460s # 1460s # comment 1460s # comment: Generated data ends here 1461s ok 19 __main__.TestRspMkenums.test_available_in 1461s # tmpdir: /tmp/tmptg3cedxu 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmptg3cedxu/tmpew1wb3yu.h: 1461s # typedef enum { 1461s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1461s # } GDBusServerFlags; 1461s # 1461s # /tmp/tmptg3cedxu/tmpddn36r__.template: 1461s # /*** BEGIN file-header ***/ 1461s # file-header 1461s # /*** END file-header ***/ 1461s # 1461s # /*** BEGIN file-production ***/ 1461s # file-production 1461s # filename: @filename@ 1461s # basename: @basename@ 1461s # /*** END file-production ***/ 1461s # 1461s # /*** BEGIN enumeration-production ***/ 1461s # enumeration-production 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END enumeration-production ***/ 1461s # 1461s # /*** BEGIN value-header ***/ 1461s # value-header 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-header ***/ 1461s # 1461s # /*** BEGIN value-production ***/ 1461s # value-production 1461s # VALUENAME: @VALUENAME@ 1461s # valuenick: @valuenick@ 1461s # valuenum: @valuenum@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-production ***/ 1461s # 1461s # /*** BEGIN value-tail ***/ 1461s # value-tail 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-tail ***/ 1461s # 1461s # /*** BEGIN comment ***/ 1461s # comment 1461s # comment: @comment@ 1461s # /*** END comment ***/ 1461s # 1461s # /*** BEGIN file-tail ***/ 1461s # file-tail 1461s # /*** END file-tail ***/ 1461s # 1461s # Response file contains: --template /tmp/tmptg3cedxu/tmpddn36r__.template /tmp/tmptg3cedxu/tmpew1wb3yu.h 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptg3cedxu/tmpmj1imta1'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: comment 1461s # 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. 1461s # 1461s # 1461s # file-header 1461s # file-production 1461s # filename: /tmp/tmptg3cedxu/tmpew1wb3yu.h 1461s # basename: tmpew1wb3yu.h 1461s # enumeration-production 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-header 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-production 1461s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1461s # valuenick: user 1461s # valuenum: 4 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-tail 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # file-tail 1461s # 1461s # comment 1461s # comment: Generated data ends here 1461s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1461s # tmpdir: /tmp/tmp8x2j0121 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmp8x2j0121/tmpt5v9gb3l.h: 1461s # typedef enum { 1461s # ENUM_VALUE_WITH_COMMA = ',', 1461s # } TestCommaEnum; 1461s # 1461s # /tmp/tmp8x2j0121/tmpowog6k1o.template: 1461s # /*** BEGIN file-header ***/ 1461s # file-header 1461s # /*** END file-header ***/ 1461s # 1461s # /*** BEGIN file-production ***/ 1461s # file-production 1461s # filename: @filename@ 1461s # basename: @basename@ 1461s # /*** END file-production ***/ 1461s # 1461s # /*** BEGIN enumeration-production ***/ 1461s # enumeration-production 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END enumeration-production ***/ 1461s # 1461s # /*** BEGIN value-header ***/ 1461s # value-header 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-header ***/ 1461s # 1461s # /*** BEGIN value-production ***/ 1461s # value-production 1461s # VALUENAME: @VALUENAME@ 1461s # valuenick: @valuenick@ 1461s # valuenum: @valuenum@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-production ***/ 1461s # 1461s # /*** BEGIN value-tail ***/ 1461s # value-tail 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-tail ***/ 1461s # 1461s # /*** BEGIN comment ***/ 1461s # comment 1461s # comment: @comment@ 1461s # /*** END comment ***/ 1461s # 1461s # /*** BEGIN file-tail ***/ 1461s # file-tail 1461s # /*** END file-tail ***/ 1461s # 1461s # Response file contains: --template /tmp/tmp8x2j0121/tmpowog6k1o.template /tmp/tmp8x2j0121/tmpt5v9gb3l.h 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8x2j0121/tmpp8yxiuck'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: comment 1461s # 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. 1461s # 1461s # 1461s # file-header 1461s # file-production 1461s # filename: /tmp/tmp8x2j0121/tmpt5v9gb3l.h 1461s # basename: tmpt5v9gb3l.h 1461s # enumeration-production 1461s # EnumName: TestCommaEnum 1461s # enum_name: test_comma_enum 1461s # ENUMNAME: TEST_COMMA_ENUM 1461s # ENUMSHORT: COMMA_ENUM 1461s # ENUMPREFIX: TEST 1461s # enumsince: 1461s # type: enum 1461s # Type: Enum 1461s # TYPE: ENUM 1461s # value-header 1461s # EnumName: TestCommaEnum 1461s # enum_name: test_comma_enum 1461s # ENUMNAME: TEST_COMMA_ENUM 1461s # ENUMSHORT: COMMA_ENUM 1461s # ENUMPREFIX: TEST 1461s # enumsince: 1461s # type: enum 1461s # Type: Enum 1461s # TYPE: ENUM 1461s # value-production 1461s # VALUENAME: ENUM_VALUE_WITH_COMMA 1461s # valuenick: comma 1461s # valuenum: 44 1461s # type: enum 1461s # Type: Enum 1461s # TYPE: ENUM 1461s # value-tail 1461s # EnumName: TestCommaEnum 1461s # enum_name: test_comma_enum 1461s # ENUMNAME: TEST_COMMA_ENUM 1461s # ENUMSHORT: COMMA_ENUM 1461s # ENUMPREFIX: TEST 1461s # enumsince: 1461s # type: enum 1461s # Type: Enum 1461s # TYPE: ENUM 1461s # file-tail 1461s # 1461s # comment 1461s # comment: Generated data ends here 1461s ok 21 __main__.TestRspMkenums.test_deprecated_in 1461s # tmpdir: /tmp/tmp1nuv72di 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmp1nuv72di/tmpkpaxsvgc.h: 1461s # typedef enum { 1461s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1461s # } GDBusServerFlags; 1461s # 1461s # /tmp/tmp1nuv72di/tmp2bpl399t.template: 1461s # /*** BEGIN file-header ***/ 1461s # file-header 1461s # /*** END file-header ***/ 1461s # 1461s # /*** BEGIN file-production ***/ 1461s # file-production 1461s # filename: @filename@ 1461s # basename: @basename@ 1461s # /*** END file-production ***/ 1461s # 1461s # /*** BEGIN enumeration-production ***/ 1461s # enumeration-production 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END enumeration-production ***/ 1461s # 1461s # /*** BEGIN value-header ***/ 1461s # value-header 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-header ***/ 1461s # 1461s # /*** BEGIN value-production ***/ 1461s # value-production 1461s # VALUENAME: @VALUENAME@ 1461s # valuenick: @valuenick@ 1461s # valuenum: @valuenum@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-production ***/ 1461s # 1461s # /*** BEGIN value-tail ***/ 1461s # value-tail 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-tail ***/ 1461s # 1461s # /*** BEGIN comment ***/ 1461s # comment 1461s # comment: @comment@ 1461s # /*** END comment ***/ 1461s # 1461s # /*** BEGIN file-tail ***/ 1461s # file-tail 1461s # /*** END file-tail ***/ 1461s # 1461s # Response file contains: --template /tmp/tmp1nuv72di/tmp2bpl399t.template /tmp/tmp1nuv72di/tmpkpaxsvgc.h 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1nuv72di/tmpvwpnmuot'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: comment 1461s # 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. 1461s # 1461s # 1461s # file-header 1461s # file-production 1461s # filename: /tmp/tmp1nuv72di/tmpkpaxsvgc.h 1461s # basename: tmpkpaxsvgc.h 1461s # enumeration-production 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-header 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-production 1461s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1461s # valuenick: user 1461s # valuenum: 4 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-tail 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # file-tail 1461s # 1461s # comment 1461s # comment: Generated data ends here 1461s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1461s # tmpdir: /tmp/tmpfcrlwgrc 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmpfcrlwgrc/tmpsn0jtt_w.h: 1461s # typedef enum { 1461s # 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) 1461s # } GDBusServerFlags; 1461s # 1461s # /tmp/tmpfcrlwgrc/tmpjk0gwklc.template: 1461s # /*** BEGIN file-header ***/ 1461s # file-header 1461s # /*** END file-header ***/ 1461s # 1461s # /*** BEGIN file-production ***/ 1461s # file-production 1461s # filename: @filename@ 1461s # basename: @basename@ 1461s # /*** END file-production ***/ 1461s # 1461s # /*** BEGIN enumeration-production ***/ 1461s # enumeration-production 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END enumeration-production ***/ 1461s # 1461s # /*** BEGIN value-header ***/ 1461s # value-header 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-header ***/ 1461s # 1461s # /*** BEGIN value-production ***/ 1461s # value-production 1461s # VALUENAME: @VALUENAME@ 1461s # valuenick: @valuenick@ 1461s # valuenum: @valuenum@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-production ***/ 1461s # 1461s # /*** BEGIN value-tail ***/ 1461s # value-tail 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-tail ***/ 1461s # 1461s # /*** BEGIN comment ***/ 1461s # comment 1461s # comment: @comment@ 1461s # /*** END comment ***/ 1461s # 1461s # /*** BEGIN file-tail ***/ 1461s # file-tail 1461s # /*** END file-tail ***/ 1461s # 1461s # Response file contains: --template /tmp/tmpfcrlwgrc/tmpjk0gwklc.template /tmp/tmpfcrlwgrc/tmpsn0jtt_w.h 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfcrlwgrc/tmp7w55_fg1'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: comment 1461s # 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. 1461s # 1461s # 1461s # file-header 1461s # file-production 1461s # filename: /tmp/tmpfcrlwgrc/tmpsn0jtt_w.h 1461s # basename: tmpsn0jtt_w.h 1461s # enumeration-production 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-header 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-production 1461s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1461s # valuenick: user 1461s # valuenum: 4 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # value-tail 1461s # EnumName: GDBusServerFlags 1461s # enum_name: g_dbus_server_flags 1461s # ENUMNAME: G_DBUS_SERVER_FLAGS 1461s # ENUMSHORT: DBUS_SERVER_FLAGS 1461s # ENUMPREFIX: G 1461s # enumsince: 1461s # type: flags 1461s # Type: Flags 1461s # TYPE: FLAGS 1461s # file-tail 1461s # 1461s # comment 1461s # comment: Generated data ends here 1461s ok 23 __main__.TestRspMkenums.test_empty_header 1461s # tmpdir: /tmp/tmp0ai0umq9 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmp0ai0umq9/tmpkxfe4pum.h: 1461s # /tmp/tmp0ai0umq9/tmpw5pvsd0f.template: 1461s # /*** BEGIN file-header ***/ 1461s # file-header 1461s # /*** END file-header ***/ 1461s # 1461s # /*** BEGIN file-production ***/ 1461s # file-production 1461s # filename: @filename@ 1461s # basename: @basename@ 1461s # /*** END file-production ***/ 1461s # 1461s # /*** BEGIN enumeration-production ***/ 1461s # enumeration-production 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END enumeration-production ***/ 1461s # 1461s # /*** BEGIN value-header ***/ 1461s # value-header 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-header ***/ 1461s # 1461s # /*** BEGIN value-production ***/ 1461s # value-production 1461s # VALUENAME: @VALUENAME@ 1461s # valuenick: @valuenick@ 1461s # valuenum: @valuenum@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-production ***/ 1461s # 1461s # /*** BEGIN value-tail ***/ 1461s # value-tail 1461s # EnumName: @EnumName@ 1461s # enum_name: @enum_name@ 1461s # ENUMNAME: @ENUMNAME@ 1461s # ENUMSHORT: @ENUMSHORT@ 1461s # ENUMPREFIX: @ENUMPREFIX@ 1461s # enumsince: @enumsince@ 1461s # type: @type@ 1461s # Type: @Type@ 1461s # TYPE: @TYPE@ 1461s # /*** END value-tail ***/ 1461s # 1461s # /*** BEGIN comment ***/ 1461s # comment 1461s # comment: @comment@ 1461s # /*** END comment ***/ 1461s # 1461s # /*** BEGIN file-tail ***/ 1461s # file-tail 1461s # /*** END file-tail ***/ 1461s # 1461s # Response file contains: --template /tmp/tmp0ai0umq9/tmpw5pvsd0f.template /tmp/tmp0ai0umq9/tmpkxfe4pum.h 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0ai0umq9/tmpfmtrodee'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: comment 1461s # 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. 1461s # 1461s # 1461s # file-header 1461s # file-tail 1461s # 1461s # comment 1461s # comment: Generated data ends here 1461s ok 24 __main__.TestRspMkenums.test_empty_template 1461s # tmpdir: /tmp/tmpurfty6z_ 1461s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1461s # /tmp/tmpurfty6z_/tmpusu5cotn.template: 1461s # Response file contains: --template /tmp/tmpurfty6z_/tmpusu5cotn.template 1461s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpurfty6z_/tmpm297s3_y'] 1461s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # 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. */ 1461s # 1461s # 1461s # /* Generated data ends here */ 1462s ok 25 __main__.TestRspMkenums.test_enum_name 1462s # tmpdir: /tmp/tmp_4vtk4xp 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmp_4vtk4xp/tmp900tgrrx.h: 1462s # typedef enum _SomeEnumIdentifier { 1462s # ENUM_VALUE 1462s # } SomeEnumIdentifier; 1462s # 1462s # /tmp/tmp_4vtk4xp/tmpgb_38iba.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp_4vtk4xp/tmpgb_38iba.template /tmp/tmp_4vtk4xp/tmp900tgrrx.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_4vtk4xp/tmpzstff1s_'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp_4vtk4xp/tmp900tgrrx.h 1462s # basename: tmp900tgrrx.h 1462s # enumeration-production 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: ENUM_VALUE 1462s # valuenick: value 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 26 __main__.TestRspMkenums.test_enum_private_public 1462s # tmpdir: /tmp/tmp774h_mgv 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmp774h_mgv/tmpl6npokxe.h: 1462s # typedef enum { 1462s # ENUM_VALUE_PUBLIC1, 1462s # /*< private >*/ 1462s # ENUM_VALUE_PRIVATE, 1462s # } SomeEnumA 1462s # 1462s # /tmp/tmp774h_mgv/tmp511zlosv.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp774h_mgv/tmp511zlosv.template /tmp/tmp774h_mgv/tmpl6npokxe.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp774h_mgv/tmp0ft5ltsv'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp774h_mgv/tmpl6npokxe.h 1462s # basename: tmpl6npokxe.h 1462s # enumeration-production 1462s # EnumName: SomeEnumA 1462s # enum_name: some_enum_a 1462s # ENUMNAME: SOME_ENUM_A 1462s # ENUMSHORT: ENUM_A 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: SomeEnumA 1462s # enum_name: some_enum_a 1462s # ENUMNAME: SOME_ENUM_A 1462s # ENUMSHORT: ENUM_A 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: ENUM_VALUE_PUBLIC1 1462s # valuenick: public1 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: SomeEnumA 1462s # enum_name: some_enum_a 1462s # ENUMNAME: SOME_ENUM_A 1462s # ENUMSHORT: ENUM_A 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s # /tmp/tmp774h_mgv/tmp_wgu8yhw.h: 1462s # typedef enum { 1462s # /*< private >*/ 1462s # ENUM_VALUE_PRIVATE, 1462s # /*< public >*/ 1462s # ENUM_VALUE_PUBLIC2, 1462s # } SomeEnumB; 1462s # 1462s # /tmp/tmp774h_mgv/tmp1m_x3ov6.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp774h_mgv/tmp1m_x3ov6.template /tmp/tmp774h_mgv/tmp_wgu8yhw.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp774h_mgv/tmp84wddxx6'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp774h_mgv/tmp_wgu8yhw.h 1462s # basename: tmp_wgu8yhw.h 1462s # enumeration-production 1462s # EnumName: SomeEnumB 1462s # enum_name: some_enum_b 1462s # ENUMNAME: SOME_ENUM_B 1462s # ENUMSHORT: ENUM_B 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: SomeEnumB 1462s # enum_name: some_enum_b 1462s # ENUMNAME: SOME_ENUM_B 1462s # ENUMSHORT: ENUM_B 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: ENUM_VALUE_PUBLIC2 1462s # valuenick: public2 1462s # valuenum: 1 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: SomeEnumB 1462s # enum_name: some_enum_b 1462s # ENUMNAME: SOME_ENUM_B 1462s # ENUMSHORT: ENUM_B 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1462s # tmpdir: /tmp/tmp80xf9hcg 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmp80xf9hcg/tmptm84qvhd.h: 1462s # typedef enum { 1462s # /*< private >*/ 1462s # ENUM_VALUE_PRIVATE = 5, 1462s # /*< public >*/ 1462s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1462s # } TestSymbolicEnum; 1462s # 1462s # /tmp/tmp80xf9hcg/tmp94i0zg5r.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp80xf9hcg/tmp94i0zg5r.template /tmp/tmp80xf9hcg/tmptm84qvhd.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp80xf9hcg/tmpewuzj_gc'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp80xf9hcg/tmptm84qvhd.h 1462s # basename: tmptm84qvhd.h 1462s # enumeration-production 1462s # EnumName: TestSymbolicEnum 1462s # enum_name: test_symbolic_enum 1462s # ENUMNAME: TEST_SYMBOLIC_ENUM 1462s # ENUMSHORT: SYMBOLIC_ENUM 1462s # ENUMPREFIX: TEST 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: TestSymbolicEnum 1462s # enum_name: test_symbolic_enum 1462s # ENUMNAME: TEST_SYMBOLIC_ENUM 1462s # ENUMSHORT: SYMBOLIC_ENUM 1462s # ENUMPREFIX: TEST 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: ENUM_VALUE_PUBLIC 1462s # valuenick: public 1462s # valuenum: 7 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: TestSymbolicEnum 1462s # enum_name: test_symbolic_enum 1462s # ENUMNAME: TEST_SYMBOLIC_ENUM 1462s # ENUMSHORT: SYMBOLIC_ENUM 1462s # ENUMPREFIX: TEST 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1462s # tmpdir: /tmp/tmpne5nwvza 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmpne5nwvza/tmp23iulvdt.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-tail ***/ 1462s # Response file contains: --template /tmp/tmpne5nwvza/tmp23iulvdt.template 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpne5nwvza/tmpxb7hdzet'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # file-tail 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 29 __main__.TestRspMkenums.test_help 1462s # tmpdir: /tmp/tmpvbofuqv3 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # Response file contains: --help 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvbofuqv3/tmp2r73zlvq'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1462s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1462s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1462s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1462s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1462s # [--output OUTPUT] [--version] 1462s # [args ...] 1462s # 1462s # positional arguments: 1462s # args One or more input files, or a single argument 1462s # @rspfile_path pointing to a file that contains the 1462s # actual arguments 1462s # 1462s # options: 1462s # -h, --help show this help message and exit 1462s # --identifier-prefix IDPREFIX 1462s # Identifier prefix 1462s # --symbol-prefix SYMPREFIX 1462s # Symbol prefix 1462s # --fhead FHEAD Output file header 1462s # --ftail FTAIL Output file footer 1462s # --fprod FPROD Put out TEXT every time a new input file is being 1462s # processed. 1462s # --eprod EPROD Per enum text, produced prior to value iterations 1462s # --vhead VHEAD Value header, produced before iterating over enum 1462s # values 1462s # --vprod VPROD Value text, produced for each enum value. 1462s # --vtail VTAIL Value tail, produced after iterating over enum values 1462s # --comments COMMENT_TMPL 1462s # Comment structure 1462s # --template TEMPLATE Template file 1462s # --output OUTPUT 1462s # --version, -v Print version information 1462s # 1462s # Production text substitutions: 1462s # @EnumName@ PrefixTheXEnum 1462s # @enum_name@ prefix_the_xenum 1462s # @ENUMNAME@ PREFIX_THE_XENUM 1462s # @ENUMSHORT@ THE_XENUM 1462s # @ENUMPREFIX@ PREFIX 1462s # @enumsince@ the user-provided since value given 1462s # @VALUENAME@ PREFIX_THE_XVALUE 1462s # @valuenick@ the-xvalue 1462s # @valuenum@ the integer value (limited support, Since: 2.26) 1462s # @type@ either enum or flags 1462s # @Type@ either Enum or Flags 1462s # @TYPE@ either ENUM or FLAGS 1462s # @filename@ name of current input file 1462s # @basename@ base name of the current input file (Since: 2.22) 1462s ok 30 __main__.TestRspMkenums.test_no_args 1462s # tmpdir: /tmp/tmpfarvqdel 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # Response file contains: 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfarvqdel/tmpioba65yh'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # 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. */ 1462s # 1462s # 1462s # /* Generated data ends here */ 1462s ok 31 __main__.TestRspMkenums.test_no_headers 1462s # tmpdir: /tmp/tmpx45biokl 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmpx45biokl/tmpthhg9quv.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmpx45biokl/tmpthhg9quv.template 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx45biokl/tmpxcwabtjf'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 32 __main__.TestRspMkenums.test_no_nick 1462s # tmpdir: /tmp/tmpsqx9vv17 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmpsqx9vv17/tmp59pmi3gh.h: 1462s # typedef enum { 1462s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1462s # } GeglSamplerType; 1462s # 1462s # /tmp/tmpsqx9vv17/tmpb_m6atyf.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmpsqx9vv17/tmpb_m6atyf.template /tmp/tmpsqx9vv17/tmp59pmi3gh.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsqx9vv17/tmptt_cuogx'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmpsqx9vv17/tmp59pmi3gh.h 1462s # basename: tmp59pmi3gh.h 1462s # enumeration-production 1462s # EnumName: GeglSamplerType 1462s # enum_name: gegl_sampler_type 1462s # ENUMNAME: GEGL_SAMPLER_TYPE 1462s # ENUMSHORT: SAMPLER_TYPE 1462s # ENUMPREFIX: GEGL 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: GeglSamplerType 1462s # enum_name: gegl_sampler_type 1462s # ENUMNAME: GEGL_SAMPLER_TYPE 1462s # ENUMSHORT: SAMPLER_TYPE 1462s # ENUMPREFIX: GEGL 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: GEGL_SAMPLER_NEAREST 1462s # valuenick: nearest 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: GeglSamplerType 1462s # enum_name: gegl_sampler_type 1462s # ENUMNAME: GEGL_SAMPLER_TYPE 1462s # ENUMSHORT: SAMPLER_TYPE 1462s # ENUMPREFIX: GEGL 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1462s # tmpdir: /tmp/tmp45pv6dgm 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmp45pv6dgm/tmpwdrwck97.h: 1462s # /* Copyright © La Peña */ 1462s # typedef enum { 1462s # ENUM_VALUE 1462s # } SomeEnumIdentifier; 1462s # 1462s # /tmp/tmp45pv6dgm/tmptnnu96h6.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp45pv6dgm/tmptnnu96h6.template /tmp/tmp45pv6dgm/tmpwdrwck97.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp45pv6dgm/tmpym5gm_4t'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp45pv6dgm/tmpwdrwck97.h 1462s # basename: tmpwdrwck97.h 1462s # enumeration-production 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: ENUM_VALUE 1462s # valuenick: value 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: SomeEnumIdentifier 1462s # enum_name: some_enum_identifier 1462s # ENUMNAME: SOME_ENUM_IDENTIFIER 1462s # ENUMSHORT: ENUM_IDENTIFIER 1462s # ENUMPREFIX: SOME 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 34 __main__.TestRspMkenums.test_reproducible 1462s # tmpdir: /tmp/tmpe3zstj70 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmpe3zstj70/tmp0rquimcg.template: template 1462s # Response file contains: --template /tmp/tmpe3zstj70/tmp0rquimcg.template /tmp/tmpe3zstj70/tmpsqt_9vca1.h /tmp/tmpe3zstj70/tmpjf8cn8ls2.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe3zstj70/tmpc88uxx2o'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # 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. */ 1462s # 1462s # 1462s # /* Generated data ends here */ 1462s # /tmp/tmpe3zstj70/tmpmu66n2qg.template: template 1462s # Response file contains: --template /tmp/tmpe3zstj70/tmpmu66n2qg.template /tmp/tmpe3zstj70/tmpjf8cn8ls2.h /tmp/tmpe3zstj70/tmpsqt_9vca1.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe3zstj70/tmp3gvbv1t6'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # 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. */ 1462s # 1462s # 1462s # /* Generated data ends here */ 1462s ok 35 __main__.TestRspMkenums.test_since 1462s # tmpdir: /tmp/tmpmhlf6y4g 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmpmhlf6y4g/tmp4h1dish7.h: 1462s # typedef enum { /*< since=1.0 >*/ 1462s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1462s # } QmiWmsMessageProtocol; 1462s # 1462s # /tmp/tmpmhlf6y4g/tmp1of39u3t.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmpmhlf6y4g/tmp1of39u3t.template /tmp/tmpmhlf6y4g/tmp4h1dish7.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmhlf6y4g/tmplwbwdqjp'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmpmhlf6y4g/tmp4h1dish7.h 1462s # basename: tmp4h1dish7.h 1462s # enumeration-production 1462s # EnumName: QmiWmsMessageProtocol 1462s # enum_name: qmi_wms_message_protocol 1462s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1462s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1462s # ENUMPREFIX: QMI 1462s # enumsince: 1.0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: QmiWmsMessageProtocol 1462s # enum_name: qmi_wms_message_protocol 1462s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1462s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1462s # ENUMPREFIX: QMI 1462s # enumsince: 1.0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1462s # valuenick: cdma 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: QmiWmsMessageProtocol 1462s # enum_name: qmi_wms_message_protocol 1462s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1462s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1462s # ENUMPREFIX: QMI 1462s # enumsince: 1.0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1462s # tmpdir: /tmp/tmp9kh1ci1b 1462s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1462s # /tmp/tmp9kh1ci1b/tmp0w29sy55.h: 1462s # typedef enum { 1462s # FOO_VALUE /*< nick="eek, a comma" >*/ 1462s # } Foo; 1462s # 1462s # /tmp/tmp9kh1ci1b/tmp8dzxd9s_.template: 1462s # /*** BEGIN file-header ***/ 1462s # file-header 1462s # /*** END file-header ***/ 1462s # 1462s # /*** BEGIN file-production ***/ 1462s # file-production 1462s # filename: @filename@ 1462s # basename: @basename@ 1462s # /*** END file-production ***/ 1462s # 1462s # /*** BEGIN enumeration-production ***/ 1462s # enumeration-production 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END enumeration-production ***/ 1462s # 1462s # /*** BEGIN value-header ***/ 1462s # value-header 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-header ***/ 1462s # 1462s # /*** BEGIN value-production ***/ 1462s # value-production 1462s # VALUENAME: @VALUENAME@ 1462s # valuenick: @valuenick@ 1462s # valuenum: @valuenum@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-production ***/ 1462s # 1462s # /*** BEGIN value-tail ***/ 1462s # value-tail 1462s # EnumName: @EnumName@ 1462s # enum_name: @enum_name@ 1462s # ENUMNAME: @ENUMNAME@ 1462s # ENUMSHORT: @ENUMSHORT@ 1462s # ENUMPREFIX: @ENUMPREFIX@ 1462s # enumsince: @enumsince@ 1462s # type: @type@ 1462s # Type: @Type@ 1462s # TYPE: @TYPE@ 1462s # /*** END value-tail ***/ 1462s # 1462s # /*** BEGIN comment ***/ 1462s # comment 1462s # comment: @comment@ 1462s # /*** END comment ***/ 1462s # 1462s # /*** BEGIN file-tail ***/ 1462s # file-tail 1462s # /*** END file-tail ***/ 1462s # 1462s # Response file contains: --template /tmp/tmp9kh1ci1b/tmp8dzxd9s_.template /tmp/tmp9kh1ci1b/tmp0w29sy55.h 1462s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9kh1ci1b/tmppcay0m7z'] 1462s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: comment 1462s # 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. 1462s # 1462s # 1462s # file-header 1462s # file-production 1462s # filename: /tmp/tmp9kh1ci1b/tmp0w29sy55.h 1462s # basename: tmp0w29sy55.h 1462s # enumeration-production 1462s # EnumName: Foo 1462s # enum_name: foo_ 1462s # ENUMNAME: FOO_ 1462s # ENUMSHORT: 1462s # ENUMPREFIX: FOO 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-header 1462s # EnumName: Foo 1462s # enum_name: foo_ 1462s # ENUMNAME: FOO_ 1462s # ENUMSHORT: 1462s # ENUMPREFIX: FOO 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-production 1462s # VALUENAME: FOO_VALUE 1462s # valuenick: eek, a comma 1462s # valuenum: 0 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # value-tail 1462s # EnumName: Foo 1462s # enum_name: foo_ 1462s # ENUMNAME: FOO_ 1462s # ENUMSHORT: 1462s # ENUMPREFIX: FOO 1462s # enumsince: 1462s # type: enum 1462s # Type: Enum 1462s # TYPE: ENUM 1462s # file-tail 1462s # 1462s # comment 1462s # comment: Generated data ends here 1462s 1..36 1462s ok - glib/mkenums.py.test 1462s # Running test: glib/markup.test 1462s TAP version 14 1462s # random seed: R02S7d0fec984803a28f8b307d888b862bdf 1462s 1..1 1462s # Start of markup tests 1462s ok 1 /markup/stack 1462s # End of markup tests 1462s ok - glib/markup.test 1462s # Running test: glib/cxx-2b.test 1462s TAP version 14 1462s # random seed: R02Sb4015d71bc2645fe993543b76866a585 1462s 1..2 1462s # Start of gtask tests 1462s # 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. 1462s ok 1 /gtask/name 1462s # Start of name tests 1462s # 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. 1462s ok 2 /gtask/name/macro-wrapper 1462s # End of name tests 1462s # End of gtask tests 1462s ok - glib/cxx-2b.test 1462s # Running test: glib/utf8-misc.test 1462s TAP version 14 1462s # random seed: R02Sf6ccf153c62ab4e1d9ace10cb59f87f8 1462s 1..7 1462s # Start of utf8 tests 1462s ok 1 /utf8/strlen 1462s ok 2 /utf8/strncpy 1462s ok 3 /utf8/strrchr 1462s ok 4 /utf8/reverse 1462s ok 5 /utf8/substring 1462s ok 6 /utf8/make-valid 1462s ok 7 /utf8/truncate-middle 1462s # End of utf8 tests 1462s ok - glib/utf8-misc.test 1462s # Running test: glib/keyfile.test 1462s TAP version 14 1462s # random seed: R02Sbee1863dcf1de5e943bd7a4ea6b4aa15 1462s 1..36 1462s # Start of keyfile tests 1462s ok 1 /keyfile/line-ends 1462s ok 2 /keyfile/whitespace 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1462s ok 3 /keyfile/comments 1462s ok 4 /keyfile/listing 1462s ok 5 /keyfile/string 1462s ok 6 /keyfile/boolean 1462s ok 7 /keyfile/number 1462s ok 8 /keyfile/locale-string 1462s ok 9 /keyfile/lists 1462s ok 10 /keyfile/lists-set-get 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1462s ok 11 /keyfile/group-remove 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1462s ok 12 /keyfile/key-remove 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1462s ok 13 /keyfile/groups 1462s ok 14 /keyfile/duplicate-keys 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1462s ok 15 /keyfile/duplicate-groups 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1462s ok 16 /keyfile/duplicate-groups2 1462s ok 17 /keyfile/group-names 1462s ok 18 /keyfile/key-names 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1462s ok 19 /keyfile/reload 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1462s ok 20 /keyfile/int64 1462s ok 21 /keyfile/load 1462s ok 22 /keyfile/save 1462s ok 23 /keyfile/load-fail 1462s ok 24 /keyfile/non-utf8 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1462s ok 25 /keyfile/page-boundary 1462s ok 26 /keyfile/ref 1462s ok 27 /keyfile/replace-value 1462s ok 28 /keyfile/list-separator 1462s ok 29 /keyfile/empty-string 1462s ok 30 /keyfile/limbo 1462s # Testing invalid encoding ?non-UTF-8? 1462s # Testing invalid encoding ?UTF? 1462s # Testing invalid encoding ?UTF-9? 1462s ok 31 /keyfile/utf8 1462s ok 32 /keyfile/roundtrip 1462s ok 33 /keyfile/bytes 1462s ok 34 /keyfile/get-locale 1462s ok 35 /keyfile/free-when-not-last-ref 1462s # Start of locale-string tests 1462s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1462s ok 36 /keyfile/locale-string/multiple-loads 1462s # End of locale-string tests 1462s # End of keyfile tests 1462s ok - glib/keyfile.test 1462s # Running test: glib/gdbus-proxy-well-known-name.test 1462s TAP version 14 1462s # random seed: R02Sbfb4f4183666faf0d2d8072b3c20738d 1462s 1..1 1462s # Start of gdbus tests 1462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/home 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/cache 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/system-config2 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/config 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/system-data2 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/data 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/state 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_F0YMZ2/gdbus/proxy-well-known-name/.dirs/runtime 1462s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1462s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1462s ok 1 /gdbus/proxy-well-known-name 1462s # End of gdbus tests 1462s ok - glib/gdbus-proxy-well-known-name.test 1462s # Running test: glib/static-link.test 1462s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1462s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1462s and make sure you have glib build dependencies installed, including 1462s meson. 1462s ok # SKIP - glib/static-link.test 1462s # Running test: glib/autoptr-gio.test 1462s TAP version 14 1462s # random seed: R02S45073ef942c3c55420e7073badd777ce 1462s 1..1 1462s # Start of autoptr tests 1462s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1462s ok 1 /autoptr/autoptr 1462s # End of autoptr tests 1462s ok - glib/autoptr-gio.test 1462s # Running test: glib/spawn-test.test 1462s TAP version 14 1462s # random seed: R02Sf3ce0ae863b0c111ab0ff077dd726f9b 1462s 1..2 1462s # Start of spawn tests 1462s ok 1 /spawn/basics 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1462s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1462s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1462s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1462s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1462s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1462s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1462s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1462s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1462s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1462s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1462s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1462s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1462s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1462s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1462s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1462s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1462s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1462s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1462s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1462s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1462s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1462s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1462s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1462s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1462s # Fetching GSpawn result with stdin open, stdout open, stderr open 1462s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1462s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1462s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1462s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1462s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1462s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1462s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1462s ok 2 /spawn/stdio-overwrite 1462s # End of spawn tests 1462s ok - glib/spawn-test.test 1462s # Running test: glib/search-utils.test 1462s TAP version 14 1462s # random seed: R02Sa7bb3c1ae2a5d966d1c2d710d890439a 1462s # GLib-DEBUG: Current user locale: C.UTF-8 1462s 1..6 1462s # Start of search tests 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1462s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1462s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1462s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1462s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1462s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1462s ok 1 /search/basic 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1462s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1462s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1462s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1462s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1462s ok 2 /search/composed 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1462s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1462s ok 3 /search/decomposed 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1462s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1462s ok 4 /search/turkish 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1462s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1462s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1462s ok 5 /search/c_locale_unicode 1462s # GLib-DEBUG: Started 1462s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1462s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1462s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1462s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1462s ok 6 /search/multi_words 1462s # End of search tests 1462s ok - glib/search-utils.test 1462s # Running test: glib/appmonitor.test 1462s TAP version 14 1462s # random seed: R02S4e3c5178aea5e326f2fbbdda67969cac 1462s 1..1 1462s # Start of monitor tests 1462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/home 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/cache 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/system-config2 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/config 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/system-data2 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/data 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/state 1462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/runtime 1462s # Using data directory: /tmp/test_appmonitor_NTZSZ2/monitor/app/.dirs/data 1462s ok 1 /monitor/app 1462s # End of monitor tests 1462s ok - glib/appmonitor.test 1462s # Running test: glib/utils-c-11.test 1462s TAP version 14 1462s # random seed: R02S889ffaa30c51cab009cc921fc5aeaa9d 1462s 1..40 1462s # Start of utils tests 1462s ok 1 /utils/language-names 1462s ok 2 /utils/locale-variants 1462s ok 3 /utils/version 1462s ok 4 /utils/appname 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1462s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1462s ok 5 /utils/prgname-thread-safety 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1462s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1462s ok 6 /utils/tmpdir 1462s ok 7 /utils/basic_bits 1462s ok 8 /utils/bits 1462s ok 9 /utils/swap 1462s ok 10 /utils/find-program 1462s ok 11 /utils/find-program-for-path 1462s ok 12 /utils/debug 1462s ok 13 /utils/codeset 1462s ok 14 /utils/codeset2 1462s ok 15 /utils/console-charset 1462s ok 16 /utils/gettext 1462s ok 17 /utils/username 1462s ok 18 /utils/realname 1462s ok 19 /utils/hostname 1462s ok 20 /utils/xdgdirs 1462s ok 21 /utils/specialdir 1462s # NAME: Ubuntu 1462s ok 22 /utils/os-info 1462s ok 23 /utils/clear-pointer 1462s ok 24 /utils/clear-pointer-cast 1462s ok 25 /utils/take-pointer 1462s ok 26 /utils/clear-source 1462s ok 27 /utils/misc-mem 1462s # /utils/aligned-mem summary: Aligned memory allocator 1462s # Alignment must not be zero 1462s # Alignment must be a power of two 1462s # Alignment must be a multiple of sizeof(void*) 1462s ok 28 /utils/aligned-mem 1462s # /utils/free-sized summary: Check that g_free_sized() works 1462s ok 29 /utils/free-sized 1462s ok 30 /utils/nullify 1462s ok 31 /utils/atexit 1462s ok 32 /utils/check-setuid 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1462s ok 33 /utils/int-limits 1462s ok 34 /utils/clear-list 1462s ok 35 /utils/clear-slist 1462s # Start of specialdir tests 1462s ok 36 /utils/specialdir/desktop 1462s # End of specialdir tests 1462s # Start of clear-pointer tests 1462s ok 37 /utils/clear-pointer/side-effects 1462s # End of clear-pointer tests 1462s # Start of aligned-mem tests 1462s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1462s ok 38 /utils/aligned-mem/alignment 1462s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1462s ok 39 /utils/aligned-mem/zeroed 1462s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1462s ok 40 /utils/aligned-mem/free-sized 1462s # Start of subprocess tests 1462s # End of subprocess tests 1462s # End of aligned-mem tests 1462s # End of utils tests 1462s ok - glib/utils-c-11.test 1462s # Running test: glib/sort.test 1462s TAP version 14 1462s # random seed: R02S17d6306ded7710b4f74f9d0067ab95cf 1462s 1..5 1462s # Start of sort tests 1462s ok 1 /sort/basic 1462s ok 2 /sort/zero-elements 1462s ok 3 /sort/stable 1462s ok 4 /sort/big 1462s ok 5 /sort/deprecated 1462s # End of sort tests 1462s ok - glib/sort.test 1462s # Running test: glib/test-printf.test 1462s TAP version 14 1462s # random seed: R02S90e082972bcd9a557d8a0533c9fec017 1462s 1..22 1462s # Start of snprintf tests 1462s ok 1 /snprintf/retval-and-trunc 1462s ok 2 /snprintf/%d 1462s ok 3 /snprintf/%d-invalid 1462s ok 4 /snprintf/%o 1462s ok 5 /snprintf/%u 1462s ok 6 /snprintf/%x 1462s ok 7 /snprintf/%X 1462s ok 8 /snprintf/%f 1462s ok 9 /snprintf/%e 1462s ok 10 /snprintf/%c 1462s ok 11 /snprintf/%s 1462s ok 12 /snprintf/%n 1462s ok 13 /snprintf/test-percent 1462s ok 14 /snprintf/test-positional-params 1462s ok 15 /snprintf/test-64bit 1462s # End of snprintf tests 1462s # Start of printf tests 1462s ok 16 /printf/test-percent 1462s ok 17 /printf/test-positional-params 1462s ok 18 /printf/test-64bit 1462s # Start of test-64bit tests 1462s # Start of subprocess tests 1462s # End of subprocess tests 1462s # End of test-64bit tests 1462s # End of printf tests 1462s # Start of sprintf tests 1462s ok 19 /sprintf/test-positional-params 1462s ok 20 /sprintf/upper-bound 1462s # End of sprintf tests 1462s # Start of vasprintf tests 1462s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1462s ok 21 /vasprintf/invalid-format-placeholder 1462s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1462s ok 22 /vasprintf/invalid-wide-string 1462s # End of vasprintf tests 1462s ok - glib/test-printf.test 1462s # Running test: glib/power-profile-monitor-dbus.test 1463s TAP version 13 1463s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1463s 1..1 1463s ok - glib/power-profile-monitor-dbus.test 1463s # Running test: glib/regex.test 1463s TAP version 14 1463s # random seed: R02Saf400e4fe67127a5466007e5ad4efadc 1463s 1..848 1463s # Start of regex tests 1463s ok 1 /regex/properties 1463s ok 2 /regex/class 1463s ok 3 /regex/lookahead 1463s ok 4 /regex/lookbehind 1463s ok 5 /regex/subpattern 1463s ok 6 /regex/condition 1463s ok 7 /regex/recursion 1463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1463s ok 8 /regex/multiline 1463s ok 9 /regex/explicit-crlf 1463s ok 10 /regex/max-lookbehind 1463s ok 11 /regex/compile-errors 1463s ok 12 /regex/jit-unsupported-matching 1463s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1463s ok 13 /regex/unmatched-named-subpattern 1463s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s ok 14 /regex/compiled-regex-after-jit-failure 1463s # Start of new tests 1463s ok 15 /regex/new/1 1463s ok 16 /regex/new/2 1463s ok 17 /regex/new/3 1463s ok 18 /regex/new/4 1463s ok 19 /regex/new/5 1463s ok 20 /regex/new/6 1463s ok 21 /regex/new/7 1463s ok 22 /regex/new/8 1463s ok 23 /regex/new/9 1463s ok 24 /regex/new/10 1463s ok 25 /regex/new/11 1463s ok 26 /regex/new/12 1463s ok 27 /regex/new/13 1463s ok 28 /regex/new/14 1463s ok 29 /regex/new/15 1463s ok 30 /regex/new/16 1463s ok 31 /regex/new/17 1463s ok 32 /regex/new/18 1463s ok 33 /regex/new/19 1463s ok 34 /regex/new/71 1463s ok 35 /regex/new/80 1463s ok 36 /regex/new/82 1463s # End of new tests 1463s # Start of new-check-flags tests 1463s ok 37 /regex/new-check-flags/20 1463s ok 38 /regex/new-check-flags/21 1463s ok 39 /regex/new-check-flags/22 1463s ok 40 /regex/new-check-flags/23 1463s ok 41 /regex/new-check-flags/24 1463s ok 42 /regex/new-check-flags/25 1463s ok 43 /regex/new-check-flags/26 1463s ok 44 /regex/new-check-flags/27 1463s ok 45 /regex/new-check-flags/28 1463s ok 46 /regex/new-check-flags/29 1463s ok 47 /regex/new-check-flags/30 1463s ok 48 /regex/new-check-flags/31 1463s ok 49 /regex/new-check-flags/32 1463s ok 50 /regex/new-check-flags/33 1463s ok 51 /regex/new-check-flags/34 1463s ok 52 /regex/new-check-flags/35 1463s ok 53 /regex/new-check-flags/36 1463s # End of new-check-flags tests 1463s # Start of new-fail tests 1463s ok 54 /regex/new-fail/37 1463s ok 55 /regex/new-fail/38 1463s ok 56 /regex/new-fail/39 1463s ok 57 /regex/new-fail/40 1463s ok 58 /regex/new-fail/41 1463s ok 59 /regex/new-fail/42 1463s ok 60 /regex/new-fail/43 1463s ok 61 /regex/new-fail/44 1463s ok 62 /regex/new-fail/45 1463s ok 63 /regex/new-fail/46 1463s ok 64 /regex/new-fail/47 1463s ok 65 /regex/new-fail/48 1463s ok 66 /regex/new-fail/49 1463s ok 67 /regex/new-fail/50 1463s ok 68 /regex/new-fail/51 1463s ok 69 /regex/new-fail/52 1463s ok 70 /regex/new-fail/53 1463s ok 71 /regex/new-fail/54 1463s ok 72 /regex/new-fail/55 1463s ok 73 /regex/new-fail/56 1463s ok 74 /regex/new-fail/57 1463s ok 75 /regex/new-fail/58 1463s ok 76 /regex/new-fail/59 1463s ok 77 /regex/new-fail/60 1463s ok 78 /regex/new-fail/61 1463s ok 79 /regex/new-fail/62 1463s ok 80 /regex/new-fail/63 1463s ok 81 /regex/new-fail/64 1463s ok 82 /regex/new-fail/65 1463s ok 83 /regex/new-fail/66 1463s ok 84 /regex/new-fail/67 1463s ok 85 /regex/new-fail/68 1463s ok 86 /regex/new-fail/69 1463s ok 87 /regex/new-fail/70 1463s ok 88 /regex/new-fail/72 1463s ok 89 /regex/new-fail/73 1463s ok 90 /regex/new-fail/74 1463s ok 91 /regex/new-fail/75 1463s ok 92 /regex/new-fail/76 1463s ok 93 /regex/new-fail/77 1463s ok 94 /regex/new-fail/78 1463s ok 95 /regex/new-fail/79 1463s ok 96 /regex/new-fail/81 1463s ok 97 /regex/new-fail/83 1463s ok 98 /regex/new-fail/84 1463s ok 99 /regex/new-fail/85 1463s ok 100 /regex/new-fail/86 1463s ok 101 /regex/new-fail/87 1463s ok 102 /regex/new-fail/88 1463s ok 103 /regex/new-fail/89 1463s ok 104 /regex/new-fail/90 1463s ok 105 /regex/new-fail/91 1463s # End of new-fail tests 1463s # Start of match-simple tests 1463s ok 106 /regex/match-simple/92 1463s ok 107 /regex/match-simple/93 1463s ok 108 /regex/match-simple/94 1463s ok 109 /regex/match-simple/95 1463s ok 110 /regex/match-simple/96 1463s ok 111 /regex/match-simple/97 1463s ok 112 /regex/match-simple/98 1463s ok 113 /regex/match-simple/99 1463s ok 114 /regex/match-simple/100 1463s ok 115 /regex/match-simple/101 1463s ok 116 /regex/match-simple/102 1463s ok 117 /regex/match-simple/103 1463s ok 118 /regex/match-simple/104 1463s ok 119 /regex/match-simple/105 1463s ok 120 /regex/match-simple/106 1463s ok 121 /regex/match-simple/107 1463s ok 122 /regex/match-simple/108 1463s ok 123 /regex/match-simple/109 1463s ok 124 /regex/match-simple/110 1463s ok 125 /regex/match-simple/111 1463s ok 126 /regex/match-simple/112 1463s ok 127 /regex/match-simple/113 1463s ok 128 /regex/match-simple/114 1463s ok 129 /regex/match-simple/115 1463s ok 130 /regex/match-simple/116 1463s ok 131 /regex/match-simple/117 1463s ok 132 /regex/match-simple/118 1463s ok 133 /regex/match-simple/119 1463s ok 134 /regex/match-simple/120 1463s ok 135 /regex/match-simple/121 1463s ok 136 /regex/match-simple/122 1463s ok 137 /regex/match-simple/123 1463s ok 138 /regex/match-simple/124 1463s ok 139 /regex/match-simple/125 1463s ok 140 /regex/match-simple/126 1463s ok 141 /regex/match-simple/127 1463s ok 142 /regex/match-simple/128 1463s ok 143 /regex/match-simple/129 1463s ok 144 /regex/match-simple/130 1463s ok 145 /regex/match-simple/131 1463s ok 146 /regex/match-simple/132 1463s ok 147 /regex/match-simple/133 1463s ok 148 /regex/match-simple/134 1463s ok 149 /regex/match-simple/135 1463s ok 150 /regex/match-simple/136 1463s ok 151 /regex/match-simple/137 1463s ok 152 /regex/match-simple/138 1463s ok 153 /regex/match-simple/139 1463s ok 154 /regex/match-simple/140 1463s ok 155 /regex/match-simple/141 1463s ok 156 /regex/match-simple/142 1463s ok 157 /regex/match-simple/143 1463s ok 158 /regex/match-simple/144 1463s ok 159 /regex/match-simple/145 1463s ok 160 /regex/match-simple/146 1463s ok 161 /regex/match-simple/147 1463s ok 162 /regex/match-simple/148 1463s ok 163 /regex/match-simple/149 1463s ok 164 /regex/match-simple/150 1463s ok 165 /regex/match-simple/151 1463s ok 166 /regex/match-simple/152 1463s ok 167 /regex/match-simple/153 1463s ok 168 /regex/match-simple/154 1463s ok 169 /regex/match-simple/155 1463s ok 170 /regex/match-simple/156 1463s ok 171 /regex/match-simple/157 1463s ok 172 /regex/match-simple/158 1463s ok 173 /regex/match-simple/159 1463s ok 174 /regex/match-simple/160 1463s ok 175 /regex/match-simple/161 1463s ok 176 /regex/match-simple/162 1463s ok 177 /regex/match-simple/163 1463s ok 178 /regex/match-simple/164 1463s # End of match-simple tests 1463s # Start of match-simple-optimized tests 1463s ok 179 /regex/match-simple-optimized/92 1463s ok 180 /regex/match-simple-optimized/93 1463s ok 181 /regex/match-simple-optimized/94 1463s ok 182 /regex/match-simple-optimized/95 1463s ok 183 /regex/match-simple-optimized/96 1463s ok 184 /regex/match-simple-optimized/97 1463s ok 185 /regex/match-simple-optimized/98 1463s ok 186 /regex/match-simple-optimized/99 1463s ok 187 /regex/match-simple-optimized/100 1463s ok 188 /regex/match-simple-optimized/101 1463s ok 189 /regex/match-simple-optimized/102 1463s ok 190 /regex/match-simple-optimized/103 1463s ok 191 /regex/match-simple-optimized/104 1463s ok 192 /regex/match-simple-optimized/105 1463s ok 193 /regex/match-simple-optimized/106 1463s ok 194 /regex/match-simple-optimized/107 1463s ok 195 /regex/match-simple-optimized/108 1463s ok 196 /regex/match-simple-optimized/109 1463s ok 197 /regex/match-simple-optimized/110 1463s ok 198 /regex/match-simple-optimized/111 1463s ok 199 /regex/match-simple-optimized/112 1463s ok 200 /regex/match-simple-optimized/113 1463s ok 201 /regex/match-simple-optimized/114 1463s ok 202 /regex/match-simple-optimized/115 1463s ok 203 /regex/match-simple-optimized/116 1463s ok 204 /regex/match-simple-optimized/117 1463s ok 205 /regex/match-simple-optimized/118 1463s ok 206 /regex/match-simple-optimized/119 1463s ok 207 /regex/match-simple-optimized/120 1463s ok 208 /regex/match-simple-optimized/121 1463s ok 209 /regex/match-simple-optimized/122 1463s ok 210 /regex/match-simple-optimized/123 1463s ok 211 /regex/match-simple-optimized/124 1463s ok 212 /regex/match-simple-optimized/125 1463s ok 213 /regex/match-simple-optimized/126 1463s ok 214 /regex/match-simple-optimized/127 1463s ok 215 /regex/match-simple-optimized/128 1463s ok 216 /regex/match-simple-optimized/129 1463s ok 217 /regex/match-simple-optimized/130 1463s ok 218 /regex/match-simple-optimized/131 1463s ok 219 /regex/match-simple-optimized/132 1463s ok 220 /regex/match-simple-optimized/133 1463s ok 221 /regex/match-simple-optimized/134 1463s ok 222 /regex/match-simple-optimized/135 1463s ok 223 /regex/match-simple-optimized/136 1463s ok 224 /regex/match-simple-optimized/137 1463s ok 225 /regex/match-simple-optimized/138 1463s ok 226 /regex/match-simple-optimized/139 1463s ok 227 /regex/match-simple-optimized/140 1463s ok 228 /regex/match-simple-optimized/141 1463s ok 229 /regex/match-simple-optimized/142 1463s ok 230 /regex/match-simple-optimized/143 1463s ok 231 /regex/match-simple-optimized/144 1463s ok 232 /regex/match-simple-optimized/145 1463s ok 233 /regex/match-simple-optimized/146 1463s ok 234 /regex/match-simple-optimized/147 1463s ok 235 /regex/match-simple-optimized/148 1463s ok 236 /regex/match-simple-optimized/149 1463s ok 237 /regex/match-simple-optimized/150 1463s ok 238 /regex/match-simple-optimized/151 1463s ok 239 /regex/match-simple-optimized/152 1463s ok 240 /regex/match-simple-optimized/153 1463s ok 241 /regex/match-simple-optimized/154 1463s ok 242 /regex/match-simple-optimized/155 1463s ok 243 /regex/match-simple-optimized/156 1463s ok 244 /regex/match-simple-optimized/157 1463s ok 245 /regex/match-simple-optimized/158 1463s ok 246 /regex/match-simple-optimized/159 1463s ok 247 /regex/match-simple-optimized/160 1463s ok 248 /regex/match-simple-optimized/161 1463s ok 249 /regex/match-simple-optimized/162 1463s ok 250 /regex/match-simple-optimized/163 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s ok 251 /regex/match-simple-optimized/164 1463s # End of match-simple-optimized tests 1463s # Start of match tests 1463s ok 252 /regex/match/165 1463s ok 253 /regex/match/166 1463s ok 254 /regex/match/167 1463s ok 255 /regex/match/168 1463s ok 256 /regex/match/169 1463s ok 257 /regex/match/170 1463s ok 258 /regex/match/171 1463s ok 259 /regex/match/172 1463s ok 260 /regex/match/173 1463s ok 261 /regex/match/174 1463s ok 262 /regex/match/175 1463s ok 263 /regex/match/176 1463s ok 264 /regex/match/177 1463s ok 265 /regex/match/178 1463s ok 266 /regex/match/179 1463s ok 267 /regex/match/180 1463s ok 268 /regex/match/181 1463s ok 269 /regex/match/182 1463s ok 270 /regex/match/183 1463s ok 271 /regex/match/184 1463s ok 272 /regex/match/185 1463s ok 273 /regex/match/186 1463s ok 274 /regex/match/187 1463s ok 275 /regex/match/188 1463s ok 276 /regex/match/189 1463s ok 277 /regex/match/190 1463s ok 278 /regex/match/191 1463s ok 279 /regex/match/192 1463s ok 280 /regex/match/193 1463s ok 281 /regex/match/194 1463s ok 282 /regex/match/195 1463s ok 283 /regex/match/196 1463s ok 284 /regex/match/197 1463s ok 285 /regex/match/198 1463s ok 286 /regex/match/199 1463s ok 287 /regex/match/200 1463s ok 288 /regex/match/201 1463s ok 289 /regex/match/202 1463s ok 290 /regex/match/203 1463s ok 291 /regex/match/204 1463s ok 292 /regex/match/205 1463s ok 293 /regex/match/206 1463s ok 294 /regex/match/207 1463s ok 295 /regex/match/208 1463s ok 296 /regex/match/209 1463s ok 297 /regex/match/210 1463s ok 298 /regex/match/211 1463s ok 299 /regex/match/212 1463s ok 300 /regex/match/213 1463s ok 301 /regex/match/214 1463s ok 302 /regex/match/215 1463s ok 303 /regex/match/216 1463s ok 304 /regex/match/217 1463s ok 305 /regex/match/218 1463s ok 306 /regex/match/219 1463s ok 307 /regex/match/220 1463s ok 308 /regex/match/221 1463s ok 309 /regex/match/222 1463s ok 310 /regex/match/223 1463s ok 311 /regex/match/224 1463s ok 312 /regex/match/225 1463s ok 313 /regex/match/226 1463s ok 314 /regex/match/227 1463s ok 315 /regex/match/228 1463s ok 316 /regex/match/229 1463s ok 317 /regex/match/230 1463s ok 318 /regex/match/231 1463s ok 319 /regex/match/232 1463s ok 320 /regex/match/233 1463s ok 321 /regex/match/234 1463s ok 322 /regex/match/235 1463s ok 323 /regex/match/236 1463s ok 324 /regex/match/237 1463s ok 325 /regex/match/238 1463s ok 326 /regex/match/239 1463s ok 327 /regex/match/240 1463s ok 328 /regex/match/241 1463s ok 329 /regex/match/242 1463s ok 330 /regex/match/243 1463s ok 331 /regex/match/244 1463s ok 332 /regex/match/245 1463s ok 333 /regex/match/246 1463s ok 334 /regex/match/partial281 1463s ok 335 /regex/match/partial282 1463s ok 336 /regex/match/partial283 1463s ok 337 /regex/match/partial284 1463s ok 338 /regex/match/partial285 1463s ok 339 /regex/match/partial286 1463s ok 340 /regex/match/partial287 1463s ok 341 /regex/match/partial288 1463s ok 342 /regex/match/partial289 1463s ok 343 /regex/match/partial290 1463s ok 344 /regex/match/partial291 1463s ok 345 /regex/match/partial292 1463s ok 346 /regex/match/partial293 1463s ok 347 /regex/match/partial294 1463s ok 348 /regex/match/partial295 1463s ok 349 /regex/match/partial296 1463s ok 350 /regex/match/partial297 1463s ok 351 /regex/match/partial298 1463s ok 352 /regex/match/partial299 1463s ok 353 /regex/match/partial300 1463s ok 354 /regex/match/partial301 1463s ok 355 /regex/match/partial302 1463s # Start of next0 tests 1463s ok 356 /regex/match/next0/247 1463s ok 357 /regex/match/next0/248 1463s ok 358 /regex/match/next0/249 1463s ok 359 /regex/match/next0/250 1463s # End of next0 tests 1463s # Start of next1 tests 1463s ok 360 /regex/match/next1/251 1463s ok 361 /regex/match/next1/252 1463s ok 362 /regex/match/next1/253 1463s ok 363 /regex/match/next1/254 1463s ok 364 /regex/match/next1/255 1463s # End of next1 tests 1463s # Start of next2 tests 1463s ok 365 /regex/match/next2/256 1463s ok 366 /regex/match/next2/257 1463s ok 367 /regex/match/next2/258 1463s ok 368 /regex/match/next2/259 1463s ok 369 /regex/match/next2/260 1463s ok 370 /regex/match/next2/261 1463s ok 371 /regex/match/next2/262 1463s ok 372 /regex/match/next2/263 1463s # End of next2 tests 1463s # Start of next3 tests 1463s ok 373 /regex/match/next3/264 1463s ok 374 /regex/match/next3/265 1463s ok 375 /regex/match/next3/266 1463s ok 376 /regex/match/next3/267 1463s ok 377 /regex/match/next3/268 1463s ok 378 /regex/match/next3/269 1463s # End of next3 tests 1463s # Start of next4 tests 1463s ok 379 /regex/match/next4/270 1463s # End of next4 tests 1463s # Start of count tests 1463s ok 380 /regex/match/count/271 1463s ok 381 /regex/match/count/272 1463s ok 382 /regex/match/count/273 1463s ok 383 /regex/match/count/274 1463s ok 384 /regex/match/count/275 1463s ok 385 /regex/match/count/276 1463s ok 386 /regex/match/count/277 1463s ok 387 /regex/match/count/278 1463s ok 388 /regex/match/count/279 1463s ok 389 /regex/match/count/280 1463s # End of count tests 1463s # Start of count-optimized tests 1463s ok 390 /regex/match/count-optimized/271 1463s ok 391 /regex/match/count-optimized/272 1463s ok 392 /regex/match/count-optimized/273 1463s ok 393 /regex/match/count-optimized/274 1463s ok 394 /regex/match/count-optimized/275 1463s ok 395 /regex/match/count-optimized/276 1463s ok 396 /regex/match/count-optimized/277 1463s ok 397 /regex/match/count-optimized/278 1463s ok 398 /regex/match/count-optimized/279 1463s ok 399 /regex/match/count-optimized/280 1463s # End of count-optimized tests 1463s # Start of partial-optimized tests 1463s ok 400 /regex/match/partial-optimized/281 1463s ok 401 /regex/match/partial-optimized/282 1463s ok 402 /regex/match/partial-optimized/283 1463s ok 403 /regex/match/partial-optimized/284 1463s ok 404 /regex/match/partial-optimized/285 1463s ok 405 /regex/match/partial-optimized/286 1463s ok 406 /regex/match/partial-optimized/287 1463s ok 407 /regex/match/partial-optimized/288 1463s ok 408 /regex/match/partial-optimized/289 1463s ok 409 /regex/match/partial-optimized/290 1463s ok 410 /regex/match/partial-optimized/291 1463s ok 411 /regex/match/partial-optimized/292 1463s ok 412 /regex/match/partial-optimized/293 1463s ok 413 /regex/match/partial-optimized/294 1463s ok 414 /regex/match/partial-optimized/295 1463s ok 415 /regex/match/partial-optimized/296 1463s ok 416 /regex/match/partial-optimized/297 1463s ok 417 /regex/match/partial-optimized/298 1463s ok 418 /regex/match/partial-optimized/299 1463s ok 419 /regex/match/partial-optimized/300 1463s ok 420 /regex/match/partial-optimized/301 1463s ok 421 /regex/match/partial-optimized/302 1463s # End of partial-optimized tests 1463s # Start of subpattern tests 1463s ok 422 /regex/match/subpattern/303 1463s ok 423 /regex/match/subpattern/304 1463s ok 424 /regex/match/subpattern/305 1463s ok 425 /regex/match/subpattern/306 1463s ok 426 /regex/match/subpattern/307 1463s ok 427 /regex/match/subpattern/308 1463s ok 428 /regex/match/subpattern/309 1463s ok 429 /regex/match/subpattern/310 1463s ok 430 /regex/match/subpattern/311 1463s ok 431 /regex/match/subpattern/312 1463s ok 432 /regex/match/subpattern/313 1463s ok 433 /regex/match/subpattern/314 1463s ok 434 /regex/match/subpattern/315 1463s # Start of named tests 1463s # Start of dupnames tests 1463s ok 435 /regex/match/subpattern/named/dupnames/325 1463s ok 436 /regex/match/subpattern/named/dupnames/326 1463s ok 437 /regex/match/subpattern/named/dupnames/327 1463s ok 438 /regex/match/subpattern/named/dupnames/328 1463s ok 439 /regex/match/subpattern/named/dupnames/329 1463s # End of dupnames tests 1463s # End of named tests 1463s # End of subpattern tests 1463s # Start of subpattern-optimized tests 1463s ok 440 /regex/match/subpattern-optimized/303 1463s ok 441 /regex/match/subpattern-optimized/304 1463s ok 442 /regex/match/subpattern-optimized/305 1463s ok 443 /regex/match/subpattern-optimized/306 1463s ok 444 /regex/match/subpattern-optimized/307 1463s ok 445 /regex/match/subpattern-optimized/308 1463s ok 446 /regex/match/subpattern-optimized/309 1463s ok 447 /regex/match/subpattern-optimized/310 1463s ok 448 /regex/match/subpattern-optimized/311 1463s ok 449 /regex/match/subpattern-optimized/312 1463s ok 450 /regex/match/subpattern-optimized/313 1463s ok 451 /regex/match/subpattern-optimized/314 1463s ok 452 /regex/match/subpattern-optimized/315 1463s # End of subpattern-optimized tests 1463s # Start of named tests 1463s # Start of subpattern tests 1463s ok 453 /regex/match/named/subpattern/316 1463s ok 454 /regex/match/named/subpattern/317 1463s ok 455 /regex/match/named/subpattern/318 1463s ok 456 /regex/match/named/subpattern/319 1463s ok 457 /regex/match/named/subpattern/320 1463s ok 458 /regex/match/named/subpattern/321 1463s ok 459 /regex/match/named/subpattern/322 1463s ok 460 /regex/match/named/subpattern/323 1463s ok 461 /regex/match/named/subpattern/324 1463s ok 462 /regex/match/named/subpattern/330 1463s ok 463 /regex/match/named/subpattern/331 1463s ok 464 /regex/match/named/subpattern/332 1463s ok 465 /regex/match/named/subpattern/333 1463s ok 466 /regex/match/named/subpattern/334 1463s # End of subpattern tests 1463s # End of named tests 1463s # End of match tests 1463s # Start of match-optimized tests 1463s ok 467 /regex/match-optimized/165 1463s ok 468 /regex/match-optimized/166 1463s ok 469 /regex/match-optimized/167 1463s ok 470 /regex/match-optimized/168 1463s ok 471 /regex/match-optimized/169 1463s ok 472 /regex/match-optimized/170 1463s ok 473 /regex/match-optimized/171 1463s ok 474 /regex/match-optimized/172 1463s ok 475 /regex/match-optimized/173 1463s ok 476 /regex/match-optimized/174 1463s ok 477 /regex/match-optimized/175 1463s ok 478 /regex/match-optimized/176 1463s ok 479 /regex/match-optimized/177 1463s ok 480 /regex/match-optimized/178 1463s ok 481 /regex/match-optimized/179 1463s ok 482 /regex/match-optimized/180 1463s ok 483 /regex/match-optimized/181 1463s ok 484 /regex/match-optimized/182 1463s ok 485 /regex/match-optimized/183 1463s ok 486 /regex/match-optimized/184 1463s ok 487 /regex/match-optimized/185 1463s ok 488 /regex/match-optimized/186 1463s ok 489 /regex/match-optimized/187 1463s ok 490 /regex/match-optimized/188 1463s ok 491 /regex/match-optimized/189 1463s ok 492 /regex/match-optimized/190 1463s ok 493 /regex/match-optimized/191 1463s ok 494 /regex/match-optimized/192 1463s ok 495 /regex/match-optimized/193 1463s ok 496 /regex/match-optimized/194 1463s ok 497 /regex/match-optimized/195 1463s ok 498 /regex/match-optimized/196 1463s ok 499 /regex/match-optimized/197 1463s ok 500 /regex/match-optimized/198 1463s ok 501 /regex/match-optimized/199 1463s ok 502 /regex/match-optimized/200 1463s ok 503 /regex/match-optimized/201 1463s ok 504 /regex/match-optimized/202 1463s ok 505 /regex/match-optimized/203 1463s ok 506 /regex/match-optimized/204 1463s ok 507 /regex/match-optimized/205 1463s ok 508 /regex/match-optimized/206 1463s ok 509 /regex/match-optimized/207 1463s ok 510 /regex/match-optimized/208 1463s ok 511 /regex/match-optimized/209 1463s ok 512 /regex/match-optimized/210 1463s ok 513 /regex/match-optimized/211 1463s ok 514 /regex/match-optimized/212 1463s ok 515 /regex/match-optimized/213 1463s ok 516 /regex/match-optimized/214 1463s ok 517 /regex/match-optimized/215 1463s ok 518 /regex/match-optimized/216 1463s ok 519 /regex/match-optimized/217 1463s ok 520 /regex/match-optimized/218 1463s ok 521 /regex/match-optimized/219 1463s ok 522 /regex/match-optimized/220 1463s ok 523 /regex/match-optimized/221 1463s ok 524 /regex/match-optimized/222 1463s ok 525 /regex/match-optimized/223 1463s ok 526 /regex/match-optimized/224 1463s ok 527 /regex/match-optimized/225 1463s ok 528 /regex/match-optimized/226 1463s ok 529 /regex/match-optimized/227 1463s ok 530 /regex/match-optimized/228 1463s ok 531 /regex/match-optimized/229 1463s ok 532 /regex/match-optimized/230 1463s ok 533 /regex/match-optimized/231 1463s ok 534 /regex/match-optimized/232 1463s ok 535 /regex/match-optimized/233 1463s ok 536 /regex/match-optimized/234 1463s ok 537 /regex/match-optimized/235 1463s ok 538 /regex/match-optimized/236 1463s ok 539 /regex/match-optimized/237 1463s ok 540 /regex/match-optimized/238 1463s ok 541 /regex/match-optimized/239 1463s ok 542 /regex/match-optimized/240 1463s ok 543 /regex/match-optimized/241 1463s ok 544 /regex/match-optimized/242 1463s ok 545 /regex/match-optimized/243 1463s ok 546 /regex/match-optimized/244 1463s ok 547 /regex/match-optimized/245 1463s ok 548 /regex/match-optimized/246 1463s # End of match-optimized tests 1463s # Start of fetch-all0 tests 1463s ok 549 /regex/fetch-all0/335 1463s ok 550 /regex/fetch-all0/336 1463s # End of fetch-all0 tests 1463s # Start of fetch-all1 tests 1463s ok 551 /regex/fetch-all1/337 1463s ok 552 /regex/fetch-all1/338 1463s ok 553 /regex/fetch-all1/339 1463s # End of fetch-all1 tests 1463s # Start of fetch-all2 tests 1463s ok 554 /regex/fetch-all2/340 1463s ok 555 /regex/fetch-all2/341 1463s ok 556 /regex/fetch-all2/342 1463s # End of fetch-all2 tests 1463s # Start of fetch-all3 tests 1463s ok 557 /regex/fetch-all3/343 1463s ok 558 /regex/fetch-all3/344 1463s ok 559 /regex/fetch-all3/345 1463s ok 560 /regex/fetch-all3/346 1463s ok 561 /regex/fetch-all3/347 1463s # End of fetch-all3 tests 1463s # Start of split tests 1463s # Start of simple0 tests 1463s ok 562 /regex/split/simple0/348 1463s ok 563 /regex/split/simple0/349 1463s ok 564 /regex/split/simple0/364 1463s ok 565 /regex/split/simple0/365 1463s # End of simple0 tests 1463s # Start of simple1 tests 1463s ok 566 /regex/split/simple1/350 1463s ok 567 /regex/split/simple1/351 1463s # End of simple1 tests 1463s # Start of simple2 tests 1463s ok 568 /regex/split/simple2/352 1463s ok 569 /regex/split/simple2/358 1463s ok 570 /regex/split/simple2/360 1463s # End of simple2 tests 1463s # Start of simple3 tests 1463s ok 571 /regex/split/simple3/353 1463s ok 572 /regex/split/simple3/354 1463s ok 573 /regex/split/simple3/355 1463s ok 574 /regex/split/simple3/356 1463s ok 575 /regex/split/simple3/357 1463s ok 576 /regex/split/simple3/359 1463s ok 577 /regex/split/simple3/361 1463s ok 578 /regex/split/simple3/362 1463s ok 579 /regex/split/simple3/363 1463s # End of simple3 tests 1463s # End of split tests 1463s # Start of split0 tests 1463s ok 580 /regex/split0/366 1463s ok 581 /regex/split0/368 1463s # End of split0 tests 1463s # Start of full-split0 tests 1463s ok 582 /regex/full-split0/367 1463s ok 583 /regex/full-split0/369 1463s ok 584 /regex/full-split0/370 1463s ok 585 /regex/full-split0/371 1463s ok 586 /regex/full-split0/372 1463s # End of full-split0 tests 1463s # Start of split1 tests 1463s ok 587 /regex/split1/373 1463s ok 588 /regex/split1/376 1463s # End of split1 tests 1463s # Start of full-split1 tests 1463s ok 589 /regex/full-split1/374 1463s ok 590 /regex/full-split1/375 1463s ok 591 /regex/full-split1/377 1463s ok 592 /regex/full-split1/378 1463s ok 593 /regex/full-split1/404 1463s # End of full-split1 tests 1463s # Start of split2 tests 1463s ok 594 /regex/split2/379 1463s ok 595 /regex/split2/383 1463s ok 596 /regex/split2/395 1463s # End of split2 tests 1463s # Start of full-split2 tests 1463s ok 597 /regex/full-split2/380 1463s ok 598 /regex/full-split2/381 1463s ok 599 /regex/full-split2/382 1463s ok 600 /regex/full-split2/384 1463s ok 601 /regex/full-split2/396 1463s ok 602 /regex/full-split2/399 1463s ok 603 /regex/full-split2/405 1463s # End of full-split2 tests 1463s # Start of split3 tests 1463s ok 604 /regex/split3/385 1463s ok 605 /regex/split3/387 1463s ok 606 /regex/split3/389 1463s ok 607 /regex/split3/391 1463s ok 608 /regex/split3/393 1463s ok 609 /regex/split3/397 1463s ok 610 /regex/split3/400 1463s ok 611 /regex/split3/402 1463s # End of split3 tests 1463s # Start of full-split3 tests 1463s ok 612 /regex/full-split3/386 1463s ok 613 /regex/full-split3/388 1463s ok 614 /regex/full-split3/390 1463s ok 615 /regex/full-split3/392 1463s ok 616 /regex/full-split3/394 1463s ok 617 /regex/full-split3/398 1463s ok 618 /regex/full-split3/401 1463s ok 619 /regex/full-split3/403 1463s ok 620 /regex/full-split3/406 1463s ok 621 /regex/full-split3/407 1463s # End of full-split3 tests 1463s # Start of check-repacement tests 1463s ok 622 /regex/check-repacement/408 1463s ok 623 /regex/check-repacement/409 1463s ok 624 /regex/check-repacement/410 1463s ok 625 /regex/check-repacement/411 1463s ok 626 /regex/check-repacement/412 1463s ok 627 /regex/check-repacement/413 1463s ok 628 /regex/check-repacement/414 1463s ok 629 /regex/check-repacement/415 1463s # End of check-repacement tests 1463s # Start of expand tests 1463s ok 630 /regex/expand/416 1463s ok 631 /regex/expand/417 1463s ok 632 /regex/expand/418 1463s ok 633 /regex/expand/419 1463s ok 634 /regex/expand/420 1463s ok 635 /regex/expand/421 1463s ok 636 /regex/expand/422 1463s ok 637 /regex/expand/423 1463s ok 638 /regex/expand/424 1463s ok 639 /regex/expand/425 1463s ok 640 /regex/expand/426 1463s ok 641 /regex/expand/427 1463s ok 642 /regex/expand/428 1463s ok 643 /regex/expand/429 1463s ok 644 /regex/expand/430 1463s ok 645 /regex/expand/431 1463s ok 646 /regex/expand/432 1463s ok 647 /regex/expand/433 1463s ok 648 /regex/expand/434 1463s ok 649 /regex/expand/435 1463s ok 650 /regex/expand/436 1463s ok 651 /regex/expand/437 1463s ok 652 /regex/expand/438 1463s ok 653 /regex/expand/439 1463s ok 654 /regex/expand/440 1463s ok 655 /regex/expand/441 1463s ok 656 /regex/expand/442 1463s ok 657 /regex/expand/443 1463s ok 658 /regex/expand/444 1463s ok 659 /regex/expand/445 1463s ok 660 /regex/expand/446 1463s ok 661 /regex/expand/447 1463s ok 662 /regex/expand/448 1463s ok 663 /regex/expand/449 1463s ok 664 /regex/expand/450 1463s ok 665 /regex/expand/451 1463s ok 666 /regex/expand/452 1463s ok 667 /regex/expand/453 1463s ok 668 /regex/expand/454 1463s ok 669 /regex/expand/455 1463s ok 670 /regex/expand/456 1463s ok 671 /regex/expand/457 1463s ok 672 /regex/expand/458 1463s ok 673 /regex/expand/459 1463s ok 674 /regex/expand/460 1463s ok 675 /regex/expand/461 1463s ok 676 /regex/expand/462 1463s ok 677 /regex/expand/463 1463s ok 678 /regex/expand/464 1463s ok 679 /regex/expand/465 1463s ok 680 /regex/expand/466 1463s ok 681 /regex/expand/467 1463s ok 682 /regex/expand/468 1463s ok 683 /regex/expand/469 1463s ok 684 /regex/expand/470 1463s ok 685 /regex/expand/471 1463s ok 686 /regex/expand/472 1463s ok 687 /regex/expand/473 1463s ok 688 /regex/expand/474 1463s ok 689 /regex/expand/475 1463s ok 690 /regex/expand/476 1463s ok 691 /regex/expand/477 1463s ok 692 /regex/expand/478 1463s ok 693 /regex/expand/479 1463s ok 694 /regex/expand/480 1463s ok 695 /regex/expand/481 1463s # End of expand tests 1463s # Start of replace tests 1463s ok 696 /regex/replace/482 1463s ok 697 /regex/replace/483 1463s ok 698 /regex/replace/484 1463s ok 699 /regex/replace/485 1463s ok 700 /regex/replace/486 1463s ok 701 /regex/replace/487 1463s ok 702 /regex/replace/488 1463s ok 703 /regex/replace/489 1463s ok 704 /regex/replace/490 1463s ok 705 /regex/replace/491 1463s ok 706 /regex/replace/492 1463s ok 707 /regex/replace/493 1463s ok 708 /regex/replace/494 1463s ok 709 /regex/replace/495 1463s ok 710 /regex/replace/496 1463s ok 711 /regex/replace/497 1463s ok 712 /regex/replace/498 1463s ok 713 /regex/replace/499 1463s ok 714 /regex/replace/500 1463s ok 715 /regex/replace/501 1463s ok 716 /regex/replace/502 1463s ok 717 /regex/replace/503 1463s ok 718 /regex/replace/504 1463s ok 719 /regex/replace/505 1463s ok 720 /regex/replace/506 1463s ok 721 /regex/replace/507 1463s ok 722 /regex/replace/508 1463s ok 723 /regex/replace/509 1463s # End of replace tests 1463s # Start of replace-optimized tests 1463s ok 724 /regex/replace-optimized/482 1463s ok 725 /regex/replace-optimized/483 1463s ok 726 /regex/replace-optimized/484 1463s ok 727 /regex/replace-optimized/485 1463s ok 728 /regex/replace-optimized/486 1463s ok 729 /regex/replace-optimized/487 1463s ok 730 /regex/replace-optimized/488 1463s ok 731 /regex/replace-optimized/489 1463s ok 732 /regex/replace-optimized/490 1463s ok 733 /regex/replace-optimized/491 1463s ok 734 /regex/replace-optimized/492 1463s ok 735 /regex/replace-optimized/493 1463s ok 736 /regex/replace-optimized/494 1463s ok 737 /regex/replace-optimized/495 1463s ok 738 /regex/replace-optimized/496 1463s ok 739 /regex/replace-optimized/497 1463s ok 740 /regex/replace-optimized/498 1463s ok 741 /regex/replace-optimized/499 1463s ok 742 /regex/replace-optimized/500 1463s ok 743 /regex/replace-optimized/501 1463s ok 744 /regex/replace-optimized/502 1463s ok 745 /regex/replace-optimized/503 1463s ok 746 /regex/replace-optimized/504 1463s ok 747 /regex/replace-optimized/505 1463s ok 748 /regex/replace-optimized/506 1463s ok 749 /regex/replace-optimized/507 1463s ok 750 /regex/replace-optimized/508 1463s ok 751 /regex/replace-optimized/509 1463s # End of replace-optimized tests 1463s # Start of replace-literally tests 1463s ok 752 /regex/replace-literally/510 1463s ok 753 /regex/replace-literally/511 1463s ok 754 /regex/replace-literally/512 1463s ok 755 /regex/replace-literally/513 1463s ok 756 /regex/replace-literally/514 1463s ok 757 /regex/replace-literally/515 1463s ok 758 /regex/replace-literally/516 1463s ok 759 /regex/replace-literally/517 1463s ok 760 /regex/replace-literally/518 1463s ok 761 /regex/replace-literally/519 1463s ok 762 /regex/replace-literally/520 1463s ok 763 /regex/replace-literally/521 1463s ok 764 /regex/replace-literally/522 1463s ok 765 /regex/replace-literally/523 1463s ok 766 /regex/replace-literally/524 1463s ok 767 /regex/replace-literally/525 1463s ok 768 /regex/replace-literally/526 1463s ok 769 /regex/replace-literally/527 1463s ok 770 /regex/replace-literally/528 1463s ok 771 /regex/replace-literally/529 1463s # End of replace-literally tests 1463s # Start of string-number tests 1463s ok 772 /regex/string-number/530 1463s ok 773 /regex/string-number/531 1463s ok 774 /regex/string-number/532 1463s ok 775 /regex/string-number/533 1463s ok 776 /regex/string-number/534 1463s ok 777 /regex/string-number/535 1463s ok 778 /regex/string-number/536 1463s ok 779 /regex/string-number/537 1463s ok 780 /regex/string-number/538 1463s ok 781 /regex/string-number/539 1463s ok 782 /regex/string-number/540 1463s ok 783 /regex/string-number/541 1463s ok 784 /regex/string-number/542 1463s ok 785 /regex/string-number/543 1463s ok 786 /regex/string-number/544 1463s # End of string-number tests 1463s # Start of escape_nul tests 1463s ok 787 /regex/escape_nul/545 1463s ok 788 /regex/escape_nul/546 1463s ok 789 /regex/escape_nul/547 1463s ok 790 /regex/escape_nul/548 1463s ok 791 /regex/escape_nul/549 1463s ok 792 /regex/escape_nul/550 1463s ok 793 /regex/escape_nul/551 1463s ok 794 /regex/escape_nul/552 1463s ok 795 /regex/escape_nul/553 1463s ok 796 /regex/escape_nul/554 1463s ok 797 /regex/escape_nul/555 1463s ok 798 /regex/escape_nul/556 1463s ok 799 /regex/escape_nul/557 1463s ok 800 /regex/escape_nul/558 1463s ok 801 /regex/escape_nul/559 1463s # End of escape_nul tests 1463s # Start of escape tests 1463s ok 802 /regex/escape/560 1463s ok 803 /regex/escape/561 1463s ok 804 /regex/escape/562 1463s ok 805 /regex/escape/563 1463s ok 806 /regex/escape/564 1463s ok 807 /regex/escape/565 1463s ok 808 /regex/escape/566 1463s ok 809 /regex/escape/567 1463s ok 810 /regex/escape/568 1463s ok 811 /regex/escape/569 1463s ok 812 /regex/escape/570 1463s ok 813 /regex/escape/571 1463s ok 814 /regex/escape/572 1463s ok 815 /regex/escape/573 1463s ok 816 /regex/escape/574 1463s ok 817 /regex/escape/575 1463s ok 818 /regex/escape/576 1463s ok 819 /regex/escape/577 1463s # End of escape tests 1463s # Start of match-all0 tests 1463s ok 820 /regex/match-all0/578 1463s ok 821 /regex/match-all0/580 1463s # End of match-all0 tests 1463s # Start of match-all-full0 tests 1463s ok 822 /regex/match-all-full0/579 1463s ok 823 /regex/match-all-full0/581 1463s ok 824 /regex/match-all-full0/582 1463s ok 825 /regex/match-all-full0/583 1463s # End of match-all-full0 tests 1463s # Start of match-all1 tests 1463s ok 826 /regex/match-all1/584 1463s ok 827 /regex/match-all1/586 1463s ok 828 /regex/match-all1/591 1463s # End of match-all1 tests 1463s # Start of match-all-full1 tests 1463s ok 829 /regex/match-all-full1/585 1463s ok 830 /regex/match-all-full1/587 1463s ok 831 /regex/match-all-full1/588 1463s ok 832 /regex/match-all-full1/589 1463s ok 833 /regex/match-all-full1/590 1463s ok 834 /regex/match-all-full1/592 1463s # End of match-all-full1 tests 1463s # Start of match-all2 tests 1463s ok 835 /regex/match-all2/593 1463s ok 836 /regex/match-all2/595 1463s ok 837 /regex/match-all2/597 1463s # End of match-all2 tests 1463s # Start of match-all-full2 tests 1463s ok 838 /regex/match-all-full2/594 1463s ok 839 /regex/match-all-full2/596 1463s ok 840 /regex/match-all-full2/598 1463s # End of match-all-full2 tests 1463s # Start of match-all3 tests 1463s ok 841 /regex/match-all3/599 1463s ok 842 /regex/match-all3/601 1463s # End of match-all3 tests 1463s # Start of match-all-full3 tests 1463s ok 843 /regex/match-all-full3/600 1463s ok 844 /regex/match-all-full3/602 1463s # End of match-all-full3 tests 1463s # Start of match-notempty tests 1463s ok 845 /regex/match-notempty/603 1463s # End of match-notempty tests 1463s # Start of match-notempty-optimized tests 1463s ok 846 /regex/match-notempty-optimized/603 1463s # End of match-notempty-optimized tests 1463s # Start of match-notempty-atstart tests 1463s ok 847 /regex/match-notempty-atstart/604 1463s # End of match-notempty-atstart tests 1463s # Start of match-notempty-atstart-optimized tests 1463s ok 848 /regex/match-notempty-atstart-optimized/604 1463s # End of match-notempty-atstart-optimized tests 1463s # End of regex tests 1463s ok - glib/regex.test 1463s # Running test: glib/strfuncs.test 1463s TAP version 14 1463s # random seed: R02S3e2f9bdf4b7d9d08d691fe115c1e6f5b 1463s 1..50 1463s # Start of strfuncs tests 1463s ok 1 /strfuncs/ascii-strcasecmp 1463s ok 2 /strfuncs/ascii_strdown 1463s ok 3 /strfuncs/ascii_strdup 1463s ok 4 /strfuncs/ascii_strtod 1463s ok 5 /strfuncs/bounds-check 1463s ok 6 /strfuncs/has-prefix 1463s ok 7 /strfuncs/has-prefix-macro 1463s ok 8 /strfuncs/has-suffix 1463s ok 9 /strfuncs/has-suffix-macro 1463s ok 10 /strfuncs/memdup 1463s ok 11 /strfuncs/memdup2 1463s ok 12 /strfuncs/set_str 1463s ok 13 /strfuncs/stpcpy 1463s ok 14 /strfuncs/str_match_string 1463s ok 15 /strfuncs/str_tokenize_and_fold 1463s ok 16 /strfuncs/strcanon 1463s ok 17 /strfuncs/strchomp 1463s ok 18 /strfuncs/strchug 1463s ok 19 /strfuncs/strcompress-strescape 1463s ok 20 /strfuncs/strconcat 1463s ok 21 /strfuncs/strdelimit 1463s ok 22 /strfuncs/strdup 1463s ok 23 /strfuncs/strdup-printf 1463s ok 24 /strfuncs/strdupv 1463s ok 25 /strfuncs/strerror 1463s ok 26 /strfuncs/strip-context 1463s ok 27 /strfuncs/strjoin 1463s ok 28 /strfuncs/strjoinv 1463s ok 29 /strfuncs/strlcat 1463s ok 30 /strfuncs/strlcpy 1463s ok 31 /strfuncs/strncasecmp 1463s ok 32 /strfuncs/strndup 1463s ok 33 /strfuncs/strnfill 1463s ok 34 /strfuncs/strreverse 1463s ok 35 /strfuncs/strsignal 1463s ok 36 /strfuncs/strsplit 1463s ok 37 /strfuncs/strsplit-set 1463s ok 38 /strfuncs/strstr 1463s ok 39 /strfuncs/strtod 1463s ok 40 /strfuncs/strtoull-strtoll 1463s ok 41 /strfuncs/strup 1463s ok 42 /strfuncs/strv-contains 1463s ok 43 /strfuncs/strv-equal 1463s ok 44 /strfuncs/strv-length 1463s ok 45 /strfuncs/test-is-to-digit 1463s ok 46 /strfuncs/transliteration 1463s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1463s ok 47 /strfuncs/str-equal 1463s # Start of ascii-string-to-num tests 1463s ok 48 /strfuncs/ascii-string-to-num/pathological 1463s ok 49 /strfuncs/ascii-string-to-num/usual 1463s # End of ascii-string-to-num tests 1463s # Start of strdup tests 1463s ok 50 /strfuncs/strdup/inline 1463s # End of strdup tests 1463s # End of strfuncs tests 1463s ok - glib/strfuncs.test 1463s # Running test: glib/utils-c-99.test 1463s TAP version 14 1463s # random seed: R02S1f3156dc6ab7c9231b4494d00d53e245 1463s 1..40 1463s # Start of utils tests 1463s ok 1 /utils/language-names 1463s ok 2 /utils/locale-variants 1463s ok 3 /utils/version 1463s ok 4 /utils/appname 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1463s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1463s ok 5 /utils/prgname-thread-safety 1463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1463s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1463s ok 6 /utils/tmpdir 1463s ok 7 /utils/basic_bits 1463s ok 8 /utils/bits 1463s ok 9 /utils/swap 1463s ok 10 /utils/find-program 1463s ok 11 /utils/find-program-for-path 1463s ok 12 /utils/debug 1463s ok 13 /utils/codeset 1463s ok 14 /utils/codeset2 1463s ok 15 /utils/console-charset 1463s ok 16 /utils/gettext 1463s ok 17 /utils/username 1463s ok 18 /utils/realname 1463s ok 19 /utils/hostname 1463s ok 20 /utils/xdgdirs 1463s ok 21 /utils/specialdir 1463s # NAME: Ubuntu 1463s ok 22 /utils/os-info 1463s ok 23 /utils/clear-pointer 1463s ok 24 /utils/clear-pointer-cast 1463s ok 25 /utils/take-pointer 1463s ok 26 /utils/clear-source 1463s ok 27 /utils/misc-mem 1463s # /utils/aligned-mem summary: Aligned memory allocator 1463s # Alignment must not be zero 1463s # Alignment must be a power of two 1463s # Alignment must be a multiple of sizeof(void*) 1463s ok 28 /utils/aligned-mem 1463s # /utils/free-sized summary: Check that g_free_sized() works 1463s ok 29 /utils/free-sized 1463s ok 30 /utils/nullify 1463s ok 31 /utils/atexit 1463s ok 32 /utils/check-setuid 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1463s ok 33 /utils/int-limits 1463s ok 34 /utils/clear-list 1463s ok 35 /utils/clear-slist 1463s # Start of specialdir tests 1463s ok 36 /utils/specialdir/desktop 1463s # End of specialdir tests 1463s # Start of clear-pointer tests 1463s ok 37 /utils/clear-pointer/side-effects 1463s # End of clear-pointer tests 1463s # Start of aligned-mem tests 1463s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1463s ok 38 /utils/aligned-mem/alignment 1463s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1463s ok 39 /utils/aligned-mem/zeroed 1463s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1463s ok 40 /utils/aligned-mem/free-sized 1463s # Start of subprocess tests 1463s # End of subprocess tests 1463s # End of aligned-mem tests 1463s # End of utils tests 1463s ok - glib/utils-c-99.test 1463s # Running test: glib/gdbus-names.test 1463s TAP version 14 1463s # random seed: R02S978646a3a3b18119497edc73b568e5de 1463s 1..10 1463s # Start of gdbus tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/validate-names/.dirs/runtime 1463s ok 1 /gdbus/validate-names 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-own-name/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 2 /gdbus/bus-own-name 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 3 /gdbus/bus-watch-name 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 4 /gdbus/bus-watch-name-auto-start 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s dbus-daemon[1649]: [session uid=1000 pid=1649] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=1640 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1463s # Acquired a message bus connection 1463s dbus-daemon[1649]: [session uid=1000 pid=1649] Successfully activated service 'org.gtk.GDBus.FakeService' 1463s # Acquired the name org.gtk.GDBus.FakeService 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 6 /gdbus/bus-watch-name-closures 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 7 /gdbus/bus-watch-name-closures-auto-start 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-watch-different-context/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 8 /gdbus/bus-watch-different-context 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/bus-unwatch-early/.dirs/runtime 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 9 /gdbus/bus-unwatch-early 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4UZIZ2/gdbus/escape-object-path/.dirs/runtime 1463s ok 10 /gdbus/escape-object-path 1463s # End of gdbus tests 1463s ok - glib/gdbus-names.test 1463s # Running test: glib/rcbox.test 1463s TAP version 14 1463s # random seed: R02S4bf5162f9155c10a71ea94ba50d0e01f 1463s 1..8 1463s # Start of rcbox tests 1463s ok 1 /rcbox/new 1463s # global_point = 0xaa530b8 1463s ok 2 /rcbox/release-full 1463s # global_point_a = 0xaa530b8 1463s # global_point_b = 0xaa5afb8 1463s ok 3 /rcbox/dup 1463s ok 4 /rcbox/alignment 1463s # End of rcbox tests 1463s # Start of atomic-rcbox tests 1463s ok 5 /atomic-rcbox/new 1463s # global_point = 0xaa531e8 1463s ok 6 /atomic-rcbox/release-full 1463s # global_point_a = 0xaa531e8 1463s # global_point_b = 0xaa531c8 1463s ok 7 /atomic-rcbox/dup 1463s ok 8 /atomic-rcbox/alignment 1463s # End of atomic-rcbox tests 1463s ok - glib/rcbox.test 1463s # Running test: glib/macros-c-89.test 1463s TAP version 14 1463s # random seed: R02Se301fb8d7370ae4e0149f7b971b18553 1463s 1..4 1463s # Start of C tests 1463s ok 1 /C/standard-89 1463s # End of C tests 1463s # Start of alignof tests 1463s ok 2 /alignof/fallback 1463s # End of alignof tests 1463s # Start of assert tests 1463s ok 3 /assert/static 1463s # End of assert tests 1463s # Start of struct tests 1463s ok 4 /struct/sizeof_member 1463s # End of struct tests 1463s ok - glib/macros-c-89.test 1463s # Running test: glib/simple-async-result.test 1463s TAP version 14 1463s # random seed: R02Sd51b7ae49a9af23660ecab8dc4fd7d0e 1463s 1..2 1463s # Start of gio tests 1463s # Start of simple-async-result tests 1463s ok 1 /gio/simple-async-result/test 1463s # GLib-GIO-DEBUG: GTask 0x3f1a218 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1463s ok 2 /gio/simple-async-result/valid 1463s # End of simple-async-result tests 1463s # End of gio tests 1463s ok - glib/simple-async-result.test 1463s # Running test: glib/gdbus-proxy-unique-name.test 1463s TAP version 14 1463s # random seed: R02Sf556146388bf18db277065dc90d35968 1463s 1..1 1463s # Start of gdbus tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_TICPZ2/gdbus/proxy-unique-name/.dirs/runtime 1463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 1 /gdbus/proxy-unique-name 1463s # End of gdbus tests 1463s ok - glib/gdbus-proxy-unique-name.test 1463s # Running test: glib/gdatetime.test 1463s TAP version 14 1463s # random seed: R02S095cb3d1aaff0efa4afa14c5c753b92d 1463s 1..68 1463s # Start of GDateTime tests 1463s # Bug Reference: http://bugzilla.gnome.org/702674 1463s ok 1 /GDateTime/invalid 1463s ok 2 /GDateTime/add_days 1463s ok 3 /GDateTime/add_full 1463s ok 4 /GDateTime/add_hours 1463s ok 5 /GDateTime/add_minutes 1463s ok 6 /GDateTime/add_months 1463s ok 7 /GDateTime/add_seconds 1463s ok 8 /GDateTime/add_weeks 1463s ok 9 /GDateTime/add_years 1463s ok 10 /GDateTime/compare 1463s ok 11 /GDateTime/diff 1463s ok 12 /GDateTime/equal 1463s ok 13 /GDateTime/get_day_of_week 1463s ok 14 /GDateTime/get_day_of_month 1463s ok 15 /GDateTime/get_day_of_year 1463s ok 16 /GDateTime/get_hour 1463s ok 17 /GDateTime/get_microsecond 1463s ok 18 /GDateTime/get_minute 1463s ok 19 /GDateTime/get_month 1463s ok 20 /GDateTime/get_second 1463s ok 21 /GDateTime/get_utc_offset 1463s ok 22 /GDateTime/get_year 1463s ok 23 /GDateTime/hash 1463s ok 24 /GDateTime/new_from_unix 1463s ok 25 /GDateTime/new_from_unix_utc 1463s ok 26 /GDateTime/new_from_timeval 1463s ok 27 /GDateTime/new_from_timeval_utc 1463s ok 28 /GDateTime/new_from_iso8601 1463s ok 29 /GDateTime/new_full 1463s ok 30 /GDateTime/now 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1463s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1463s # %a -> expected: Sat 1463s # %a -> actual: Sat 1463s # %A -> expected: Saturday 1463s # %A -> actual: Saturday 1463s # %b -> expected: Oct 1463s # %b -> actual: Oct 1463s # %B -> expected: October 1463s # %B -> actual: October 1463s # %d -> expected: 24 1463s # %d -> actual: 24 1463s # %d -> expected: 01 1463s # %d -> actual: 01 1463s # %e -> expected: 24 1463s # %e -> actual: 24 1463s # %e -> expected:  1 1463s # %e -> actual:  1 1463s # %f -> expected: 001000 1463s # %f -> actual: 001000 1463s # %h -> expected: Oct 1463s # %h -> actual: Oct 1463s # %H -> expected: 00 1463s # %H -> actual: 00 1463s # %H -> expected: 15 1463s # %H -> actual: 15 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %I -> expected: 03 1463s # %I -> actual: 03 1463s # %j -> expected: 297 1463s # %j -> actual: 297 1463s # %k -> expected:  0 1463s # %k -> actual:  0 1463s # %k -> expected: 13 1463s # %k -> actual: 13 1463s # %l -> expected: 12 1463s # %l -> actual: 12 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %l -> expected:  1 1463s # %l -> actual:  1 1463s # %l -> expected: 10 1463s # %l -> actual: 10 1463s # %m -> expected: 10 1463s # %m -> actual: 10 1463s # %M -> expected: 00 1463s # %M -> actual: 00 1463s # %p -> expected: AM 1463s # %p -> actual: AM 1463s # %p -> expected: PM 1463s # %p -> actual: PM 1463s # %P -> expected: am 1463s # %P -> actual: am 1463s # %P -> expected: pm 1463s # %P -> actual: pm 1463s # %r -> expected: 12:00:00 AM 1463s # %r -> actual: 12:00:00 AM 1463s # %r -> expected: 01:13:13 PM 1463s # %r -> actual: 01:13:13 PM 1463s # %R -> expected: 00:00 1463s # %R -> actual: 00:00 1463s # %R -> expected: 13:13 1463s # %R -> actual: 13:13 1463s # %S -> expected: 00 1463s # %S -> actual: 00 1463s # %t -> expected: 1463s # %t -> actual: 1463s # %u -> expected: 6 1463s # %u -> actual: 6 1463s # %x -> expected: 10/24/09 1463s # %x -> actual: 10/24/09 1463s # %X -> expected: 00:00:00 1463s # %X -> actual: 00:00:00 1463s # %X -> expected: 13:14:15 1463s # %X -> actual: 13:14:15 1463s # %y -> expected: 09 1463s # %y -> actual: 09 1463s # %Y -> expected: 2009 1463s # %Y -> actual: 2009 1463s # %% -> expected: % 1463s # %% -> actual: % 1463s # % -> expected: 1463s # % -> actual: 1463s # %9 -> expected: (null) 1463s # %9 -> actual: (null) 1463s # %Z -> expected: UTC 1463s # %Z -> actual: UTC 1463s ok 32 /GDateTime/printf 1463s # %a -> expected: 1463s # %a -> actual: 1463s # %A -> expected: 1463s # %A -> actual: 1463s # %b -> expected: 10 1463s # %b -> actual: 10 1463s # %B -> expected: 10 1463s # %B -> actual: 10 1463s # %c -> expected: 2009ǯ1024 0000ʬ00 1463s # %c -> actual: 2009ǯ1024 0000ʬ00 1463s # %C -> expected: 20 1463s # %C -> actual: 20 1463s # %d -> expected: 24 1463s # %d -> actual: 24 1463s # %d -> expected: 01 1463s # %d -> actual: 01 1463s # %e -> expected: 24 1463s # %e -> actual: 24 1463s # %h -> expected: 10 1463s # %h -> actual: 10 1463s # %H -> expected: 00 1463s # %H -> actual: 00 1463s # %H -> expected: 15 1463s # %H -> actual: 15 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %I -> expected: 03 1463s # %I -> actual: 03 1463s # %j -> expected: 297 1463s # %j -> actual: 297 1463s # %k -> expected: ?0 1463s # %k -> actual: ?0 1463s # %k -> expected: 13 1463s # %k -> actual: 13 1463s # %l -> expected: 12 1463s # %l -> actual: 12 1463s # %I -> expected: 12 1463s # %I -> actual: 12 1463s # %l -> expected: ?1 1463s # %l -> actual: ?1 1463s # %l -> expected: 10 1463s # %l -> actual: 10 1463s # %m -> expected: 10 1463s # %m -> actual: 10 1463s # %M -> expected: 00 1463s # %M -> actual: 00 1463s # %p -> expected: 1463s # %p -> actual: 1463s # %p -> expected: 1463s # %p -> actual: 1463s # %P -> expected: 1463s # %P -> actual: 1463s # %P -> expected: 1463s # %P -> actual: 1463s # %r -> expected: 1200ʬ00 1463s # %r -> actual: 1200ʬ00 1463s # %r -> expected: 0113ʬ13 1463s # %r -> actual: 0113ʬ13 1463s # %R -> expected: 00:00 1463s # %R -> actual: 00:00 1464s # %R -> expected: 13:13 1464s # %R -> actual: 13:13 1464s # %S -> expected: 00 1464s # %S -> actual: 00 1464s # %t -> expected: 1464s # %t -> actual: 1464s # %u -> expected: 6 1464s # %u -> actual: 6 1464s # %x -> expected: 2009ǯ1024 1464s # %x -> actual: 2009ǯ1024 1464s # %X -> expected: 0000ʬ00 1464s # %X -> actual: 0000ʬ00 1464s # %X -> expected: 1314ʬ15 1464s # %X -> actual: 1314ʬ15 1464s # %y -> expected: 09 1464s # %y -> actual: 09 1464s # %Y -> expected: 2009 1464s # %Y -> actual: 2009 1464s # %% -> expected: % 1464s # %% -> actual: % 1464s # % -> expected: 1464s # % -> actual: 1464s # %9 -> expected: (null) 1464s # %9 -> actual: (null) 1464s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1464s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1464s # %EC -> expected: ʿ 1464s # %EC -> actual: ʿ 1464s # %Ex -> expected: ʿ21ǯ1024 1464s # %Ex -> actual: ʿ21ǯ1024 1464s # %EX -> expected: 0000ʬ00 1464s # %EX -> actual: 0000ʬ00 1464s # %Ey -> expected: 21 1464s # %Ey -> actual: 21 1464s # %EY -> expected: ʿ21ǯ 1464s # %EY -> actual: ʿ21ǯ 1464s ok 33 /GDateTime/non_utf8_printf 1464s # ???? -> expected: ???? 1464s # ???? -> actual: ???? 1464s # %H?%M -> expected: 23?15 1464s # %H?%M -> actual: 23?15 1464s # %H?%M -> expected: 23?15 1464s # %H?%M -> actual: 23?15 1464s ok 34 /GDateTime/format_unrepresentable 1464s ok 35 /GDateTime/format_iso8601 1464s ok 36 /GDateTime/strftime 1464s # %d -> expected: 01 1464s # %d -> actual: 01 1464s # %_d -> expected: 1 1464s # %_d -> actual: 1 1464s # %-d -> expected: 1 1464s # %-d -> actual: 1 1464s # %0d -> expected: 01 1464s # %0d -> actual: 01 1464s # %d -> expected: 21 1464s # %d -> actual: 21 1464s # %_d -> expected: 21 1464s # %_d -> actual: 21 1464s # %-d -> expected: 21 1464s # %-d -> actual: 21 1464s # %0d -> expected: 21 1464s # %0d -> actual: 21 1464s # %e -> expected:  1 1464s # %e -> actual:  1 1464s # %_e -> expected: 1 1464s # %_e -> actual: 1 1464s # %-e -> expected: 1 1464s # %-e -> actual: 1 1464s # %0e -> expected: 01 1464s # %0e -> actual: 01 1464s # %e -> expected: 21 1464s # %e -> actual: 21 1464s # %_e -> expected: 21 1464s # %_e -> actual: 21 1464s # %-e -> expected: 21 1464s # %-e -> actual: 21 1464s # %0e -> expected: 21 1464s # %0e -> actual: 21 1464s # %a -> expected: Thu 1464s # %a -> actual: Thu 1464s # %^a -> expected: THU 1464s # %^a -> actual: THU 1464s # %#a -> expected: THU 1464s # %#a -> actual: THU 1464s # %A -> expected: Thursday 1464s # %A -> actual: Thursday 1464s # %^A -> expected: THURSDAY 1464s # %^A -> actual: THURSDAY 1464s # %#A -> expected: THURSDAY 1464s # %#A -> actual: THURSDAY 1464s # %b -> expected: Jan 1464s # %b -> actual: Jan 1464s # %^b -> expected: JAN 1464s # %^b -> actual: JAN 1464s # %#b -> expected: JAN 1464s # %#b -> actual: JAN 1464s # %B -> expected: January 1464s # %B -> actual: January 1464s # %^B -> expected: JANUARY 1464s # %^B -> actual: JANUARY 1464s # %#B -> expected: JANUARY 1464s # %#B -> actual: JANUARY 1464s # %h -> expected: Jan 1464s # %h -> actual: Jan 1464s # %^h -> expected: JAN 1464s # %^h -> actual: JAN 1464s # %#h -> expected: JAN 1464s # %#h -> actual: JAN 1464s # %Z -> expected: UTC 1464s # %Z -> actual: UTC 1464s # %^Z -> expected: UTC 1464s # %^Z -> actual: UTC 1464s # %#Z -> expected: utc 1464s # %#Z -> actual: utc 1464s # %H -> expected: 01 1464s # %H -> actual: 01 1464s # %_H -> expected: 1 1464s # %_H -> actual: 1 1464s # %-H -> expected: 1 1464s # %-H -> actual: 1 1464s # %0H -> expected: 01 1464s # %0H -> actual: 01 1464s # %H -> expected: 21 1464s # %H -> actual: 21 1464s # %_H -> expected: 21 1464s # %_H -> actual: 21 1464s # %-H -> expected: 21 1464s # %-H -> actual: 21 1464s # %0H -> expected: 21 1464s # %0H -> actual: 21 1464s # %I -> expected: 01 1464s # %I -> actual: 01 1464s # %_I -> expected: 1 1464s # %_I -> actual: 1 1464s # %-I -> expected: 1 1464s # %-I -> actual: 1 1464s # %0I -> expected: 01 1464s # %0I -> actual: 01 1464s # %I -> expected: 11 1464s # %I -> actual: 11 1464s # %_I -> expected: 11 1464s # %_I -> actual: 11 1464s # %-I -> expected: 11 1464s # %-I -> actual: 11 1464s # %0I -> expected: 11 1464s # %0I -> actual: 11 1464s # %k -> expected:  1 1464s # %k -> actual:  1 1464s # %_k -> expected: 1 1464s # %_k -> actual: 1 1464s # %-k -> expected: 1 1464s # %-k -> actual: 1 1464s # %0k -> expected: 01 1464s # %0k -> actual: 01 1464s # %l -> expected:  1 1464s # %l -> actual:  1 1464s # %_l -> expected: 1 1464s # %_l -> actual: 1 1464s # %-l -> expected: 1 1464s # %-l -> actual: 1 1464s # %0l -> expected: 01 1464s # %0l -> actual: 01 1464s # %l -> expected: 11 1464s # %l -> actual: 11 1464s # %_l -> expected: 11 1464s # %_l -> actual: 11 1464s # %-l -> expected: 11 1464s # %-l -> actual: 11 1464s # %0l -> expected: 11 1464s # %0l -> actual: 11 1464s # %p -> expected: AM 1464s # %p -> actual: AM 1464s # %^p -> expected: AM 1464s # %^p -> actual: AM 1464s # %#p -> expected: am 1464s # %#p -> actual: am 1464s # %P -> expected: am 1464s # %P -> actual: am 1464s # %^P -> expected: AM 1464s # %^P -> actual: AM 1464s # %#P -> expected: am 1464s # %#P -> actual: am 1464s # %OH -> expected: ۲۳ 1464s # %OH -> actual: ۲۳ 1464s # %OI -> expected: ۱۱ 1464s # %OI -> actual: ۱۱ 1464s # %OM -> expected: ۰۰ 1464s # %OM -> actual: ۰۰ 1464s # %Om -> expected: ۰۷ 1464s # %Om -> actual: ۰۷ 1464s # %0Om -> expected: ۰۷ 1464s # %0Om -> actual: ۰۷ 1464s # %-Om -> expected: ۷ 1464s # %-Om -> actual: ۷ 1464s # %_Om -> expected: ۷ 1464s # %_Om -> actual: ۷ 1464s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1464s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1464s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1464s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1464s # %C -> expected: 20 1464s # %C -> actual: 20 1464s # %EC -> expected: 20 1464s # %EC -> actual: 20 1464s # %x -> expected: 02/01/09 1464s # %x -> actual: 02/01/09 1464s # %Ex -> expected: 02/01/09 1464s # %Ex -> actual: 02/01/09 1464s # %X -> expected: 01:02:03 1464s # %X -> actual: 01:02:03 1464s # %EX -> expected: 01:02:03 1464s # %EX -> actual: 01:02:03 1464s # %y -> expected: 09 1464s # %y -> actual: 09 1464s # %Ey -> expected: 09 1464s # %Ey -> actual: 09 1464s # %Y -> expected: 2009 1464s # %Y -> actual: 2009 1464s # %EY -> expected: 2009 1464s # %EY -> actual: 2009 1464s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1464s # Bug Reference: http://bugzilla.gnome.org/749206 1464s # %B -> expected: January 1464s # %B -> actual: January 1464s # %OB -> expected: February 1464s # %OB -> actual: February 1464s # %b -> expected: Mar 1464s # %b -> actual: Mar 1464s # %Ob -> expected: Apr 1464s # %Ob -> actual: Apr 1464s # %h -> expected: May 1464s # %h -> actual: May 1464s # %Oh -> expected: Jun 1464s # %Oh -> actual: Jun 1464s # %B -> expected: Juli 1464s # %B -> actual: Juli 1464s # %OB -> expected: August 1464s # %OB -> actual: August 1464s # %b -> expected: Sep 1464s # %b -> actual: Sep 1464s # %Ob -> expected: Okt 1464s # %Ob -> actual: Okt 1464s # %h -> expected: Nov 1464s # %h -> actual: Nov 1464s # %Oh -> expected: Dez 1464s # %Oh -> actual: Dez 1464s # %B -> expected: enero 1464s # %B -> actual: enero 1464s # %OB -> expected: febrero 1464s # %OB -> actual: febrero 1464s # %b -> expected: mar 1464s # %b -> actual: mar 1464s # %Ob -> expected: abr 1464s # %Ob -> actual: abr 1464s # %h -> expected: may 1464s # %h -> actual: may 1464s # %Oh -> expected: jun 1464s # %Oh -> actual: jun 1464s # %B -> expected: juillet 1464s # %B -> actual: juillet 1464s # %OB -> expected: août 1464s # %OB -> actual: août 1464s # %b -> expected: sept. 1464s # %b -> actual: sept. 1464s # %Ob -> expected: oct. 1464s # %Ob -> actual: oct. 1464s # %h -> expected: nov. 1464s # %h -> actual: nov. 1464s # %Oh -> expected: déc. 1464s # %Oh -> actual: déc. 1464s # %B -> expected: Ιανουαρίου 1464s # %B -> actual: Ιανουαρίου 1464s # %B -> expected: Φεβρουαρίου 1464s # %B -> actual: Φεβρουαρίου 1464s # %B -> expected: Μαρτίου 1464s # %B -> actual: Μαρτίου 1464s # %OB -> expected: Απρίλιος 1464s # %OB -> actual: Απρίλιος 1464s # %OB -> expected: Μάιος 1464s # %OB -> actual: Μάιος 1464s # %OB -> expected: Ιούνιος 1464s # %OB -> actual: Ιούνιος 1464s # %b -> expected: Ιουλ 1464s # %b -> actual: Ιουλ 1464s # %Ob -> expected: Αύγ 1464s # %Ob -> actual: Αύγ 1464s # %B -> expected: svibnja 1464s # %B -> actual: svibnja 1464s # %B -> expected: lipnja 1464s # %B -> actual: lipnja 1464s # %B -> expected: srpnja 1464s # %B -> actual: srpnja 1464s # %OB -> expected: Kolovoz 1464s # %OB -> actual: kolovoz 1464s # %OB -> expected: Rujan 1464s # %OB -> actual: rujan 1464s # %OB -> expected: Listopad 1464s # %OB -> actual: listopad 1464s # %b -> expected: Stu 1464s # %b -> actual: stu 1464s # %Ob -> expected: Pro 1464s # %Ob -> actual: pro 1464s # %B -> expected: sausio 1464s # %B -> actual: sausio 1464s # %B -> expected: vasario 1464s # %B -> actual: vasario 1464s # %B -> expected: kovo 1464s # %B -> actual: kovo 1464s # %OB -> expected: balandis 1464s # %OB -> actual: balandis 1464s # %OB -> expected: gegužė 1464s # %OB -> actual: gegužė 1464s # %OB -> expected: birželis 1464s # %OB -> actual: birželis 1464s # %b -> expected: liep. 1464s # %b -> actual: liep. 1464s # %Ob -> expected: rugp. 1464s # %Ob -> actual: rugp. 1464s # %B -> expected: maja 1464s # %B -> actual: maja 1464s # %B -> expected: czerwca 1464s # %B -> actual: czerwca 1464s # %B -> expected: lipca 1464s # %B -> actual: lipca 1464s # %OB -> expected: sierpień 1464s # %OB -> actual: sierpień 1464s # %OB -> expected: wrzesień 1464s # %OB -> actual: wrzesień 1464s # %OB -> expected: październik 1464s # %OB -> actual: październik 1464s # %b -> expected: lis 1464s # %b -> actual: lis 1464s # %Ob -> expected: gru 1464s # %Ob -> actual: gru 1464s # %B -> expected: января 1464s # %B -> actual: января 1464s # %B -> expected: февраля 1464s # %B -> actual: февраля 1464s # %B -> expected: марта 1464s # %B -> actual: марта 1464s # %OB -> expected: Апрель 1464s # %OB -> actual: Апрель 1464s # %OB -> expected: Май 1464s # %OB -> actual: Май 1464s # %OB -> expected: Июнь 1464s # %OB -> actual: Июнь 1464s # %b -> expected: июл 1464s # %b -> actual: июл 1464s # %Ob -> expected: авг 1464s # %Ob -> actual: авг 1464s # %b -> expected: мая 1464s # %b -> actual: мая 1464s # %Ob -> expected: май 1464s # %Ob -> actual: май 1464s ok 38 /GDateTime/month_names 1464s ok 39 /GDateTime/to_local 1464s ok 40 /GDateTime/to_unix 1464s ok 41 /GDateTime/to_timeval 1464s ok 42 /GDateTime/to_utc 1464s ok 43 /GDateTime/now_utc 1464s ok 44 /GDateTime/dst 1464s # Bug Reference: http://bugzilla.gnome.org/642935 1464s ok 45 /GDateTime/test_z 1464s # Executing: glib/gdatetime.test 1465s ok 46 /GDateTime/test-all-dates 1465s # slow test /GDateTime/test-all-dates executed in 1.65 secs 1465s ok 47 /GDateTime/unix_usec 1465s # Start of new_from_unix tests 1465s # Bug Reference: http://bugzilla.gnome.org/782089 1465s ok 48 /GDateTime/new_from_unix/overflow 1465s # End of new_from_unix tests 1465s # Start of new_from_timeval tests 1465s # Bug Reference: http://bugzilla.gnome.org/782089 1465s # Maximum supported GTimeVal.tv_sec = 2147483647 1465s ok 49 /GDateTime/new_from_timeval/overflow 1465s # End of new_from_timeval tests 1465s # Start of new_from_iso8601 tests 1465s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1465s # Vector 0: 1990-11-01T10:21:17Z 1465s # Vector 1: 19901101T102117Z 1465s # Vector 2: 1970-01-01T00:00:17.12Z 1465s # Vector 3: 1970-01-01T00:00:17.1234Z 1465s # Vector 4: 1970-01-01T00:00:17.123456Z 1465s # Vector 5: 1980-02-22T12:36:00+02:00 1465s # Vector 6: 1990-12-31T15:59:60-08:00 1465s # Vector 7: 1465s # Vector 8: x 1465s # Vector 9: 123x 1465s # Vector 10: 2001-10+x 1465s # Vector 11: 1980-02-22T 1465s # Vector 12: 2001-10-08Tx 1465s # Vector 13: 2001-10-08T10:11x 1465s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1465s # Vector 15: 1980-02-22T10:36:00Zulu 1465s # Vector 16: 2T0+819855292164632335 1465s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1465s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1465s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1465s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1465s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1465s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1465s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1465s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1465s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1465s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1465s # Vector 27: 20180803T140805.446178377+0100 1465s # Vector 28: 21474836480803T140805.446178377+0100 1465s # Vector 29: 20181303T140805.446178377+0100 1465s # Vector 30: 20180003T140805.446178377+0100 1465s # Vector 31: 20180800T140805.446178377+0100 1465s # Vector 32: 20180832T140805.446178377+0100 1465s # Vector 33: 20180803T240805.446178377+0100 1465s # Vector 34: 20180803T146005.446178377+0100 1465s # Vector 35: 20180803T140863.446178377+0100 1465s # Vector 36: 20180803T140805.446178377+10000 1465s # Vector 37: -0005-01-01T00:00:00Z 1465s # Vector 38: 2018-08-06 1465s # Vector 39: 20180803T140805,446178377+0100 1465s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1465s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1465s # Vector 42: 1990-11-01T10:21:17 1465s # Vector 43: 1719W462 407777-07 1465s # Vector 44: 4011090 260528Z 1465s # Vector 45: 0000W011 228214-22 1465s ok 50 /GDateTime/new_from_iso8601/2 1465s # End of new_from_iso8601 tests 1465s # Start of format_mixed tests 1465s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1465s # %b -> expected: mar 1465s # %b -> actual: Mar 1465s # %B -> expected: march 1465s # %B -> actual: March 1465s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1465s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1465s # %b -> expected: mar 1465s # %b -> actual: Mar 1465s # %B -> expected: march 1465s # %B -> actual: March 1465s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1465s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1465s # %b -> expected: Mär 1465s # %b -> actual: Mär 1465s # %B -> expected: März 1465s # %B -> actual: März 1465s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1465s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1465s # %b -> expected: Mär 1465s # %b -> actual: Mär 1465s # %B -> expected: März 1465s # %B -> actual: März 1465s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1465s # End of format_mixed tests 1465s # Start of strftime tests 1465s # %r -> expected: (null) 1465s # %r -> actual: (null) 1465s ok 55 /GDateTime/strftime/error_handling 1465s # End of strftime tests 1465s # Start of eras tests 1465s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1465s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1465s # %EC -> expected: 令和 1465s # %EC -> actual: 令和 1465s # %Ex -> expected: 令和05年06月01日 1465s # %Ex -> actual: 令和05年06月01日 1465s # %EX -> expected: 00時00分00秒 1465s # %EX -> actual: 00時00分00秒 1465s # %Ey -> expected: 05 1465s # %Ey -> actual: 05 1465s # %EY -> expected: 令和05年 1465s # %EY -> actual: 令和05年 1465s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1465s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1465s # %EC -> expected: 平成 1465s # %EC -> actual: 平成 1465s # %Ex -> expected: 平成31年04月30日 1465s # %Ex -> actual: 平成31年04月30日 1465s # %EX -> expected: 00時00分00秒 1465s # %EX -> actual: 00時00分00秒 1465s # %Ey -> expected: 31 1465s # %Ey -> actual: 31 1465s # %EY -> expected: 平成31年 1465s # %EY -> actual: 平成31年 1465s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1465s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1465s # %EC -> expected: 昭和 1465s # %EC -> actual: 昭和 1465s # %Ex -> expected: 昭和元年12月25日 1465s # %Ex -> actual: 昭和元年12月25日 1465s # %EX -> expected: 00時00分00秒 1465s # %EX -> actual: 00時00分00秒 1465s # %Ey -> expected: 01 1465s # %Ey -> actual: 01 1465s # %EY -> expected: 昭和元年 1465s # %EY -> actual: 昭和元年 1465s ok 56 /GDateTime/eras/japan 1465s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1465s # Vector 0: 1465s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1465s # 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年 1465s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1465s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1465s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1465s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1465s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1465s # Vector 8: + 1465s # Vector 9: +: 1465s # Vector 10: +:: 1465s # Vector 11: +:200 1465s # Vector 12: +:2nonsense 1465s # Vector 13: +:2nonsense: 1465s # Vector 14: +:2: 1465s # Vector 15: +:2:: 1465s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1465s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1465s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1465s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1465s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1465s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1465s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1465s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1465s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1465s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1465s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1465s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1465s # Vector 28: +:2:2020/01/01 1465s # Vector 29: +:2:2020/01/01: 1465s # Vector 30: +:2:2020/01/01:: 1465s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1465s # Vector 32: +:2:2020/01/01:+* 1465s # Vector 33: +:2:2020/01/01:+*: 1465s # Vector 34: +:2:2020/01/01:+*:: 1465s # Vector 35: +:2:2020/01/01:+*:令和 1465s # Vector 36: +:2:2020/01/01:+*:令和: 1465s # Vector 37: +:2:2020/01/01:+*:令和:; 1465s ok 58 /GDateTime/eras/parsing 1465s # End of eras tests 1465s # End of GDateTime tests 1465s # Start of GTimeZone tests 1465s ok 59 /GTimeZone/find-interval 1465s ok 60 /GTimeZone/adjust-time 1465s ok 61 /GTimeZone/no-header 1465s ok 62 /GTimeZone/no-header-identifier 1465s ok 63 /GTimeZone/posix-parse 1465s # Bug Reference: http://bugzilla.gnome.org/697715 1465s ok 64 /GTimeZone/floating-point 1465s # System time zone identifier: Etc/UTC 1465s ok 65 /GTimeZone/identifier 1465s # Vector 0: -158400 1465s # Vector 1: -10000 1465s # Vector 2: -3600 1465s # Vector 3: -61 1465s # Vector 4: -60 1465s # Vector 5: -59 1465s # Vector 6: 0 1465s # Vector 7: 59 1465s # Vector 8: 60 1465s # Vector 9: 61 1465s # Vector 10: 3600 1465s # Vector 11: 10000 1465s # Vector 12: 158400 1465s ok 66 /GTimeZone/new-offset 1465s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1465s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1465s ok 67 /GTimeZone/parse-rfc8536 1465s # /GTimeZone/caching summary: GTimeZone instances are cached 1465s ok 68 /GTimeZone/caching 1465s # End of GTimeZone tests 1465s ok - glib/gdatetime.test 1465s # Running test: glib/gio-tool.py.test 1465s TAP version 13 1465s ok 1 __main__.TestGioTool.test_help 1465s # tmpdir: /tmp/tmpohb3jljk 1465s # gio: /usr/bin/gio 1465s # Running: ['/usr/bin/gio', '--help'] 1465s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1465s # Output: Usage: 1465s # gio COMMAND [ARGS…] 1465s # 1465s # Commands: 1465s # help Print help 1465s # version Print version 1465s # cat Concatenate files to standard output 1465s # copy Copy one or more files 1465s # info Show information about locations 1465s # launch Launch an application from a desktop file 1465s # list List the contents of locations 1465s # mime Get or set the handler for a mimetype 1465s # mkdir Create directories 1465s # monitor Monitor files and directories for changes 1465s # mount Mount or unmount the locations 1465s # move Move one or more files 1465s # open Open files with the default application 1465s # rename Rename a file 1465s # remove Delete one or more files 1465s # save Read from standard input and save 1465s # set Set a file attribute 1465s # trash Move files or directories to the trash 1465s # tree Lists the contents of locations in a tree 1465s # 1465s # Use “gio help COMMAND” to get detailed help. 1465s # Running: ['/usr/bin/gio', 'help'] 1465s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1465s # Output: Usage: 1465s # gio COMMAND [ARGS…] 1465s # 1465s # Commands: 1465s # help Print help 1465s # version Print version 1465s # cat Concatenate files to standard output 1465s # copy Copy one or more files 1465s # info Show information about locations 1465s # launch Launch an application from a desktop file 1465s # list List the contents of locations 1465s # mime Get or set the handler for a mimetype 1465s # mkdir Create directories 1465s # monitor Monitor files and directories for changes 1465s # mount Mount or unmount the locations 1465s # move Move one or more files 1465s # open Open files with the default application 1465s # rename Rename a file 1465s # remove Delete one or more files 1465s # save Read from standard input and save 1465s # set Set a file attribute 1465s # trash Move files or directories to the trash 1465s # tree Lists the contents of locations in a tree 1465s # 1465s # Use “gio help COMMAND” to get detailed help. 1465s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1465s # tmpdir: /tmp/tmpk45qrtww 1465s # gio: /usr/bin/gio 1465s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpk45qrtww/tmpy_g433oj'] 1465s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1465s # Output: uri: file:///tmp/tmpk45qrtww/tmpy_g433oj 1465s # local path: /tmp/tmpk45qrtww/tmpy_g433oj 1465s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-zuspki/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=34539,subvol=/lxd/containers/autopkgtest-lxd-zuspki 1465s # attributes: 1465s # standard::content-type: application/x-zerosize 1465s ok 3 __main__.TestGioTool.test_no_args 1465s # tmpdir: /tmp/tmp3r721s9f 1465s # gio: /usr/bin/gio 1465s # Running: ['/usr/bin/gio'] 1465s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1465s 1..3 1465s ok - glib/gio-tool.py.test 1465s # Running test: glib/macros-c-17.test 1466s TAP version 14 1466s # random seed: R02S79bde97c8bb7891073de6c1c32581376 1466s 1..4 1466s # Start of C tests 1466s ok 1 /C/standard-17 1466s # End of C tests 1466s # Start of alignof tests 1466s ok 2 /alignof/fallback 1466s # End of alignof tests 1466s # Start of assert tests 1466s ok 3 /assert/static 1466s # End of assert tests 1466s # Start of struct tests 1466s ok 4 /struct/sizeof_member 1466s # End of struct tests 1466s ok - glib/macros-c-17.test 1466s # Running test: glib/gdbus-peer.test 1466s TAP version 14 1466s # random seed: R02S87e83c3deb4a822ed261a62b5238e778 1466s 1..12 1466s # Start of gdbus tests 1466s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/home 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/cache 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/system-config2 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/config 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/system-data2 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/data 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/state 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/.dirs/runtime 1466s # Testing with unix:dir address 1466s # Testing with unix:tmpdir address 1466s # Testing with unix:path address 1466s ok 1 /gdbus/peer-to-peer 1466s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/home 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/cache 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/system-config2 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/config 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/system-data2 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/data 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/state 1466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/delayed-message-processing/.dirs/runtime 1466s # Testing with unix:dir address 1467s ok 2 /gdbus/delayed-message-processing 1467s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/nonce-tcp/.dirs/runtime 1467s ok 3 /gdbus/nonce-tcp 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/tcp-anonymous/.dirs/runtime 1467s ok 4 /gdbus/tcp-anonymous 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/credentials/.dirs/runtime 1467s ok 5 /gdbus/credentials 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/codegen-peer-to-peer/.dirs/runtime 1467s # Testing with unix:dir address 1467s # Machine ID: fdb0f82726e74d9789eb68c9a9b69f4c 1467s ok 6 /gdbus/codegen-peer-to-peer 1467s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1467s # Start of peer-to-peer tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/signals/.dirs/runtime 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1467s # Testing with unix:dir address 1467s ok 7 /gdbus/peer-to-peer/signals 1467s # Start of invalid tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1467s ok 8 /gdbus/peer-to-peer/invalid/server 1467s # Start of conn tests 1467s # Start of stream tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1467s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1467s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1467s # End of stream tests 1467s # Start of addr tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1467s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W9JPZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1467s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1467s # End of addr tests 1467s # End of conn tests 1467s # End of invalid tests 1467s # End of peer-to-peer tests 1467s # End of gdbus tests 1467s ok - glib/gdbus-peer.test 1467s # Running test: glib/onceinit.test 1467s TAP version 14 1467s # random seed: R02S5db5983fdf8b6add63dfcdaf8ab03a1f 1467s 1..1 1467s # Start of thread tests 1467s ok 1 /thread/onceinit 1467s # End of thread tests 1467s ok - glib/onceinit.test 1467s # Running test: glib/glistmodel.test 1467s TAP version 14 1467s # random seed: R02S044f9a6848cbe8a7093a25e23276704c 1467s 1..18 1467s # Start of glistmodel tests 1467s # Start of store tests 1467s ok 1 /glistmodel/store/properties 1467s ok 2 /glistmodel/store/non-gobjects 1467s ok 3 /glistmodel/store/boundaries 1467s ok 4 /glistmodel/store/refcounts 1467s ok 5 /glistmodel/store/sorted 1467s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1467s ok 6 /glistmodel/store/splice-replace-middle 1467s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1467s ok 7 /glistmodel/store/splice-replace-all 1467s ok 8 /glistmodel/store/splice-noop 1467s ok 9 /glistmodel/store/splice-remove-multiple 1467s ok 10 /glistmodel/store/splice-add-multiple 1467s ok 11 /glistmodel/store/splice-wrong-type 1467s ok 12 /glistmodel/store/item-type 1467s ok 13 /glistmodel/store/remove-all 1467s ok 14 /glistmodel/store/sort 1467s ok 15 /glistmodel/store/get-item-cache 1467s ok 16 /glistmodel/store/items-changed 1467s ok 17 /glistmodel/store/past-end 1467s ok 18 /glistmodel/store/find 1467s # End of store tests 1467s # End of glistmodel tests 1467s ok - glib/glistmodel.test 1467s # Running test: glib/custom-dispatch.test 1467s TAP version 14 1467s # random seed: R02S9982b51da95e55b2406e09872cb55b97 1467s 1..2 1467s # Start of properties tests 1467s # Start of custom-dispatch tests 1467s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1467s ok 1 /properties/custom-dispatch/init 1467s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1467s ok 2 /properties/custom-dispatch/set 1467s # End of custom-dispatch tests 1467s # End of properties tests 1467s ok - glib/custom-dispatch.test 1467s # Running test: glib/repository.test 1467s TAP version 14 1467s # random seed: R02S11cfb480bebd009f057c0438bbf2a3f1 1467s 1..23 1467s # Start of repository tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/basic/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/basic/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/basic/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/basic/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/basic/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/basic/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/basic/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/basic/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/basic/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/basic/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1467s ok 1 /repository/basic 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/info/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/info/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/info/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/info/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/info/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/info/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/info/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/info/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/info/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/info/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1467s ok 2 /repository/info 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/dependencies/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/dependencies/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/dependencies/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1467s ok 3 /repository/dependencies 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/arg-info/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/arg-info/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/arg-info/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1467s ok 4 /repository/arg-info 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/callable-info/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/callable-info/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/callable-info/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1467s ok 5 /repository/callable-info 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/callback-info/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/callback-info/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/callback-info/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1467s ok 6 /repository/callback-info 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/char-types/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/char-types/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/char-types/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1467s ok 7 /repository/char-types 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/constructor-return-type/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1467s ok 8 /repository/constructor-return-type 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/enum-info-c-identifier/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1467s ok 9 /repository/enum-info-c-identifier 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/enum-info-static-methods/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/enum-info-static-methods summary: Test an enum with methods 1467s ok 10 /repository/enum-info-static-methods 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/error-quark/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/error-quark/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/error-quark/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/error-quark summary: Test finding an error quark by error domain 1467s ok 11 /repository/error-quark 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/flags-info-c-identifier/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1467s ok 12 /repository/flags-info-c-identifier 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/fundamental-ref-func/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1467s ok 13 /repository/fundamental-ref-func 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/instance-method-ownership-transfer/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1467s ok 14 /repository/instance-method-ownership-transfer 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/object-gtype-interfaces/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1467s ok 15 /repository/object-gtype-interfaces 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/signal-info-with-array-length-arg/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1467s ok 16 /repository/signal-info-with-array-length-arg 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/type-info-name/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1467s ok 17 /repository/type-info-name 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1467s ok 18 /repository/vfunc-info-with-no-invoker 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1467s ok 19 /repository/vfunc-info-with-invoker-on-interface 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1467s ok 20 /repository/vfunc-info-with-invoker-on-object 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/find-by-gtype/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/find-by-gtype summary: Test finding a GType 1467s ok 21 /repository/find-by-gtype 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/loaded-namespaces/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1467s ok 22 /repository/loaded-namespaces 1467s # Start of base-info tests 1467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/home 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/cache 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/system-config2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/config 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/system-data2 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/data 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/state 1467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FELQZ2/repository/base-info/clear/.dirs/runtime 1467s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1467s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1467s ok 23 /repository/base-info/clear 1467s # End of base-info tests 1467s # End of repository tests 1467s ok - glib/repository.test 1467s # Running test: glib/utils.test 1467s TAP version 14 1467s # random seed: R02Sa787361ba7cb9f055d3cac36c2e05835 1467s 1..40 1467s # Start of utils tests 1467s ok 1 /utils/language-names 1467s ok 2 /utils/locale-variants 1467s ok 3 /utils/version 1467s ok 4 /utils/appname 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1467s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1467s ok 5 /utils/prgname-thread-safety 1467s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1467s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1467s ok 6 /utils/tmpdir 1467s ok 7 /utils/basic_bits 1467s ok 8 /utils/bits 1467s ok 9 /utils/swap 1467s ok 10 /utils/find-program 1467s ok 11 /utils/find-program-for-path 1467s ok 12 /utils/debug 1467s ok 13 /utils/codeset 1467s ok 14 /utils/codeset2 1467s ok 15 /utils/console-charset 1467s ok 16 /utils/gettext 1467s ok 17 /utils/username 1467s ok 18 /utils/realname 1467s ok 19 /utils/hostname 1467s ok 20 /utils/xdgdirs 1467s ok 21 /utils/specialdir 1467s # NAME: Ubuntu 1467s ok 22 /utils/os-info 1467s ok 23 /utils/clear-pointer 1467s ok 24 /utils/clear-pointer-cast 1467s ok 25 /utils/take-pointer 1467s ok 26 /utils/clear-source 1467s ok 27 /utils/misc-mem 1467s # /utils/aligned-mem summary: Aligned memory allocator 1467s # Alignment must not be zero 1467s # Alignment must be a power of two 1467s # Alignment must be a multiple of sizeof(void*) 1467s ok 28 /utils/aligned-mem 1467s # /utils/free-sized summary: Check that g_free_sized() works 1467s ok 29 /utils/free-sized 1467s ok 30 /utils/nullify 1467s ok 31 /utils/atexit 1467s ok 32 /utils/check-setuid 1467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1467s ok 33 /utils/int-limits 1467s ok 34 /utils/clear-list 1467s ok 35 /utils/clear-slist 1467s # Start of specialdir tests 1467s ok 36 /utils/specialdir/desktop 1467s # End of specialdir tests 1467s # Start of clear-pointer tests 1467s ok 37 /utils/clear-pointer/side-effects 1467s # End of clear-pointer tests 1467s # Start of aligned-mem tests 1467s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1467s ok 38 /utils/aligned-mem/alignment 1467s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1467s ok 39 /utils/aligned-mem/zeroed 1467s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1467s ok 40 /utils/aligned-mem/free-sized 1467s # Start of subprocess tests 1467s # End of subprocess tests 1467s # End of aligned-mem tests 1467s # End of utils tests 1467s ok - glib/utils.test 1467s # Running test: glib/properties-refcount3.test 1467s TAP version 14 1467s # random seed: R02Sca1a7719d949dc30d952542b9ee95a2b 1467s 1..1 1467s # Start of gobject tests 1467s # Start of refcount tests 1469s # Executing: glib/properties-refcount3.test 1474s # Executing: glib/properties-refcount3.test 1479s # Executing: glib/properties-refcount3.test 1484s # Executing: glib/properties-refcount3.test 1489s # Executing: glib/properties-refcount3.test 1494s # Executing: glib/properties-refcount3.test 1497s # 1497s # stopping 1497s # 1497s # stopped 1497s # 1497s # 4330525 158746 1497s # 1497s ok 1 /gobject/refcount/properties-3 1497s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1497s # End of refcount tests 1497s # End of gobject tests 1497s ok - glib/properties-refcount3.test 1497s # Running test: glib/unicode-encoding.test 1497s TAP version 14 1497s # random seed: R02Sffb14f3eb99ba12f6aa205491f7c0a7a 1497s 1..1 1497s # Start of unicode tests 1497s ok 1 /unicode/encoding 1497s # End of unicode tests 1497s ok - glib/unicode-encoding.test 1497s # Running test: glib/markup-subparser.test 1497s TAP version 14 1497s # random seed: R02S889f58d8540a5adf80942fc3756456c4 1498s 1..14 1498s # Start of glib tests 1498s # Start of markup tests 1498s # Start of subparser tests 1498s # Start of success tests 1498s ok 1 /glib/markup/subparser/success/0 1498s ok 2 /glib/markup/subparser/success/1 1498s ok 3 /glib/markup/subparser/success/2 1498s ok 4 /glib/markup/subparser/success/3 1498s ok 5 /glib/markup/subparser/success/4 1498s ok 6 /glib/markup/subparser/success/5 1498s ok 7 /glib/markup/subparser/success/6 1498s # End of success tests 1498s # Start of failure tests 1498s ok 8 /glib/markup/subparser/failure/0 1498s ok 9 /glib/markup/subparser/failure/1 1498s ok 10 /glib/markup/subparser/failure/2 1498s ok 11 /glib/markup/subparser/failure/3 1498s ok 12 /glib/markup/subparser/failure/4 1498s ok 13 /glib/markup/subparser/failure/5 1498s ok 14 /glib/markup/subparser/failure/6 1498s # End of failure tests 1498s # End of subparser tests 1498s # End of markup tests 1498s # End of glib tests 1498s ok - glib/markup-subparser.test 1498s # Running test: glib/relation.test 1498s TAP version 14 1498s # random seed: R02S52f304fffd7f1b5d142bdb9491f7f198 1498s 1..1 1498s # Start of glib tests 1498s ok 1 /glib/relation 1498s # End of glib tests 1498s ok - glib/relation.test 1498s # Running test: glib/binding.test 1498s TAP version 14 1498s # random seed: R02S904caa50f71c8fa2573739dfb72131e6 1498s 1..19 1498s # Start of binding tests 1498s ok 1 /binding/default 1498s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1498s ok 2 /binding/canonicalisation 1498s ok 3 /binding/bidirectional 1498s ok 4 /binding/transform 1498s ok 5 /binding/transform-default 1498s ok 6 /binding/transform-closure 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1498s ok 7 /binding/chain 1498s ok 8 /binding/sync-create 1498s ok 9 /binding/invert-boolean 1498s ok 10 /binding/same-object 1498s ok 11 /binding/unbind 1498s ok 12 /binding/unbind-weak 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1498s ok 13 /binding/unbind-multiple 1498s ok 14 /binding/fail 1498s ok 15 /binding/interface 1498s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1498s ok 16 /binding/concurrent-unbind 1498s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1498s ok 17 /binding/concurrent-finalizing 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1498s ok 18 /binding/dispose-source 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1498s ok 19 /binding/dispose-target 1498s # End of binding tests 1498s ok - glib/binding.test 1498s # Running test: glib/null-settings-backend.test 1498s TAP version 14 1498s # random seed: R02S15bdfb79766ae02f594faf5925a13eb4 1498s 1..1 1498s # Start of null-settings-backend tests 1498s ok 1 /null-settings-backend/extension-point-registered 1498s # End of null-settings-backend tests 1498s ok - glib/null-settings-backend.test 1498s # Running test: glib/buffered-input-stream.test 1498s TAP version 14 1498s # random seed: R02S9fdfc878bc7860826cd446a100e98069 1498s 1..10 1498s # Start of buffered-input-stream tests 1498s ok 1 /buffered-input-stream/peek 1498s ok 2 /buffered-input-stream/peek-buffer 1498s ok 3 /buffered-input-stream/set-buffer-size 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1498s ok 4 /buffered-input-stream/read-byte 1498s ok 5 /buffered-input-stream/read 1498s ok 6 /buffered-input-stream/read-async 1498s ok 7 /buffered-input-stream/skip 1498s ok 8 /buffered-input-stream/skip-async 1498s ok 9 /buffered-input-stream/seek 1498s # End of buffered-input-stream tests 1498s # Start of filter-input-stream tests 1498s ok 10 /filter-input-stream/close 1498s # End of filter-input-stream tests 1498s ok - glib/buffered-input-stream.test 1498s # Running test: glib/memory-output-stream.test 1498s TAP version 14 1498s # random seed: R02S1ee168031206d14c0f10615059d87081 1498s 1..10 1498s # Start of memory-output-stream tests 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1498s ok 1 /memory-output-stream/truncate 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1498s ok 2 /memory-output-stream/get-data-size 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1498s ok 3 /memory-output-stream/properties 1498s ok 4 /memory-output-stream/write-bytes 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1498s ok 5 /memory-output-stream/write-null 1498s ok 6 /memory-output-stream/writev 1498s ok 7 /memory-output-stream/writev_nonblocking 1498s ok 8 /memory-output-stream/steal_as_bytes 1498s # Start of seek tests 1498s ok 9 /memory-output-stream/seek/fixed 1498s ok 10 /memory-output-stream/seek/resizable 1498s # End of seek tests 1498s # End of memory-output-stream tests 1498s ok - glib/memory-output-stream.test 1498s # Running test: glib/defaultiface.test 1498s TAP version 14 1498s # random seed: R02S9ecb6dddf468ed095b923f93cbdea804 1498s 1..2 1498s # Start of gobject tests 1498s ok 1 /gobject/static-iface 1498s ok 2 /gobject/dynamic-iface 1498s # End of gobject tests 1498s ok - glib/defaultiface.test 1498s # Running test: glib/socket.test 1498s TAP version 14 1498s # random seed: R02S2072ee405ae1ea8bd3eb550573027d95 1498s 1..28 1498s # Start of socket tests 1499s ok 1 /socket/ipv4_sync 1499s # slow test /socket/ipv4_sync executed in 1.00 secs 1499s # Executing: glib/socket.test 1500s ok 2 /socket/ipv4_async 1500s # slow test /socket/ipv4_async executed in 1.00 secs 1500s ok 3 /socket/ipv6_sync 1500s ok 4 /socket/ipv6_async 1500s ok 5 /socket/ipv6_v4mapped 1501s ok 6 /socket/close_graceful 1501s # slow test /socket/close_graceful executed in 1.00 secs 1501s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1501s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1501s ok 8 /socket/fd_reuse 1501s ok 9 /socket/address 1501s ok 10 /socket/unix-from-fd 1501s ok 11 /socket/unix-connection 1501s ok 12 /socket/unix-connection-ancillary-data 1501s ok 13 /socket/source-postmortem 1501s ok 14 /socket/read_write 1501s ok 15 /socket/read_writev 1501s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1501s ok 16 /socket/receive_bytes 1501s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1501s ok 17 /socket/receive_bytes_from 1501s # Start of ipv4_sync tests 1501s ok 18 /socket/ipv4_sync/datagram 1501s # Start of datagram tests 1502s ok 19 /socket/ipv4_sync/datagram/timeouts 1502s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1502s # End of datagram tests 1502s # End of ipv4_sync tests 1502s # Start of ipv6_sync tests 1502s ok 20 /socket/ipv6_sync/datagram 1502s # Start of datagram tests 1503s ok 21 /socket/ipv6_sync/datagram/timeouts 1503s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1503s # End of datagram tests 1503s # End of ipv6_sync tests 1503s # Start of reuse tests 1503s ok 22 /socket/reuse/tcp 1503s ok 23 /socket/reuse/udp 1503s # End of reuse tests 1503s # Start of get_available tests 1503s ok 24 /socket/get_available/datagram 1503s ok 25 /socket/get_available/stream 1503s # End of get_available tests 1503s # Start of credentials tests 1503s # Supported on this OS: GCredentials:linux-ucred:pid=0 1503s ok 26 /socket/credentials/tcp_client 1503s # Supported on this OS: GCredentials:linux-ucred:pid=0 1503s ok 27 /socket/credentials/tcp_server 1503s # Supported on this OS: GCredentials:linux-ucred:pid=2400,uid=1000,gid=1000 1503s ok 28 /socket/credentials/unix_socketpair 1503s # End of credentials tests 1503s # End of socket tests 1503s ok - glib/socket.test 1503s # Running test: glib/bytes.test 1503s TAP version 14 1503s # random seed: R02S39da3a62018306c01dec2b27c2cb7d77 1503s 1..21 1503s # Start of bytes tests 1503s ok 1 /bytes/new 1503s ok 2 /bytes/new-take 1503s ok 3 /bytes/new-static 1503s ok 4 /bytes/new-with-free-func 1503s ok 5 /bytes/new-from-bytes 1503s ok 6 /bytes/new-from-bytes-slice 1503s ok 7 /bytes/new-from-bytes-shared-ref 1503s ok 8 /bytes/hash 1503s ok 9 /bytes/equal 1503s ok 10 /bytes/compare 1503s ok 11 /bytes/null 1503s ok 12 /bytes/get-region 1503s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1503s ok 13 /bytes/unref-null 1503s # Start of to-data tests 1503s ok 14 /bytes/to-data/transferred 1503s ok 15 /bytes/to-data/two-refs 1503s ok 16 /bytes/to-data/non-malloc 1503s ok 17 /bytes/to-data/different-free-func 1503s # End of to-data tests 1503s # Start of to-array tests 1503s ok 18 /bytes/to-array/transferred 1503s ok 19 /bytes/to-array/two-refs 1503s ok 20 /bytes/to-array/non-malloc 1503s # Start of transferred tests 1503s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1503s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1503s # End of transferred tests 1503s # End of to-array tests 1503s # End of bytes tests 1503s ok - glib/bytes.test 1503s # Running test: glib/1bit-mutex.test 1503s TAP version 14 1503s # random seed: R02Sbf8675488647052ca256f76076d38eed 1503s 1..2 1503s # Start of glib tests 1503s # Start of 1bit-mutex tests 1504s # Executing: glib/1bit-mutex.test 1505s ok 1 /glib/1bit-mutex/int 1505s # slow test /glib/1bit-mutex/int executed in 2.02 secs 1507s ok 2 /glib/1bit-mutex/pointer 1507s # slow test /glib/1bit-mutex/pointer executed in 2.02 secs 1507s # End of 1bit-mutex tests 1507s # End of glib tests 1507s ok - glib/1bit-mutex.test 1507s # Running test: glib/utils-c-89.test 1507s TAP version 14 1507s # random seed: R02S99275df7e0ddc623d3c33eef57462b35 1507s 1..40 1507s # Start of utils tests 1507s ok 1 /utils/language-names 1507s ok 2 /utils/locale-variants 1507s ok 3 /utils/version 1507s ok 4 /utils/appname 1507s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1507s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1507s ok 5 /utils/prgname-thread-safety 1507s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1507s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1507s ok 6 /utils/tmpdir 1507s ok 7 /utils/basic_bits 1507s ok 8 /utils/bits 1507s ok 9 /utils/swap 1507s ok 10 /utils/find-program 1507s ok 11 /utils/find-program-for-path 1507s ok 12 /utils/debug 1507s ok 13 /utils/codeset 1507s ok 14 /utils/codeset2 1507s ok 15 /utils/console-charset 1507s ok 16 /utils/gettext 1507s ok 17 /utils/username 1507s ok 18 /utils/realname 1507s ok 19 /utils/hostname 1507s ok 20 /utils/xdgdirs 1507s ok 21 /utils/specialdir 1507s # NAME: Ubuntu 1507s ok 22 /utils/os-info 1507s ok 23 /utils/clear-pointer 1507s ok 24 /utils/clear-pointer-cast 1507s ok 25 /utils/take-pointer 1507s ok 26 /utils/clear-source 1507s ok 27 /utils/misc-mem 1507s # /utils/aligned-mem summary: Aligned memory allocator 1507s # Alignment must not be zero 1507s # Alignment must be a power of two 1507s # Alignment must be a multiple of sizeof(void*) 1507s ok 28 /utils/aligned-mem 1507s # /utils/free-sized summary: Check that g_free_sized() works 1507s ok 29 /utils/free-sized 1507s ok 30 /utils/nullify 1507s ok 31 /utils/atexit 1507s ok 32 /utils/check-setuid 1507s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1507s ok 33 /utils/int-limits 1507s ok 34 /utils/clear-list 1507s ok 35 /utils/clear-slist 1507s # Start of specialdir tests 1507s ok 36 /utils/specialdir/desktop 1507s # End of specialdir tests 1507s # Start of clear-pointer tests 1507s ok 37 /utils/clear-pointer/side-effects 1507s # End of clear-pointer tests 1507s # Start of aligned-mem tests 1507s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1507s ok 38 /utils/aligned-mem/alignment 1507s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1507s ok 39 /utils/aligned-mem/zeroed 1507s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1507s ok 40 /utils/aligned-mem/free-sized 1507s # Start of subprocess tests 1507s # End of subprocess tests 1507s # End of aligned-mem tests 1507s # End of utils tests 1507s ok - glib/utils-c-89.test 1507s # Running test: glib/once.test 1507s TAP version 14 1507s # random seed: R02S01494098970df73e72fa5f617f934a52 1507s 1..5 1507s # Start of once tests 1507s # /once/single-threaded summary: Test g_once() usage from a single thread 1507s ok 1 /once/single-threaded 1507s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1507s ok 2 /once/multi-threaded 1507s # End of once tests 1507s # Start of once-init tests 1507s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1507s ok 3 /once-init/single-threaded 1507s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1507s ok 4 /once-init/multi-threaded 1507s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1507s ok 5 /once-init/string 1507s # End of once-init tests 1507s ok - glib/once.test 1507s # Running test: glib/socket-address.test 1507s TAP version 14 1507s # random seed: R02Sed3d7d8d0bcfcacc19911da18ef28a8d 1507s 1..2 1507s # Start of socket tests 1507s # Start of address tests 1507s # Start of unix tests 1507s ok 1 /socket/address/unix/construct 1507s ok 2 /socket/address/unix/to-string 1507s # End of unix tests 1507s # End of address tests 1507s # End of socket tests 1507s ok - glib/socket-address.test 1507s # Running test: glib/io-channel-basic.test 1507s TAP version 14 1507s # random seed: R02S87cc05f75c5582dd8c1521dbace6b80e 1507s 1..1 1507s # Start of gio tests 1507s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1507s # random seed: R02S6ffdaba73b3a52ecf6dce318d6b6086a 1507s # GLib-DEBUG: io-channel-basic: child writing 8+3555 bytes to 6 1507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1507s # GLib-DEBUG: io-channel-basic: ...from 5: 3555 bytes 1507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # GLib-DEBUG: io-channel-basic: child writing 8+2788 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 2788 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # GLib-DEBUG: io-channel-basic: child writing 8+4782 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 4782 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # GLib-DEBUG: io-channel-basic: child writing 8+1280 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 1280 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # GLib-DEBUG: io-channel-basic: child writing 8+860 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 860 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # GLib-DEBUG: io-channel-basic: child writing 8+1555 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 1555 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # Executing: glib/io-channel-basic.test 1509s # GLib-DEBUG: io-channel-basic: child writing 8+3788 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 3788 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # GLib-DEBUG: io-channel-basic: child writing 8+1421 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 1421 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # GLib-DEBUG: io-channel-basic: child writing 8+1652 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 1652 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1510s # GLib-DEBUG: io-channel-basic: child writing 8+2752 bytes to 6 1510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 5: 2752 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1510s # GLib-DEBUG: io-channel-basic: child writing 8+1465 bytes to 6 1510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 5: 1465 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1510s # GLib-DEBUG: io-channel-basic: child writing 8+4160 bytes to 6 1510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 5: 4160 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1510s # GLib-DEBUG: io-channel-basic: child writing 8+2616 bytes to 6 1510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 5: 2616 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1511s # GLib-DEBUG: io-channel-basic: child writing 8+1192 bytes to 6 1511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 5: 1192 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1511s # GLib-DEBUG: io-channel-basic: child writing 8+1643 bytes to 6 1511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 5: 1643 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1511s # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 6 1511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 5: 1348 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1512s # GLib-DEBUG: io-channel-basic: child writing 8+4115 bytes to 6 1512s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 5: 4115 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1512s # GLib-DEBUG: io-channel-basic: child writing 8+3214 bytes to 6 1512s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 5: 3214 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1512s # GLib-DEBUG: io-channel-basic: child writing 8+4575 bytes to 6 1512s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 5: 4575 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1512s # GLib-DEBUG: io-channel-basic: child writing 8+3980 bytes to 6 1512s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 5: 3980 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+546 bytes to 6 1513s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 5: 546 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+668 bytes to 6 1513s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 5: 668 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+682 bytes to 6 1513s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1513s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1513s # GLib-DEBUG: io-channel-basic: ...from 5: 682 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1513s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1513s # random seed: R02Sbcb49e58bce9846fdbfe601a57e9e5fa 1513s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1513s # random seed: R02S8c5db4f24f63bb93cca91e88a4e30239 1513s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1513s # random seed: R02S75160ac6db613da0c9e7b30e82e79a77 1513s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1513s # random seed: R02S80b3d21ca71db2230a1189dc2ce09a78 1513s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1513s # random seed: R02S83b79e59a18878c0db3b55912fd54242 1513s # GLib-DEBUG: io-channel-basic: child writing 8+1259 bytes to 15 1513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 14: 1259 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+4563 bytes to 9 1513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 8: 4563 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+1258 bytes to 13 1513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 12: 1258 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+4530 bytes to 11 1513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 10: 4530 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1513s # GLib-DEBUG: io-channel-basic: child writing 8+3999 bytes to 17 1513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 16: 3999 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3909 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 3909 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+4111 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 4111 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3726 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 3726 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 4241 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3437 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 3437 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # Executing: glib/io-channel-basic.test 1514s # GLib-DEBUG: io-channel-basic: child writing 8+4201 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 4201 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3233 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 3233 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+1414 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 1414 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+51 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 51 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+1320 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 1320 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+2153 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 2153 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3834 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 3834 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3849 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 3849 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+2320 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 2320 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3754 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 3754 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+3128 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 3128 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+1476 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 1476 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+1238 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 1238 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+572 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 572 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # GLib-DEBUG: io-channel-basic: child writing 8+111 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 111 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+3341 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 3341 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+3669 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 3669 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+4495 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 4495 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+3826 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 3826 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2077 bytes to 17 1515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 16: 2077 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+1782 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 1782 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+3731 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 3731 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2683 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 2683 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+4416 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 4416 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2871 bytes to 17 1515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 16: 2871 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+4045 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 4045 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2280 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 2280 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+4802 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 4802 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2394 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 2394 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+3867 bytes to 17 1515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 16: 3867 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+1129 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 1129 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+652 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 652 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+432 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 432 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # GLib-DEBUG: io-channel-basic: child writing 8+2825 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 2825 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2781 bytes to 17 1516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 16: 2781 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2425 bytes to 13 1516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 12: 2425 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+4027 bytes to 9 1516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 8: 4027 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+1649 bytes to 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 1649 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2360 bytes to 11 1516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 10: 2360 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+261 bytes to 17 1516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 16: 261 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2878 bytes to 13 1516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 12: 2878 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 9 1516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 8: 2922 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+4481 bytes to 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 4481 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+4864 bytes to 11 1516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 10: 4864 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+718 bytes to 17 1516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 16: 718 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+3292 bytes to 13 1516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 12: 3292 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+1117 bytes to 9 1516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 8: 1117 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2584 bytes to 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 2584 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+1904 bytes to 11 1516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 10: 1904 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+2554 bytes to 17 1516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 16: 2554 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1516s # GLib-DEBUG: io-channel-basic: child writing 8+3998 bytes to 13 1516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 12: 3998 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+4407 bytes to 9 1517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 8: 4407 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 15 1517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 14: 4685 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2624 bytes to 11 1517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 10: 2624 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+1554 bytes to 17 1517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 16: 1554 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+3852 bytes to 13 1517s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 12: 3852 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2571 bytes to 15 1517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 14: 2571 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+779 bytes to 9 1517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 8: 779 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+3289 bytes to 11 1517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 10: 3289 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+3691 bytes to 17 1517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 16: 3691 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2917 bytes to 13 1517s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 12: 2917 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2724 bytes to 15 1517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 14: 2724 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+210 bytes to 9 1517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 8: 210 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+3608 bytes to 11 1517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 10: 3608 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+4923 bytes to 17 1517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 16: 4923 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2389 bytes to 13 1517s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 12: 2389 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+1065 bytes to 9 1517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 8: 1065 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+2967 bytes to 15 1517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 14: 2967 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+4789 bytes to 11 1517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 10: 4789 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1517s # GLib-DEBUG: io-channel-basic: child writing 8+4095 bytes to 17 1517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1517s # GLib-DEBUG: io-channel-basic: ...from 16: 4095 bytes 1517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+3270 bytes to 13 1518s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 12: 3270 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+1772 bytes to 15 1518s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 14: 1772 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+3203 bytes to 9 1518s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 8: 3203 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+5 bytes to 11 1518s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 10: 5 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+162 bytes to 17 1518s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 16: 162 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+3642 bytes to 13 1518s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 12: 3642 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4687 bytes to 15 1518s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 14: 4687 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4551 bytes to 9 1518s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 8: 4551 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+49 bytes to 11 1518s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 10: 49 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 17 1518s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 16: 4606 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+15 bytes to 13 1518s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 12: 15 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4917 bytes to 15 1518s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 14: 4917 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+226 bytes to 9 1518s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 8: 226 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+64 bytes to 11 1518s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 10: 64 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+713 bytes to 17 1518s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 16: 713 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+569 bytes to 13 1518s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 12: 569 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+1832 bytes to 15 1518s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 14: 1832 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4927 bytes to 11 1518s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 10: 4927 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+755 bytes to 9 1518s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 8: 755 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1518s # GLib-DEBUG: io-channel-basic: child writing 8+4672 bytes to 17 1518s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1518s # GLib-DEBUG: io-channel-basic: ...from 16: 4672 bytes 1518s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+995 bytes to 13 1519s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 12: 995 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+4847 bytes to 15 1519s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1519s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1519s # GLib-DEBUG: io-channel-basic: ...from 14: 4847 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+1487 bytes to 9 1519s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 8: 1487 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+4672 bytes to 11 1519s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 10: 4672 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+2726 bytes to 17 1519s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1519s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1519s # GLib-DEBUG: io-channel-basic: ...from 16: 2726 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1519s # Executing: glib/io-channel-basic.test 1519s # GLib-DEBUG: io-channel-basic: child writing 8+1650 bytes to 13 1519s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 12: 1650 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+1280 bytes to 9 1519s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 8: 1280 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+3451 bytes to 11 1519s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 10: 3451 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+4014 bytes to 13 1519s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 12: 4014 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+3856 bytes to 9 1519s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 8: 3856 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+1197 bytes to 11 1519s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1519s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1519s # GLib-DEBUG: io-channel-basic: ...from 10: 1197 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 9 1519s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1519s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1519s # GLib-DEBUG: io-channel-basic: ...from 8: 3895 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1519s # GLib-DEBUG: io-channel-basic: child writing 8+3795 bytes to 13 1519s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1519s # GLib-DEBUG: io-channel-basic: ...from 12: 3795 bytes 1519s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1520s # GLib-DEBUG: io-channel-basic: child writing 8+4281 bytes to 13 1520s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1520s # GLib-DEBUG: io-channel-basic: ...from 12: 4281 bytes 1520s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1520s # GLib-DEBUG: io-channel-basic: child writing 8+1004 bytes to 13 1520s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1520s # GLib-DEBUG: io-channel-basic: ...from 12: 1004 bytes 1520s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1520s # GLib-DEBUG: io-channel-basic: child writing 8+3995 bytes to 13 1520s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1520s # GLib-DEBUG: io-channel-basic: ...from 12: 3995 bytes 1520s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1520s # GLib-DEBUG: io-channel-basic: child writing 8+2507 bytes to 13 1520s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1520s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1520s # GLib-DEBUG: io-channel-basic: ...from 12: 2507 bytes 1520s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1520s ok 1 /gio/io-basics 1520s # slow test /gio/io-basics executed in 13.28 secs 1520s # End of gio tests 1520s ok - glib/io-channel-basic.test 1520s # Running test: glib/cond.test 1520s TAP version 14 1520s # random seed: R02S53f63d5a45fba3467d1a749420950105 1520s 1..4 1520s # Start of thread tests 1520s ok 1 /thread/cond1 1520s ok 2 /thread/cond2 1520s # Start of cond tests 1521s ok 3 /thread/cond/wait-until 1521s # slow test /thread/cond/wait-until executed in 1.02 secs 1521s # Start of wait-until tests 1521s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1523s ok 4 /thread/cond/wait-until/contended-and-interrupted 1523s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1523s # End of wait-until tests 1523s # End of cond tests 1523s # End of thread tests 1523s ok - glib/cond.test 1523s # Running test: glib/signals-refcount1.test 1523s TAP version 14 1523s # random seed: R02S2dc9239959ffd3083270d491266eb3e7 1523s 1..1 1523s # Start of gobject tests 1523s # Start of refcount tests 1523s # init 0x628ba58 1523s # 1523s # init 0x628bbb0 1523s # 1524s # Executing: glib/signals-refcount1.test 1528s # dispose 0x628ba58! 1528s # 1528s # dispose 0x628bbb0! 1528s # 1528s ok 1 /gobject/refcount/signals 1528s # slow test /gobject/refcount/signals executed in 5.00 secs 1528s # End of refcount tests 1528s # End of gobject tests 1528s ok - glib/signals-refcount1.test 1528s # Running test: glib/win32-appinfo.test 1528s TAP version 14 1528s # random seed: R02Sce1e4e654559e451e5ba3d988dfadd2c 1528s 1..5 1528s # Start of appinfo tests 1528s ok 1 /appinfo/utf16-strfuncs 1528s ok 2 /appinfo/win32-extract-executable 1528s ok 3 /appinfo/win32-rundll32-fixup 1528s ok 4 /appinfo/win32-parse-filename 1528s ok 5 /appinfo/win32-utf16-conversion-fail 1528s # Start of subprocess tests 1528s # End of subprocess tests 1528s # End of appinfo tests 1528s ok - glib/win32-appinfo.test 1528s # Running test: glib/dataset.test 1528s TAP version 14 1528s # random seed: R02S383c6d87cb0ee790e7d7dd5a4dd72c90 1528s 1..14 1528s # Start of quark tests 1528s ok 1 /quark/basic 1528s ok 2 /quark/string 1528s # End of quark tests 1528s # Start of dataset tests 1528s ok 3 /dataset/basic 1528s ok 4 /dataset/id 1528s ok 5 /dataset/full 1528s ok 6 /dataset/foreach 1528s ok 7 /dataset/destroy 1528s # End of dataset tests 1528s # Start of datalist tests 1528s ok 8 /datalist/basic 1528s ok 9 /datalist/id 1528s ok 10 /datalist/recursive-clear 1528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1528s ok 11 /datalist/id-remove-multiple 1528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1528s ok 12 /datalist/id-remove-multiple-destroy-order 1528s ok 13 /datalist/update-atomic 1528s # Start of id-remove-multiple tests 1528s ok 14 /datalist/id-remove-multiple/resize 1528s # End of id-remove-multiple tests 1528s # End of datalist tests 1528s ok - glib/dataset.test 1528s # Running test: glib/mainloop.test 1528s TAP version 14 1528s # random seed: R02S6582877613d9d60d094f2b11b12be440 1528s 1..45 1528s # Start of maincontext tests 1528s ok 1 /maincontext/basic 1528s # Add same-priority sources: 31 1528s # Find each source: 3 1528s # Remove in random order: 73 1528s ok 2 /maincontext/nsources_same_priority 1528s # Add different-priority sources: 39 1528s # Find each source: 3 1528s # Remove in random order: 78 1528s ok 3 /maincontext/nsources_different_priority 1528s # Add sources from threads: 229 1529s # Remove sources from threads: 250 1529s ok 4 /maincontext/nsources_threadpool 1529s ok 5 /maincontext/source_finalization 1529s # /maincontext/idle-once summary: Test g_idle_add_once() works 1529s ok 6 /maincontext/idle-once 1529s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1529s ok 7 /maincontext/timeout-once 1529s # Start of source_finalization_from_source tests 1529s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 8 /maincontext/source_finalization_from_source/0 1529s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 9 /maincontext/source_finalization_from_source/1 1529s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 10 /maincontext/source_finalization_from_source/2 1529s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 11 /maincontext/source_finalization_from_source/3 1529s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 12 /maincontext/source_finalization_from_source/4 1529s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 13 /maincontext/source_finalization_from_source/5 1529s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 14 /maincontext/source_finalization_from_source/6 1529s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 15 /maincontext/source_finalization_from_source/7 1529s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 16 /maincontext/source_finalization_from_source/8 1529s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1529s ok 17 /maincontext/source_finalization_from_source/9 1529s # End of source_finalization_from_source tests 1529s # Start of source_finalization_from_dispatch tests 1529s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1529s ok 18 /maincontext/source_finalization_from_dispatch/0 1529s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1529s ok 19 /maincontext/source_finalization_from_dispatch/1 1529s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1529s ok 20 /maincontext/source_finalization_from_dispatch/2 1529s # End of source_finalization_from_dispatch tests 1529s # End of maincontext tests 1529s # Start of mainloop tests 1529s ok 21 /mainloop/basic 1529s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1529s ok 23 /mainloop/priorities 1529s # Executing: glib/mainloop.test 1529s ok 24 /mainloop/invoke 1529s # slow test /mainloop/invoke executed in 0.50 secs 1529s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1529s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1529s ok 27 /mainloop/recursive_loop_child_sources 1529s ok 28 /mainloop/swapping_child_sources 1529s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1529s ok 29 /mainloop/blocked_child_sources 1530s ok 30 /mainloop/source_time 1530s # slow test /mainloop/source_time executed in 1.00 secs 1530s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1530s ok 31 /mainloop/overflow 1531s ok 32 /mainloop/ready-time 1531s # slow test /mainloop/ready-time executed in 0.50 secs 1531s ok 33 /mainloop/wakeup 1531s ok 34 /mainloop/remove-invalid 1531s ok 35 /mainloop/unref-while-pending 1532s ok 36 /mainloop/unix-fd 1532s # slow test /mainloop/unix-fd executed in 0.91 secs 1532s ok 37 /mainloop/unix-fd-source 1532s ok 38 /mainloop/source-unix-fd-api 1532s ok 39 /mainloop/wait 1532s ok 40 /mainloop/unix-file-poll 1532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1532s ok 41 /mainloop/unix-fd-priority 1532s ok 42 /mainloop/nfds 1532s ok 43 /mainloop/steal-fd 1532s # Start of ownerless-polling tests 1532s ok 44 /mainloop/ownerless-polling/attach-first 1532s ok 45 /mainloop/ownerless-polling/pop-first 1532s # End of ownerless-polling tests 1532s # End of mainloop tests 1532s ok - glib/mainloop.test 1532s # Running test: glib/markup-escape.test 1532s TAP version 14 1532s # random seed: R02S5efef9fd4b0f641922aa22b7a8d0d692 1532s 1..41 1532s # Start of markup tests 1532s ok 1 /markup/format 1532s # Start of escape-text tests 1532s ok 2 /markup/escape-text/0 1532s ok 3 /markup/escape-text/1 1532s ok 4 /markup/escape-text/2 1532s ok 5 /markup/escape-text/3 1532s ok 6 /markup/escape-text/4 1532s ok 7 /markup/escape-text/5 1532s ok 8 /markup/escape-text/6 1532s ok 9 /markup/escape-text/7 1532s ok 10 /markup/escape-text/8 1532s ok 11 /markup/escape-text/9 1532s ok 12 /markup/escape-text/10 1532s ok 13 /markup/escape-text/11 1532s ok 14 /markup/escape-text/12 1532s ok 15 /markup/escape-text/13 1532s ok 16 /markup/escape-text/14 1532s ok 17 /markup/escape-text/15 1532s ok 18 /markup/escape-text/16 1532s ok 19 /markup/escape-text/17 1532s ok 20 /markup/escape-text/18 1532s ok 21 /markup/escape-text/19 1532s ok 22 /markup/escape-text/20 1532s ok 23 /markup/escape-text/21 1532s ok 24 /markup/escape-text/22 1532s # End of escape-text tests 1532s # Start of escape-unichar tests 1532s ok 25 /markup/escape-unichar/0 1532s ok 26 /markup/escape-unichar/1 1532s ok 27 /markup/escape-unichar/2 1532s ok 28 /markup/escape-unichar/3 1532s ok 29 /markup/escape-unichar/4 1532s ok 30 /markup/escape-unichar/5 1532s ok 31 /markup/escape-unichar/6 1532s ok 32 /markup/escape-unichar/7 1532s ok 33 /markup/escape-unichar/8 1532s ok 34 /markup/escape-unichar/9 1532s ok 35 /markup/escape-unichar/10 1532s ok 36 /markup/escape-unichar/11 1532s ok 37 /markup/escape-unichar/12 1532s ok 38 /markup/escape-unichar/13 1532s ok 39 /markup/escape-unichar/14 1532s ok 40 /markup/escape-unichar/15 1532s ok 41 /markup/escape-unichar/16 1532s # End of escape-unichar tests 1532s # End of markup tests 1532s ok - glib/markup-escape.test 1532s # Running test: glib/autoptr-girepository.test 1532s TAP version 14 1532s # random seed: R02S48354e0cf2f977872d7b91039b4298b7 1532s 1..24 1532s # Start of autoptr tests 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/repository/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 1 /autoptr/repository 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/typelib/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 2 /autoptr/typelib 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/base-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 3 /autoptr/base-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/arg-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 4 /autoptr/arg-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/callable-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 5 /autoptr/callable-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/callback-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 6 /autoptr/callback-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/constant-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 7 /autoptr/constant-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/enum-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 8 /autoptr/enum-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/field-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 9 /autoptr/field-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/flags-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 10 /autoptr/flags-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/function-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 11 /autoptr/function-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/interface-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 12 /autoptr/interface-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/object-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 13 /autoptr/object-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/property-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 14 /autoptr/property-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/registered-type-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 15 /autoptr/registered-type-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/signal-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 16 /autoptr/signal-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/struct-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 17 /autoptr/struct-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/type-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 18 /autoptr/type-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/union-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 19 /autoptr/union-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/value-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 20 /autoptr/value-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/autoptr/vfunc-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 21 /autoptr/vfunc-info 1532s # End of autoptr tests 1532s # Start of auto tests 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/auto/arg-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 22 /auto/arg-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/auto/type-info/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 23 /auto/type-info 1532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/home 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/cache 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/system-config2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/config 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/system-data2 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/data 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/state 1532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G772Z2/auto/function-invoker/.dirs/runtime 1532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1532s ok 24 /auto/function-invoker 1532s # End of auto tests 1532s ok - glib/autoptr-girepository.test 1532s # Running test: glib/gsocketclient-slow.test 1532s TAP version 14 1532s # random seed: R02S7bd1c76325859ea30d222a1a8b43f4b5 1532s 1..4 1532s # Start of socket-client tests 1532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x103d7540 and GSocketClientAsyncConnectData 0x103d31f0 1532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x103d89f8 for GSocketClientAsyncConnectData 0x103d31f0 1532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1532s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1532s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x103d9a38 for GSocketClientAsyncConnectData 0x103d31f0 1532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1533s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1533s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1533s ok 1 /socket-client/connection-fail 1533s # slow test /socket-client/connection-fail executed in 1.20 secs 1533s # Start of happy-eyeballs tests 1533s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x103da920 and GSocketClientAsyncConnectData 0x103d31f0 1533s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1533s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1533s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x103daf58 for GSocketClientAsyncConnectData 0x103d31f0 1533s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1534s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1534s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1534s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1534s ok 2 /socket-client/happy-eyeballs/slow 1534s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1534s # Start of cancellation tests 1534s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x103db560 and GSocketClientAsyncConnectData 0x103dac88 1534s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1534s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1534s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x103dbba0 and GSocketClientAsyncConnectData 0x103db710 1534s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1534s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x103dc210 for GSocketClientAsyncConnectData 0x103db710 1534s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1534s # Executing: glib/gsocketclient-slow.test 1534s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1534s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1534s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1534s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1534s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1534s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1534s # End of cancellation tests 1534s # End of happy-eyeballs tests 1534s # End of socket-client tests 1534s ok - glib/gsocketclient-slow.test 1534s # Running test: glib/gmenumodel.test 1534s TAP version 14 1534s # random seed: R02S2cb47bd95fef45d0950a845de60cabe0 1534s 1..15 1534s # Start of gmenu tests 1535s ok 1 /gmenu/equality 1535s # slow test /gmenu/equality executed in 0.92 secs 1536s ok 2 /gmenu/random 1536s # slow test /gmenu/random executed in 1.11 secs 1536s ok 3 /gmenu/attributes 1536s ok 4 /gmenu/links 1536s ok 5 /gmenu/mutable 1536s ok 6 /gmenu/convenience 1536s ok 7 /gmenu/menuitem 1536s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1536s ok 8 /gmenu/input-validation 1536s # Start of dbus tests 1536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s ok 9 /gmenu/dbus/roundtrip 1537s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1538s ok 10 /gmenu/dbus/subscriptions 1539s # Executing: glib/gmenumodel.test 1539s ok 11 /gmenu/dbus/threaded 1539s # slow test /gmenu/dbus/threaded executed in 1.38 secs 1539s # Start of peer tests 1540s ok 12 /gmenu/dbus/peer/roundtrip 1540s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1541s ok 13 /gmenu/dbus/peer/subscriptions 1541s # End of peer tests 1541s # Start of export tests 1541s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s ok 14 /gmenu/dbus/export/error-handling 1541s # End of export tests 1541s # End of dbus tests 1541s # Start of attributes tests 1541s ok 15 /gmenu/attributes/iterate 1541s # End of attributes tests 1541s # End of gmenu tests 1541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1541s ok - glib/gmenumodel.test 1541s # Running test: glib/environment.test 1541s TAP version 14 1541s # random seed: R02S31e1d3db3fc08ec50668fac0c5379e75 1541s 1..6 1541s # Start of environ tests 1541s # /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. 1541s ok 1 /environ/listenv 1541s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1541s ok 2 /environ/getenv 1541s ok 3 /environ/setenv 1541s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1541s ok 4 /environ/array 1541s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1541s ok 5 /environ/null 1541s # /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. 1541s ok 6 /environ/case 1541s # End of environ tests 1541s ok - glib/environment.test 1541s # Running test: glib/gobject-query.py.test 1541s TAP version 13 1541s ok 1 __main__.TestGobjectQuery.test_froots 1541s # gobject-query: /usr/bin/gobject-query 1541s # Running: ['/usr/bin/gobject-query', 'froots'] 1541s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1541s # Output: ├void 1541s # ├GInterface 1541s # │ └GTypePlugin 1541s # ├gchar 1541s # ├guchar 1541s # ├gboolean 1541s # ├gint 1541s # ├guint 1541s # ├glong 1541s # ├gulong 1541s # ├gint64 1541s # ├guint64 1541s # ├GEnum 1541s # ├GFlags 1541s # ├gfloat 1541s # ├gdouble 1541s # ├gchararray 1541s # ├gpointer 1541s # │ └GType 1541s # ├GBoxed 1541s # │ └GValueArray 1541s # ├GParam 1541s # │ ├GParamChar 1541s # │ ├GParamUChar 1541s # │ ├GParamBoolean 1541s # │ ├GParamInt 1541s # │ ├GParamUInt 1541s # │ ├GParamLong 1541s # │ ├GParamULong 1541s # │ ├GParamInt64 1541s # │ ├GParamUInt64 1541s # │ ├GParamUnichar 1541s # │ ├GParamEnum 1541s # │ ├GParamFlags 1541s # │ ├GParamFloat 1541s # │ ├GParamDouble 1541s # │ ├GParamString 1541s # │ ├GParamParam 1541s # │ ├GParamBoxed 1541s # │ ├GParamPointer 1541s # │ ├GParamValueArray 1541s # │ ├GParamObject 1541s # │ ├GParamOverride 1541s # │ ├GParamGType 1541s # │ └GParamVariant 1541s # ├GObject 1541s # └GVariant 1541s ok 2 __main__.TestGobjectQuery.test_help 1541s # gobject-query: /usr/bin/gobject-query 1541s # Running: ['/usr/bin/gobject-query', '--help'] 1541s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1541s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1541s # -r specify root type 1541s # -n don't descend type tree 1541s # -h show help 1541s # -b specify indent string 1541s # -i specify incremental indent string 1541s # -s specify line spacing 1541s # qualifiers: 1541s # froots iterate over fundamental roots 1541s # tree print type tree 1541s ok 3 __main__.TestGobjectQuery.test_tree 1541s # gobject-query: /usr/bin/gobject-query 1541s # Running: ['/usr/bin/gobject-query', 'tree'] 1541s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1541s # Output: GObject 1541s ok 4 __main__.TestGobjectQuery.test_version 1541s # gobject-query: /usr/bin/gobject-query 1541s # Running: ['/usr/bin/gobject-query', '--version'] 1541s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1541s # Output: 2.82.4 1541s 1..4 1541s ok - glib/gobject-query.py.test 1541s # Running test: glib/value.test 1541s TAP version 14 1541s # random seed: R02Sb8ce920e71b39a41389a324f235aaf49 1541s 1..9 1541s # Start of value tests 1541s ok 1 /value/basic 1541s ok 2 /value/collection 1541s ok 3 /value/copying 1541s ok 4 /value/enum-transformation 1541s ok 5 /value/gtype 1541s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1541s ok 6 /value/string 1541s # Next: GObject object in GValue of GObject to GValue of GObject 1541s # Next: GObject object in GValue of GObject to GValue of TestInterface 1541s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1541s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1541s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1541s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1541s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1541s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1541s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1541s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1541s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1541s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1541s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1541s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1541s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1541s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1541s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1541s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1541s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1541s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1541s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1541s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1541s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1541s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1541s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1541s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1541s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1541s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1541s ok 7 /value/transform-object 1541s # Start of array tests 1541s ok 8 /value/array/basic 1541s ok 9 /value/array/sort-with-data 1541s # End of array tests 1541s # End of value tests 1541s ok - glib/value.test 1541s # Running test: glib/properties.test 1541s TAP version 14 1541s # random seed: R02S8cce35c11cb7dbdfade9f3c2cae881f7 1541s 1..13 1541s # Start of properties tests 1541s ok 1 /properties/install 1541s ok 2 /properties/install-many 1541s ok 3 /properties/notify 1541s ok 4 /properties/notify-queue 1541s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1541s ok 5 /properties/construct 1541s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1541s # Test g_object_get_property with an initialized value 1541s # Test g_object_get_property with an uninitialized value 1541s # Test g_object_get_property with a transformable value 1541s ok 6 /properties/get-property 1541s ok 7 /properties/testv_with_no_properties 1541s ok 8 /properties/testv_with_valid_properties 1541s ok 9 /properties/testv_with_invalid_property_type 1541s ok 10 /properties/testv_with_invalid_property_names 1541s ok 11 /properties/testv_getv 1541s ok 12 /properties/testv_notify_queue 1541s # Start of set-property tests 1541s # Start of variant tests 1541s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1541s ok 13 /properties/set-property/variant/floating 1541s # End of variant tests 1541s # End of set-property tests 1541s # End of properties tests 1541s ok - glib/properties.test 1541s # Running test: glib/override.test 1541s TAP version 14 1541s # random seed: R02S6da6d7a305d30039852b853d9b9d24bc 1541s 1..1 1541s # Start of gobject tests 1541s # *** emitting foo on a TestA instance 1541s # Expecting: TestA::foo,TestI::foo 1541s # Got: TestA::foo,TestI::foo 1541s # *** emitting bar on a TestA instance 1541s # Expecting: TestA::bar 1541s # Got: TestA::bar 1541s # *** emitting baz on a TestA instance 1541s # Expecting: TestA::baz 1541s # Got: TestA::baz 1541s # *** emitting foo on a TestB instance 1541s # Expecting: TestB::foo,TestA::foo,TestI::foo 1541s # Got: TestB::foo,TestA::foo,TestI::foo 1541s # *** emitting bar on a TestB instance 1541s # Expecting: TestB::bar,TestA::bar 1541s # Got: TestB::bar,TestA::bar 1541s # *** emitting baz on a TestB instance 1541s # Expecting: TestB::baz,TestA::baz 1541s # Got: TestB::baz,TestA::baz 1541s # *** emitting foo on a TestC instance 1541s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1541s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1541s # *** emitting bar on a TestC instance 1541s # Expecting: TestC::bar,TestB::bar,TestA::bar 1541s # Got: TestC::bar,TestB::bar,TestA::bar 1541s # *** emitting baz on a TestC instance 1541s # Expecting: TestC::baz,TestB::baz,TestA::baz 1541s # Got: TestC::baz,TestB::baz,TestA::baz 1541s ok 1 /gobject/override 1541s # End of gobject tests 1541s ok - glib/override.test 1541s # Running test: glib/repository-search-paths.test 1541s TAP version 14 1541s # random seed: R02Sc437c662fef4929ee718c57edf6d8339 1541s 1..4 1541s # Start of repository tests 1541s # Start of search-paths tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/default/.dirs/runtime 1541s ok 1 /repository/search-paths/default 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7MD3Z2/repository/search-paths/prepend/.dirs/runtime 1541s ok 2 /repository/search-paths/prepend 1541s # End of search-paths tests 1541s # Start of library-paths tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/default/.dirs/runtime 1541s ok 3 /repository/library-paths/default 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_7MD3Z2/repository/library-paths/prepend/.dirs/runtime 1541s ok 4 /repository/library-paths/prepend 1541s # End of library-paths tests 1541s # End of repository tests 1541s ok - glib/repository-search-paths.test 1541s # Running test: glib/gdbus-connection-flush.test 1541s TAP version 14 1541s # random seed: R02Scbfc29c2c9e8d04fae18b86e6c939744 1541s 1..2 1541s # Start of gdbus tests 1541s # Start of connection tests 1541s # Start of flush tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/busy/.dirs/runtime 1541s ok 1 /gdbus/connection/flush/busy 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_F4X2Z2/gdbus/connection/flush/idle/.dirs/runtime 1541s ok 2 /gdbus/connection/flush/idle 1541s # End of flush tests 1541s # End of connection tests 1541s # End of gdbus tests 1541s ok - glib/gdbus-connection-flush.test 1541s # Running test: glib/proxy-test.test 1541s TAP version 14 1541s # random seed: R02S5ca599a467e905d0dc7f20c7b1571f25 1541s 1..11 1541s # Start of proxy tests 1541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1541s ok 1 /proxy/direct_sync 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd54820 and GSocketClientAsyncConnectData 0xdd520e8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd550c0 for GSocketClientAsyncConnectData 0xdd520e8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s ok 2 /proxy/direct_async 1541s ok 3 /proxy/single_sync 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd55000 and GSocketClientAsyncConnectData 0xdd54fb8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd561a8 for GSocketClientAsyncConnectData 0xdd54fb8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s ok 4 /proxy/single_async 1541s ok 5 /proxy/multiple_sync 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd50080 and GSocketClientAsyncConnectData 0xdd55d88 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56678 for GSocketClientAsyncConnectData 0xdd55d88 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd50130 for GSocketClientAsyncConnectData 0xdd55d88 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s ok 6 /proxy/multiple_async 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1541s ok 7 /proxy/invalid-uris-sync 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd50080 and GSocketClientAsyncConnectData 0xdd56118 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd55ca0 and GSocketClientAsyncConnectData 0xdd56118 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd54bb0 and GSocketClientAsyncConnectData 0xdd56118 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56730 for GSocketClientAsyncConnectData 0xdd56118 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd55ca0 and GSocketClientAsyncConnectData 0xdd54fe8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56868 for GSocketClientAsyncConnectData 0xdd54fe8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s ok 8 /proxy/invalid-uris-async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd561d0 and GSocketClientAsyncConnectData 0xdd55ea8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1541s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd56400 and GSocketClientAsyncConnectData 0xdd54fe8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56660 for GSocketClientAsyncConnectData 0xdd54fe8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd56400 and GSocketClientAsyncConnectData 0xdd55ea8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56218 for GSocketClientAsyncConnectData 0xdd55ea8 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s ok 9 /proxy/dns 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd56400 and GSocketClientAsyncConnectData 0xdd54c88 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56610 for GSocketClientAsyncConnectData 0xdd54c88 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd56400 and GSocketClientAsyncConnectData 0xdd55a90 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56610 for GSocketClientAsyncConnectData 0xdd55a90 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1541s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1541s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdd56400 and GSocketClientAsyncConnectData 0xdd55c98 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1541s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdd56610 for GSocketClientAsyncConnectData 0xdd55c98 1541s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1541s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1541s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1541s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1541s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1541s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1541s ok 10 /proxy/override 1541s ok 11 /proxy/enumerator-ports 1541s # End of proxy tests 1541s ok - glib/proxy-test.test 1541s # Running test: glib/module-test-plugin.test 1541s TAP version 14 1541s # random seed: R02S40ede1a170e4b4861b927f7e19435a86 1541s 1..3 1541s # Start of module tests 1541s ok 1 /module/basics 1541s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1541s ok 2 /module/invalid-libtool-archive 1541s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1541s ok 3 /module/local-binding 1541s # End of module tests 1541s ok - glib/module-test-plugin.test 1541s # Running test: glib/gdbus-export.test 1541s TAP version 14 1541s # random seed: R02S4662d477fe15e555bed5b767c85734c1 1541s 1..6 1541s # Start of gdbus tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration/.dirs/runtime 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s ok 1 /gdbus/object-registration 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/object-registration-with-closures/.dirs/runtime 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s ok 2 /gdbus/object-registration-with-closures 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/registered-interfaces/.dirs/runtime 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s ok 3 /gdbus/registered-interfaces 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/async-properties/.dirs/runtime 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s ok 4 /gdbus/async-properties 1541s # Start of threaded-unregistration tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/object/.dirs/runtime 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1541s # /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 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (18 iterations with unregistration first, 982 with call first); skipping test 1543s # slow test /gdbus/threaded-unregistration/object executed in 2.00 secs 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3IU2Z2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1543s # /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 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1543s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # Executing: glib/gdbus-export.test 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (40 iterations with unregistration first, 960 with call first); skipping test 1545s # slow test /gdbus/threaded-unregistration/subtree executed in 1.98 secs 1545s # End of threaded-unregistration tests 1545s # End of gdbus tests 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s ok - glib/gdbus-export.test 1545s # Running test: glib/atomic-c-89.test 1545s TAP version 14 1545s # random seed: R02Sbecd2114cdb0c84cc2d12389384c5a42 1545s 1..2 1545s # Start of atomic tests 1545s ok 1 /atomic/types 1545s ok 2 /atomic/threaded 1545s # End of atomic tests 1545s ok - glib/atomic-c-89.test 1545s # Running test: glib/gdbus-test-codegen-old.test 1545s TAP version 14 1545s # random seed: R02S2f2c226f6c7949b7f62e750d64838d80 1545s 1..8 1545s # Start of gdbus tests 1545s # Start of codegen tests 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/annotations/.dirs/runtime 1545s ok 1 /gdbus/codegen/annotations 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/interface_stability/.dirs/runtime 1545s ok 2 /gdbus/codegen/interface_stability 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/object-manager/.dirs/runtime 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s ok 3 /gdbus/codegen/object-manager 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/property-naming/.dirs/runtime 1545s ok 4 /gdbus/codegen/property-naming 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/autocleanups/.dirs/runtime 1545s ok 5 /gdbus/codegen/autocleanups 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/deprecations/.dirs/runtime 1545s ok 6 /gdbus/codegen/deprecations 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1545s ok 7 /gdbus/codegen/standalone-interface-info 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DPLKZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1545s ok 8 /gdbus/codegen/unix-fd-list 1545s # End of codegen tests 1545s # End of gdbus tests 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s ok - glib/gdbus-test-codegen-old.test 1545s # Running test: glib/cancellable.test 1545s TAP version 14 1545s # random seed: R02Sabf0faf2bc7ff518ed7bc339877d64c7 1545s 1..10 1545s # Start of cancellable tests 1545s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1545s ok 2 /cancellable/null 1545s # /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 1545s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1545s # /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 1545s ok 4 /cancellable/resets-on-cancel-callback-hangs 1545s ok 5 /cancellable/poll-fd 1545s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1545s ok 6 /cancellable/poll-fd-cancelled 1545s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1546s ok 7 /cancellable/poll-fd-cancelled-threaded 1546s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1546s ok 8 /cancellable/cancel-reset-races 1546s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1546s ok 9 /cancellable/cancel-reset-connect-races 1546s # End of cancellable tests 1546s # Start of cancellable-source tests 1546s # /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) 1546s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1548s ok 10 /cancellable-source/threaded-dispose 1548s # slow test /cancellable-source/threaded-dispose executed in 2.32 secs 1548s # End of cancellable-source tests 1548s ok - glib/cancellable.test 1548s # Running test: glib/gdbus-exit-on-close.test 1548s TAP version 14 1548s # random seed: R02S15e06a7311df377473ec9af66c4349e5 1548s 1..4 1548s # Start of gdbus tests 1548s # Start of exit-on-close tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/default/.dirs/runtime 1548s ok 1 /gdbus/exit-on-close/default 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/true/.dirs/runtime 1548s ok 2 /gdbus/exit-on-close/true 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/false/.dirs/runtime 1548s ok 3 /gdbus/exit-on-close/false 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_C7L2Z2/gdbus/exit-on-close/we-close/.dirs/runtime 1548s ok 4 /gdbus/exit-on-close/we-close 1548s # Start of default tests 1548s # End of default tests 1548s # Start of true tests 1548s # End of true tests 1548s # Start of false tests 1548s # End of false tests 1548s # Start of we-close tests 1548s # End of we-close tests 1548s # End of exit-on-close tests 1548s # End of gdbus tests 1548s ok - glib/gdbus-exit-on-close.test 1548s # Running test: glib/hash.test 1548s TAP version 14 1548s # random seed: R02See55a4bdae6882cd7c9638864fb91cd9 1548s 1..34 1548s # Start of hash tests 1548s ok 1 /hash/misc 1548s ok 2 /hash/one 1548s ok 3 /hash/honeyman 1548s ok 4 /hash/direct 1548s ok 5 /hash/direct2 1548s ok 6 /hash/int 1548s ok 7 /hash/int64 1548s ok 8 /hash/double 1548s ok 9 /hash/string 1548s ok 10 /hash/set 1548s ok 11 /hash/set-ref 1548s ok 12 /hash/ref 1548s ok 13 /hash/remove-all 1548s ok 14 /hash/recursive-remove-all 1548s ok 15 /hash/find 1548s ok 16 /hash/foreach 1548s ok 17 /hash/foreach-steal 1548s ok 18 /hash/steal-extended 1548s ok 19 /hash/steal-all-keys 1548s ok 20 /hash/steal-all-values 1548s ok 21 /hash/lookup-extended 1548s ok 22 /hash/new-similar 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1548s ok 23 /hash/lookup-null-key 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1548s ok 24 /hash/destroy-modify 1548s ok 25 /hash/consistency 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1548s ok 26 /hash/iter-replace 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1548s ok 27 /hash/set-insert-corruption 1548s ok 28 /hash/set-to-strv 1548s ok 29 /hash/get-keys-as-ptr-array 1548s ok 30 /hash/get-values-as-ptr-array 1548s ok 31 /hash/primes 1548s # Start of int64 tests 1548s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1548s ok 32 /hash/int64/collisions 1548s # End of int64 tests 1548s # Start of double tests 1548s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1548s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1548s ok 33 /hash/double/collisions 1548s # End of double tests 1548s # Start of recursive-remove-all tests 1548s # End of recursive-remove-all tests 1548s # Start of steal-extended tests 1548s ok 34 /hash/steal-extended/optional 1548s # End of steal-extended tests 1548s # End of hash tests 1548s ok - glib/hash.test 1548s # Running test: glib/atomic-c-11.test 1548s TAP version 14 1548s # random seed: R02Sf2730a81f351287a0bd8ffb5c99d051f 1548s 1..2 1548s # Start of atomic tests 1548s ok 1 /atomic/types 1549s ok 2 /atomic/threaded 1549s # End of atomic tests 1549s ok - glib/atomic-c-11.test 1549s # Running test: glib/cxx-98.test 1549s TAP version 14 1549s # random seed: R02S74d844e1904d1c7fdfaeb72d01e2a438 1549s 1..2 1549s # Start of gtask tests 1549s # 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. 1549s ok 1 /gtask/name 1549s # Start of name tests 1549s # 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. 1549s ok 2 /gtask/name/macro-wrapper 1549s # End of name tests 1549s # End of gtask tests 1549s ok - glib/cxx-98.test 1549s # Running test: glib/shell.test 1549s TAP version 14 1549s # random seed: R02Sc2e0205491e8982e3d41be6ee7b7cc20 1549s 1..51 1549s # Start of shell tests 1549s # Start of cmdline tests 1549s test cmdline: foo bar 1549s ok 1 /shell/cmdline/0 1549s test cmdline: foo 'bar' 1549s ok 2 /shell/cmdline/1 1549s test cmdline: foo "bar" 1549s ok 3 /shell/cmdline/2 1549s test cmdline: foo '' 'bar' 1549s ok 4 /shell/cmdline/3 1549s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1549s ok 5 /shell/cmdline/4 1549s test cmdline: foo blah foo bar baz 1549s ok 6 /shell/cmdline/5 1549s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1549s ok 7 /shell/cmdline/6 1549s test cmdline: foo \ 1549s bar 1549s ok 8 /shell/cmdline/7 1549s test cmdline: foo '' '' 1549s ok 9 /shell/cmdline/8 1549s test cmdline: foo \" la la la 1549s ok 10 /shell/cmdline/9 1549s test cmdline: foo \ foo woo woo\ 1549s ok 11 /shell/cmdline/10 1549s test cmdline: foo "yada yada \$\"" 1549s ok 12 /shell/cmdline/11 1549s test cmdline: foo "c:\\" 1549s ok 13 /shell/cmdline/12 1549s test cmdline: foo # bla bla bla 1549s bar 1549s ok 14 /shell/cmdline/13 1549s test cmdline: foo a#b 1549s ok 15 /shell/cmdline/14 1549s test cmdline: #foo 1549s ok 16 /shell/cmdline/15 1549s test cmdline: foo bar \ 1549s ok 17 /shell/cmdline/16 1549s test cmdline: foo 'bar baz 1549s ok 18 /shell/cmdline/17 1549s test cmdline: foo '"bar" baz 1549s ok 19 /shell/cmdline/18 1549s test cmdline: 1549s ok 20 /shell/cmdline/19 1549s test cmdline: 1549s ok 21 /shell/cmdline/20 1549s test cmdline: # foo bar 1549s ok 22 /shell/cmdline/21 1549s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1549s ok 23 /shell/cmdline/22 1549s # End of cmdline tests 1549s # Start of quote tests 1549s ok 24 /shell/quote/0 1549s ok 25 /shell/quote/1 1549s ok 26 /shell/quote/2 1549s ok 27 /shell/quote/3 1549s ok 28 /shell/quote/4 1549s ok 29 /shell/quote/5 1549s ok 30 /shell/quote/6 1549s # End of quote tests 1549s # Start of unquote tests 1549s ok 31 /shell/unquote/0 1549s ok 32 /shell/unquote/1 1549s ok 33 /shell/unquote/2 1549s ok 34 /shell/unquote/3 1549s ok 35 /shell/unquote/4 1549s ok 36 /shell/unquote/5 1549s ok 37 /shell/unquote/6 1549s ok 38 /shell/unquote/7 1549s ok 39 /shell/unquote/8 1549s ok 40 /shell/unquote/9 1549s ok 41 /shell/unquote/10 1549s ok 42 /shell/unquote/11 1549s ok 43 /shell/unquote/12 1549s ok 44 /shell/unquote/13 1549s ok 45 /shell/unquote/14 1549s ok 46 /shell/unquote/15 1549s ok 47 /shell/unquote/16 1549s ok 48 /shell/unquote/17 1549s ok 49 /shell/unquote/18 1549s ok 50 /shell/unquote/19 1549s ok 51 /shell/unquote/20 1549s # End of unquote tests 1549s # End of shell tests 1549s ok - glib/shell.test 1549s # Running test: glib/mount-operation.test 1549s TAP version 14 1549s # random seed: R02S9b075e5ec23ffb38452b6149418640a4 1549s 1..2 1549s # Start of mount-operation tests 1549s ok 1 /mount-operation/construction 1549s ok 2 /mount-operation/properties 1549s # End of mount-operation tests 1549s ok - glib/mount-operation.test 1549s # Running test: glib/collate.test 1549s TAP version 14 1549s # random seed: R02See842ea6e20b095cf4506074ab02bead 1549s 1..9 1549s # Start of unicode tests 1549s # Start of collate tests 1549s ok 1 /unicode/collate/0 1549s ok 2 /unicode/collate/1 1549s ok 3 /unicode/collate/2 1549s # End of collate tests 1549s # Start of collate-key tests 1549s ok 4 /unicode/collate-key/0 1549s ok 5 /unicode/collate-key/1 1549s ok 6 /unicode/collate-key/2 1549s # End of collate-key tests 1549s # Start of collate-filename tests 1549s ok 7 /unicode/collate-filename/0 1549s ok 8 /unicode/collate-filename/1 1549s ok 9 /unicode/collate-filename/2 1549s # End of collate-filename tests 1549s # End of unicode tests 1549s ok - glib/collate.test 1549s # Running test: glib/cxx-11.test 1549s TAP version 14 1549s # random seed: R02Sdd4226c18699fa0b985c02ff23e8f410 1549s 1..2 1549s # Start of gtask tests 1549s # 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. 1549s ok 1 /gtask/name 1549s # Start of name tests 1549s # 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. 1549s ok 2 /gtask/name/macro-wrapper 1549s # End of name tests 1549s # End of gtask tests 1549s ok - glib/cxx-11.test 1549s # Running test: glib/application-command-line.test 1549s TAP version 14 1549s # random seed: R02S775ce084d14102bcfc441f82bd3556a1 1549s 1..1 1549s # Start of application-command-line tests 1549s ok 1 /application-command-line/basic-properties 1549s # End of application-command-line tests 1549s ok - glib/application-command-line.test 1549s # Running test: glib/date.test 1549s TAP version 14 1549s # random seed: R02Sc81074335dbbd5edf6ce71e9df9f8b10 1549s 1..121 1549s # Start of date tests 1549s ok 1 /date/basic 1549s ok 2 /date/empty 1549s ok 3 /date/dmy 1549s ok 4 /date/julian 1549s ok 5 /date/compare 1549s ok 6 /date/dates 1549s ok 7 /date/strftime 1549s ok 8 /date/two-digit-years 1549s ok 9 /date/parse 1549s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1549s ok 11 /date/month_substring 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1549s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1549s ok 13 /date/clamp 1549s ok 14 /date/order 1549s ok 15 /date/copy 1549s # Vector 0: 0000-00-00, invalid 1549s # Vector 1: 0001-01-01, valid 1549s # Vector 2: 0000-01-01, invalid 1549s # Vector 3: 2000-02-30, invalid 1549s # Vector 4: 2000-02-29, valid 1549s # Vector 5: 2001-02-29, invalid 1549s # Vector 6: 65535-01-01, valid 1549s ok 16 /date/valid-dmy 1549s # Start of parse tests 1549s # Test 0 1549s # Test 1 1549s ok 17 /date/parse/invalid 1549s # End of parse tests 1549s # Start of year tests 1549s ok 18 /date/year/1 1549s ok 19 /date/year/2 1549s ok 20 /date/year/3 1549s ok 21 /date/year/4 1549s ok 22 /date/year/5 1549s ok 23 /date/year/6 1549s ok 24 /date/year/7 1549s ok 25 /date/year/8 1549s ok 26 /date/year/9 1549s ok 27 /date/year/10 1549s ok 28 /date/year/11 1549s ok 29 /date/year/12 1549s ok 30 /date/year/13 1549s ok 31 /date/year/14 1549s ok 32 /date/year/98 1549s # Executing: glib/date.test 1549s ok 33 /date/year/99 1549s ok 34 /date/year/100 1549s ok 35 /date/year/101 1549s ok 36 /date/year/102 1549s ok 37 /date/year/103 1549s ok 38 /date/year/397 1549s ok 39 /date/year/398 1549s ok 40 /date/year/399 1549s ok 41 /date/year/400 1549s ok 42 /date/year/401 1549s ok 43 /date/year/402 1549s ok 44 /date/year/403 1549s ok 45 /date/year/404 1549s ok 46 /date/year/405 1549s ok 47 /date/year/406 1549s ok 48 /date/year/1598 1549s ok 49 /date/year/1599 1549s ok 50 /date/year/1600 1549s ok 51 /date/year/1601 1549s ok 52 /date/year/1602 1549s ok 53 /date/year/1650 1549s ok 54 /date/year/1651 1549s ok 55 /date/year/1897 1549s ok 56 /date/year/1898 1549s ok 57 /date/year/1899 1549s ok 58 /date/year/1900 1549s ok 59 /date/year/1901 1549s ok 60 /date/year/1902 1549s ok 61 /date/year/1903 1549s ok 62 /date/year/1961 1549s ok 63 /date/year/1962 1549s ok 64 /date/year/1963 1549s ok 65 /date/year/1964 1549s ok 66 /date/year/1965 1549s ok 67 /date/year/1967 1549s ok 68 /date/year/1968 1549s ok 69 /date/year/1969 1549s ok 70 /date/year/1970 1549s ok 71 /date/year/1971 1549s ok 72 /date/year/1972 1549s ok 73 /date/year/1973 1549s ok 74 /date/year/1974 1549s ok 75 /date/year/1975 1549s ok 76 /date/year/1976 1549s ok 77 /date/year/1977 1549s ok 78 /date/year/1978 1549s ok 79 /date/year/1979 1549s ok 80 /date/year/1980 1549s ok 81 /date/year/1981 1549s ok 82 /date/year/1982 1549s ok 83 /date/year/1983 1549s ok 84 /date/year/1984 1549s ok 85 /date/year/1985 1549s ok 86 /date/year/1986 1549s ok 87 /date/year/1987 1549s ok 88 /date/year/1988 1549s ok 89 /date/year/1989 1549s ok 90 /date/year/1990 1549s ok 91 /date/year/1991 1549s ok 92 /date/year/1992 1549s ok 93 /date/year/1993 1549s ok 94 /date/year/1994 1549s ok 95 /date/year/1995 1549s ok 96 /date/year/1996 1549s ok 97 /date/year/1997 1549s ok 98 /date/year/1998 1549s ok 99 /date/year/1999 1549s ok 100 /date/year/2000 1549s ok 101 /date/year/2001 1549s ok 102 /date/year/2002 1549s ok 103 /date/year/2003 1549s ok 104 /date/year/2004 1549s ok 105 /date/year/2005 1549s ok 106 /date/year/2006 1549s ok 107 /date/year/2007 1549s ok 108 /date/year/2008 1549s ok 109 /date/year/2009 1549s ok 110 /date/year/2010 1549s ok 111 /date/year/2011 1549s ok 112 /date/year/2012 1549s ok 113 /date/year/3000 1549s ok 114 /date/year/3001 1549s ok 115 /date/year/3002 1549s ok 116 /date/year/3998 1549s ok 117 /date/year/3999 1549s ok 118 /date/year/4000 1549s ok 119 /date/year/4001 1549s ok 120 /date/year/4002 1549s ok 121 /date/year/4003 1549s # End of year tests 1549s # End of date tests 1549s ok - glib/date.test 1549s # Running test: glib/gobject-private.test 1549s TAP version 14 1549s # random seed: R02S0ffedc670b19a5dc5e91032bd5557cd1 1549s 1..3 1549s # Start of private tests 1549s ok 1 /private/instance 1549s ok 2 /private/derived-instance 1549s ok 3 /private/mixed-derived-instance 1549s # End of private tests 1549s ok - glib/gobject-private.test 1549s # Running test: glib/dir.test 1549s TAP version 14 1549s # random seed: R02Sca79a3aa0c3dfcc552e071d564504846 1549s 1..3 1549s # Start of dir tests 1549s ok 1 /dir/read 1549s ok 2 /dir/nonexisting 1549s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1549s ok 3 /dir/refcounting 1549s # End of dir tests 1549s ok - glib/dir.test 1549s # Running test: glib/error.test 1549s TAP version 14 1549s # random seed: R02Scb7cb77bf5dab0fe9ef3cf361f8c2d4b 1549s 1..3 1549s # Start of error tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/system-config1:/tmp/test_error_KGU0Z2/error/from-errno/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/system-data1:/tmp/test_error_KGU0Z2/error/from-errno/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KGU0Z2/error/from-errno/.dirs/runtime 1549s ok 1 /error/from-errno 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/system-config1:/tmp/test_error_KGU0Z2/error/from-file-error/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/system-data1:/tmp/test_error_KGU0Z2/error/from-file-error/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KGU0Z2/error/from-file-error/.dirs/runtime 1549s ok 2 /error/from-file-error 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KGU0Z2/error/from-win32-error/.dirs/runtime 1549s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1549s # End of error tests 1549s ok - glib/error.test 1549s # Running test: glib/type-flags.test 1549s TAP version 14 1549s # random seed: R02S042832dd15b41649277a6449fd8bf46c 1549s 1..4 1549s # Start of type tests 1549s # Start of flags tests 1549s ok 1 /type/flags/interface 1549s ok 2 /type/flags/final 1549s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1549s ok 3 /type/flags/deprecated 1549s # Start of final tests 1549s ok 4 /type/flags/final/instance-check 1549s # End of final tests 1549s # End of flags tests 1549s # End of type tests 1549s ok - glib/type-flags.test 1549s # Running test: glib/guuid.test 1549s TAP version 14 1549s # random seed: R02Sc9e3b082be80f14572e92bab63a743f6 1549s 1..2 1549s # Start of uuid tests 1549s ok 1 /uuid/string 1549s ok 2 /uuid/random 1549s # End of uuid tests 1549s ok - glib/guuid.test 1549s # Running test: glib/ifaceproperties.test 1549s TAP version 14 1549s # random seed: R02S0995eb15d269fb90c87d752477288e5c 1549s 1..7 1549s # Start of interface tests 1549s # Start of properties tests 1549s ok 1 /interface/properties/set 1549s ok 2 /interface/properties/notify 1549s ok 3 /interface/properties/find-overridden 1549s ok 4 /interface/properties/list-overridden 1549s ok 5 /interface/properties/find-interface 1549s ok 6 /interface/properties/list-interface 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1549s ok 7 /interface/properties/not-overridden 1549s # End of properties tests 1549s # End of interface tests 1549s ok - glib/ifaceproperties.test 1549s # Running test: glib/portal-support-none.test 1549s TAP version 14 1549s # random seed: R02Sdf089a21c7fd691ec3b055b9282d68e6 1549s 1..1 1549s # Start of portal-support tests 1549s ok 1 /portal-support/none 1549s # End of portal-support tests 1549s ok - glib/portal-support-none.test 1549s # Running test: glib/gdbus-peer-object-manager.test 1549s TAP version 14 1549s # random seed: R02Sa33ab9dd988a6d2d3297a84059c10a13 1549s 1..2 1549s # Start of gdbus tests 1549s # Start of peer-object-manager tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/normal/.dirs/runtime 1549s ok 1 /gdbus/peer-object-manager/normal 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BT0ZZ2/gdbus/peer-object-manager/root/.dirs/runtime 1549s ok 2 /gdbus/peer-object-manager/root 1549s # End of peer-object-manager tests 1549s # End of gdbus tests 1549s ok - glib/gdbus-peer-object-manager.test 1549s # Running test: glib/macros-c-99.test 1549s TAP version 14 1549s # random seed: R02S3170b23a8b4591c87c53b065285ac78d 1549s 1..4 1549s # Start of C tests 1549s ok 1 /C/standard-99 1549s # End of C tests 1549s # Start of alignof tests 1549s ok 2 /alignof/fallback 1549s # End of alignof tests 1549s # Start of assert tests 1549s ok 3 /assert/static 1549s # End of assert tests 1549s # Start of struct tests 1549s ok 4 /struct/sizeof_member 1549s # End of struct tests 1549s ok - glib/macros-c-99.test 1549s # Running test: glib/scannerapi.test 1549s TAP version 14 1549s # random seed: R02Sf478546cb8e9142fa5797d58cb0fad73 1549s 1..4 1549s # Start of scanner tests 1549s ok 1 /scanner/warn 1549s ok 2 /scanner/error 1549s ok 3 /scanner/symbols 1549s ok 4 /scanner/tokens 1549s # End of scanner tests 1549s ok - glib/scannerapi.test 1549s # Running test: glib/resolver-parsing.test 1549s TAP version 14 1549s # random seed: R02S4ee0a85f5d45aea12a65f43ed451b139 1549s 1..21 1549s # Start of gresolver tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/invalid-header/.dirs/runtime 1549s ok 1 /gresolver/invalid-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/record-ownership/.dirs/runtime 1549s ok 2 /gresolver/record-ownership 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/unknown-record-type/.dirs/runtime 1549s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1549s ok 3 /gresolver/unknown-record-type 1549s # Start of mx tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/valid/.dirs/runtime 1549s ok 4 /gresolver/mx/valid 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/.dirs/runtime 1549s ok 5 /gresolver/mx/invalid 1549s # Start of invalid tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short/.dirs/runtime 1549s ok 6 /gresolver/mx/invalid/too-short 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/mx/invalid/too-short2/.dirs/runtime 1549s ok 7 /gresolver/mx/invalid/too-short2 1549s # End of invalid tests 1549s # End of mx tests 1549s # Start of ns tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/valid/.dirs/runtime 1549s ok 8 /gresolver/ns/valid 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/ns/invalid/.dirs/runtime 1549s ok 9 /gresolver/ns/invalid 1549s # End of ns tests 1549s # Start of soa tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/valid/.dirs/runtime 1549s ok 10 /gresolver/soa/valid 1549s # Start of invalid tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/mname/.dirs/runtime 1549s ok 11 /gresolver/soa/invalid/mname 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/rname/.dirs/runtime 1549s ok 12 /gresolver/soa/invalid/rname 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/soa/invalid/too-short/.dirs/runtime 1549s ok 13 /gresolver/soa/invalid/too-short 1549s # End of invalid tests 1549s # End of soa tests 1549s # Start of srv tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/valid/.dirs/runtime 1549s ok 14 /gresolver/srv/valid 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/.dirs/runtime 1549s ok 15 /gresolver/srv/invalid 1549s # Start of invalid tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short/.dirs/runtime 1549s ok 16 /gresolver/srv/invalid/too-short 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/srv/invalid/too-short2/.dirs/runtime 1549s ok 17 /gresolver/srv/invalid/too-short2 1549s # End of invalid tests 1549s # End of srv tests 1549s # Start of txt tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/.dirs/runtime 1549s ok 18 /gresolver/txt/valid 1549s # Start of valid tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1549s ok 19 /gresolver/txt/valid/multiple-strings 1549s # End of valid tests 1549s # Start of invalid tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/empty/.dirs/runtime 1549s ok 20 /gresolver/txt/invalid/empty 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YHGMZ2/gresolver/txt/invalid/overflow/.dirs/runtime 1549s ok 21 /gresolver/txt/invalid/overflow 1549s # End of invalid tests 1549s # End of txt tests 1549s # End of gresolver tests 1549s ok - glib/resolver-parsing.test 1549s # Running test: glib/charset.test 1549s TAP version 14 1549s # random seed: R02S954aca92fb7808bb7fea7cc8c2d738a2 1549s 1..2 1549s # Start of charset tests 1549s # Test 0 1549s # Test 1 1549s # Test 2 1549s # Test 3 1549s ok 1 /charset/language_names_with_category 1549s ok 2 /charset/language_names_with_category_async 1549s # End of charset tests 1549s ok - glib/charset.test 1549s # Running test: glib/option-argv0.test 1549s TAP version 14 1549s # random seed: R02Sd2224e8b37bff667b5f507a31f55914b 1549s 1..1 1549s # Start of option tests 1549s ok 1 /option/argv0 1549s # End of option tests 1549s ok - glib/option-argv0.test 1549s # Running test: glib/union-info.test 1549s TAP version 14 1549s # random seed: R02Saec7c9b2337a7ff8d2c388e491942f32 1549s 1..2 1549s # Start of union-info tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_126MZ2/union-info/basic/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_126MZ2/union-info/basic/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_126MZ2/union-info/basic/.dirs/runtime 1549s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1549s # /union-info/basic summary: Test basic properties of GIUnionInfo 1549s ok 1 /union-info/basic 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_126MZ2/union-info/methods/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_126MZ2/union-info/methods/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_126MZ2/union-info/methods/.dirs/runtime 1549s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1549s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1549s ok 2 /union-info/methods 1549s # End of union-info tests 1549s ok - glib/union-info.test 1549s # Running test: glib/markup-collect.test 1549s TAP version 14 1549s # random seed: R02Scbd523f2284b146d214cbbe66e987a84 1549s 1..21 1549s # Start of markup tests 1549s # Start of collect tests 1549s ok 1 /markup/collect/0 1549s ok 2 /markup/collect/1 1549s ok 3 /markup/collect/2 1549s ok 4 /markup/collect/3 1549s ok 5 /markup/collect/4 1549s ok 6 /markup/collect/5 1549s ok 7 /markup/collect/6 1549s ok 8 /markup/collect/7 1549s ok 9 /markup/collect/8 1549s ok 10 /markup/collect/9 1549s ok 11 /markup/collect/10 1549s ok 12 /markup/collect/11 1549s ok 13 /markup/collect/12 1549s ok 14 /markup/collect/13 1549s ok 15 /markup/collect/14 1549s ok 16 /markup/collect/15 1549s ok 17 /markup/collect/16 1549s ok 18 /markup/collect/17 1549s ok 19 /markup/collect/18 1549s ok 20 /markup/collect/19 1549s ok 21 /markup/collect/cleanup 1549s # End of collect tests 1549s # End of markup tests 1549s ok - glib/markup-collect.test 1549s # Running test: glib/tree.test 1549s TAP version 14 1549s # random seed: R02S65bf9d8010e28a094afed07f87f6f78d 1549s 1..7 1549s # Start of tree tests 1549s ok 1 /tree/search 1549s ok 2 /tree/remove 1549s ok 3 /tree/destroy 1549s ok 4 /tree/traverse 1549s ok 5 /tree/insert 1549s ok 6 /tree/bounds 1549s ok 7 /tree/remove-all 1549s # End of tree tests 1549s ok - glib/tree.test 1549s # Running test: glib/utils-c-17.test 1549s TAP version 14 1549s # random seed: R02S1fa0333757bb9852d0d79612fc4f9513 1549s 1..40 1549s # Start of utils tests 1549s ok 1 /utils/language-names 1549s ok 2 /utils/locale-variants 1549s ok 3 /utils/version 1549s ok 4 /utils/appname 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1549s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1549s ok 5 /utils/prgname-thread-safety 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1549s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1549s ok 6 /utils/tmpdir 1549s ok 7 /utils/basic_bits 1549s ok 8 /utils/bits 1549s ok 9 /utils/swap 1549s ok 10 /utils/find-program 1549s ok 11 /utils/find-program-for-path 1549s ok 12 /utils/debug 1549s ok 13 /utils/codeset 1549s ok 14 /utils/codeset2 1549s ok 15 /utils/console-charset 1549s ok 16 /utils/gettext 1549s ok 17 /utils/username 1549s ok 18 /utils/realname 1549s ok 19 /utils/hostname 1549s ok 20 /utils/xdgdirs 1549s ok 21 /utils/specialdir 1549s # NAME: Ubuntu 1549s ok 22 /utils/os-info 1549s ok 23 /utils/clear-pointer 1549s ok 24 /utils/clear-pointer-cast 1549s ok 25 /utils/take-pointer 1549s ok 26 /utils/clear-source 1549s ok 27 /utils/misc-mem 1549s # /utils/aligned-mem summary: Aligned memory allocator 1549s # Alignment must not be zero 1549s # Alignment must be a power of two 1549s # Alignment must be a multiple of sizeof(void*) 1549s ok 28 /utils/aligned-mem 1549s # /utils/free-sized summary: Check that g_free_sized() works 1549s ok 29 /utils/free-sized 1549s ok 30 /utils/nullify 1549s ok 31 /utils/atexit 1549s ok 32 /utils/check-setuid 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1549s ok 33 /utils/int-limits 1549s ok 34 /utils/clear-list 1549s ok 35 /utils/clear-slist 1549s # Start of specialdir tests 1549s ok 36 /utils/specialdir/desktop 1549s # End of specialdir tests 1549s # Start of clear-pointer tests 1549s ok 37 /utils/clear-pointer/side-effects 1549s # End of clear-pointer tests 1549s # Start of aligned-mem tests 1549s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1549s ok 38 /utils/aligned-mem/alignment 1549s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1549s ok 39 /utils/aligned-mem/zeroed 1549s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1549s ok 40 /utils/aligned-mem/free-sized 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of aligned-mem tests 1549s # End of utils tests 1549s ok - glib/utils-c-17.test 1549s # Running test: glib/notify-init.test 1549s TAP version 14 1549s # random seed: R02S52742a569c176a21c1622e8cf0d228e7 1549s 1..1 1549s # Start of properties tests 1549s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1549s ok 1 /properties/notify-in-init 1549s # End of properties tests 1549s ok - glib/notify-init.test 1549s # Running test: glib/pollable.test 1549s TAP version 14 1549s # random seed: R02Scd815720671107293307963a603a1886 1549s 1..6 1549s # Start of pollable tests 1549s ok 1 /pollable/converter 1549s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1549s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8a3abd0 and GSocketClientAsyncConnectData 0x8a34150 1549s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1549s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1549s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8a3b790 for GSocketClientAsyncConnectData 0x8a34150 1549s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1549s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1549s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1549s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1549s ok 2 /pollable/socket 1549s # Start of unix tests 1549s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1549s ok 3 /pollable/unix/pipe 1549s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1549s ok 4 /pollable/unix/pty 1549s # /pollable/unix/file summary: Test that regular files are not considered pollable 1549s ok 5 /pollable/unix/file 1549s # /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 1549s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1549s # End of unix tests 1549s # End of pollable tests 1549s ok - glib/pollable.test 1549s # Running test: glib/gdbus-connection-slow.test 1549s TAP version 14 1549s # random seed: R02S3fa39410a30936db385ff87e6f4ea108 1549s 1..2 1549s # Start of gdbus tests 1549s # Start of connection tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/flush/.dirs/runtime 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s ok 1 /gdbus/connection/flush 1550s # slow test /gdbus/connection/flush executed in 0.56 secs 1550s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/home 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/cache 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/system-config2 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/config 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/system-data2 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/data 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/state 1550s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_30QJZ2/gdbus/connection/large_message/.dirs/runtime 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1550s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s ok 2 /gdbus/connection/large_message 1551s # slow test /gdbus/connection/large_message executed in 0.96 secs 1551s # End of connection tests 1551s # End of gdbus tests 1551s ok - glib/gdbus-connection-slow.test 1551s # Running test: glib/param.test 1551s TAP version 14 1551s # random seed: R02S86f847de7d1da1a0632424c2106ea1bb 1551s 1..32 1551s # Start of param tests 1551s ok 1 /param/value 1551s ok 2 /param/strings 1551s ok 3 /param/qdata 1551s ok 4 /param/validate 1551s ok 5 /param/convert 1551s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1551s ok 7 /param/default 1551s ok 8 /param/is-valid-name 1551s # Start of invalid-name tests 1551s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1551s ok 9 /param/invalid-name/colon 1551s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1551s ok 10 /param/invalid-name/first-char 1551s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1551s ok 11 /param/invalid-name/empty 1551s # End of invalid-name tests 1551s # Start of implement tests 1551s # Start of subprocess tests 1551s # End of subprocess tests 1551s # End of implement tests 1551s # End of param tests 1551s # Start of value tests 1551s ok 12 /value/transform 1551s # End of value tests 1551s # Start of paramspec tests 1551s ok 13 /paramspec/char 1551s ok 14 /paramspec/uchar 1551s ok 15 /paramspec/int 1551s ok 16 /paramspec/uint 1551s ok 17 /paramspec/long 1551s ok 18 /paramspec/ulong 1551s ok 19 /paramspec/int64 1551s ok 20 /paramspec/uint64 1551s ok 21 /paramspec/float 1551s ok 22 /paramspec/double 1551s ok 23 /paramspec/unichar 1551s ok 24 /paramspec/param 1551s ok 25 /paramspec/null-param 1551s ok 26 /paramspec/string 1551s ok 27 /paramspec/override 1551s ok 28 /paramspec/gtype 1551s ok 29 /paramspec/variant 1551s ok 30 /paramspec/custom 1551s ok 31 /paramspec/pool 1551s # Start of variant tests 1551s ok 32 /paramspec/variant/cmp 1551s # End of variant tests 1551s # End of paramspec tests 1551s ok - glib/param.test 1551s # Running test: glib/basics-gobject.test 1551s TAP version 14 1551s # random seed: R02S662bef34487c6ab00c4a4fbb9dc358b5 1551s 1..1 1551s # Start of gobject tests 1551s # private data during initialization: 54321 == 54321 1551s # MAIN: emit test-signal: 1551s # ::test_signal default_handler called 1551s # ::test_signal default_handler called 1551s # ::test_signal default_handler called 1551s # signal return: "" 1551s # MAIN: call iface print-string on test and derived object: 1551s # Iface-FOO: "iface-string-from-test-type" from 0xbb7ac50 1551s # Iface-BAR: "iface-string-from-derived-type" from 0xbb7ab30 1551s # chaining: 1551s # Iface-FOO: "iface-string-from-derived-type" from 0xbb7ab30 1551s # private data after initialization: 54321 == 54321 1551s ok 1 /gobject/basics 1551s # End of gobject tests 1551s ok - glib/basics-gobject.test 1551s # Running test: glib/macros.test 1551s TAP version 14 1551s # random seed: R02S8f45ed7f1ecb9e4151cff8902bc199a8 1551s 1..3 1551s # Start of alignof tests 1551s ok 1 /alignof/fallback 1551s # End of alignof tests 1551s # Start of assert tests 1551s ok 2 /assert/static 1551s # End of assert tests 1551s # Start of struct tests 1551s ok 3 /struct/sizeof_member 1551s # End of struct tests 1551s ok - glib/macros.test 1551s # Running test: glib/memchunk.test 1551s TAP version 14 1551s # random seed: R02Sa64aa3b04b2684b7b3717ea4a4ab3d72 1551s 1..1 1551s # Start of memchunk tests 1551s ok 1 /memchunk/basic 1551s # End of memchunk tests 1551s ok - glib/memchunk.test 1551s # Running test: glib/portal-support-env-var.test 1551s TAP version 14 1551s # random seed: R02S8ecf0599aebdfcc6c159909fd49d376c 1551s 1..1 1551s # Start of portal-support tests 1551s ok 1 /portal-support/env-var 1551s # End of portal-support tests 1551s ok - glib/portal-support-env-var.test 1551s # Running test: glib/converter-stream.test 1551s TAP version 14 1551s # random seed: R02Sb46418f2e47f4a5f340845ce32a53893 1551s 1..17 1551s # Start of converter tests 1551s ok 1 /converter/basics 1551s # End of converter tests 1551s # Start of converter-input-stream tests 1551s ok 2 /converter-input-stream/expander 1551s ok 3 /converter-input-stream/compressor 1551s # Start of truncation tests 1551s ok 4 /converter-input-stream/truncation/zlib 1551s ok 5 /converter-input-stream/truncation/gzip 1551s ok 6 /converter-input-stream/truncation/raw 1551s # End of truncation tests 1551s # Start of charset tests 1551s ok 7 /converter-input-stream/charset/utf8->latin1 1551s ok 8 /converter-input-stream/charset/latin1->utf8 1551s ok 9 /converter-input-stream/charset/fallbacks 1551s # End of charset tests 1551s # End of converter-input-stream tests 1551s # Start of converter-output-stream tests 1551s # Start of roundtrip tests 1551s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1551s ok 10 /converter-output-stream/roundtrip/zlib-0 1551s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1552s ok 11 /converter-output-stream/roundtrip/zlib-9 1552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1552s ok 12 /converter-output-stream/roundtrip/gzip-0 1552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1552s ok 13 /converter-output-stream/roundtrip/gzip-9 1552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1552s ok 14 /converter-output-stream/roundtrip/raw-0 1552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1552s ok 15 /converter-output-stream/roundtrip/raw-9 1552s # End of roundtrip tests 1552s # End of converter-output-stream tests 1552s # Start of converter-stream tests 1552s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1552s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd2acad8 and GSocketClientAsyncConnectData 0xd2a6d20 1552s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1552s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1552s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd2ad7b0 for GSocketClientAsyncConnectData 0xd2a6d20 1552s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1552s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1552s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1552s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1552s ok 16 /converter-stream/pollable 1552s ok 17 /converter-stream/leftover 1552s # End of converter-stream tests 1552s ok - glib/converter-stream.test 1552s # Running test: glib/unicode-normalize.test 1552s TAP version 14 1552s # random seed: R02S50c7fbbb89ee1890541081d5bbaea65f 1552s 1..3 1552s # Start of unicode tests 1552s # Processing Part0 # Specific cases 1552s # Processing Part1 # Character by character test 1552s # Processing Part2 # Canonical Order Test 1552s # Processing Part3 # PRI #29 Test 1552s ok 1 /unicode/normalize 1552s # Invalid UTF-8 vector 0 1552s # Invalid UTF-8 vector 1 1552s # Invalid UTF-8 vector 2 1552s # Invalid UTF-8 vector 3 1552s # Invalid UTF-8 vector 4 1552s # Invalid UTF-8 vector 5 1552s # Invalid UTF-8 vector 6 1552s # Invalid UTF-8 vector 7 1552s # Invalid UTF-8 vector 8 1552s # Invalid UTF-8 vector 9 1552s # Invalid UTF-8 vector 10 1552s # Invalid UTF-8 vector 11 1552s # Invalid UTF-8 vector 12 1552s ok 2 /unicode/normalize-invalid 1552s # Start of normalize tests 1552s ok 3 /unicode/normalize/bad-length 1552s # End of normalize tests 1552s # End of unicode tests 1552s ok - glib/unicode-normalize.test 1552s # Running test: glib/private.test 1552s TAP version 14 1552s # random seed: R02S1be1a1c8633ab4927b70197a703b3bfa 1552s 1..8 1552s # Start of thread tests 1552s ok 1 /thread/private1 1553s ok 2 /thread/private2 1553s # slow test /thread/private2 executed in 1.10 secs 1553s ok 3 /thread/private3 1553s ok 4 /thread/staticprivate1 1553s ok 5 /thread/staticprivate2 1553s ok 6 /thread/staticprivate3 1554s # Executing: glib/private.test 1555s ok 7 /thread/staticprivate4 1555s # slow test /thread/staticprivate4 executed in 1.10 secs 1555s ok 8 /thread/staticprivate5 1555s # End of thread tests 1555s ok - glib/private.test 1555s # Running test: glib/logging.test 1555s TAP version 14 1555s # random seed: R02S17b110812859c011788bf7c1b03e51f4 1555s 1..17 1555s # Start of logging tests 1555s ok 1 /logging/default-handler 1555s ok 2 /logging/warnings 1555s ok 3 /logging/fatal-log-mask 1555s # bu-DEBUG: message 1555s # ba-DEBUG: message 1555s # ba-INFO: message 1555s ok 4 /logging/set-handler 1555s ok 5 /logging/print-handler 1555s ok 6 /logging/printerr-handler 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1555s # The Log Message Handler 1555s # 1555s # The Good Fail Message Handler 1555s # 1555s ok 7 /logging/653052 1555s ok 8 /logging/gibberish 1555s # Start of default-handler tests 1555s # Start of subprocess tests 1555s # End of subprocess tests 1555s # End of default-handler tests 1555s # End of logging tests 1555s # Start of structured-logging tests 1555s ok 9 /structured-logging/no-state 1555s ok 10 /structured-logging/some-state 1555s ok 11 /structured-logging/robustness 1555s ok 12 /structured-logging/roundtrip1 1555s ok 13 /structured-logging/roundtrip2 1555s ok 14 /structured-logging/roundtrip3 1555s ok 15 /structured-logging/variant1 1555s ok 16 /structured-logging/variant2 1555s ok 17 /structured-logging/set-writer-func-twice 1555s # End of structured-logging tests 1555s ok - glib/logging.test 1555s # Running test: glib/debugcontroller.test 1555s TAP version 14 1555s # random seed: R02S353a2ab155afdd8dd95984c0e0c6e298 1555s 1..3 1555s # Start of debug-controller tests 1555s # Start of dbus tests 1555s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: Debug output enabled 1555s # GLib-GIO-DEBUG: Debug output disabled 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s ok 1 /debug-controller/dbus/basic 1555s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s ok 2 /debug-controller/dbus/duplicate 1555s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1555s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1555s # End of dbus tests 1555s # End of debug-controller tests 1555s ok - glib/debugcontroller.test 1555s # Running test: glib/base64.test 1555s TAP version 14 1555s # random seed: R02S948a8bec5417d8befe88f578bc592610 1555s 1..28 1555s # Start of base64 tests 1555s ok 1 /base64/encode 1555s ok 2 /base64/decode 1555s ok 3 /base64/decode-inplace 1555s ok 4 /base64/encode-decode 1555s # Start of full tests 1555s ok 5 /base64/full/1 1555s ok 6 /base64/full/2 1555s ok 7 /base64/full/3 1555s ok 8 /base64/full/4 1555s # End of full tests 1555s # Start of encode tests 1555s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1555s ok 9 /base64/encode/empty 1555s # Start of incremental tests 1555s # Start of small-block tests 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1555s ok 10 /base64/encode/incremental/small-block/1 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1555s ok 11 /base64/encode/incremental/small-block/2 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1555s ok 12 /base64/encode/incremental/small-block/3 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1555s ok 13 /base64/encode/incremental/small-block/4 1555s # End of small-block tests 1555s # End of incremental tests 1555s # End of encode tests 1555s # Start of incremental tests 1555s # Start of nobreak tests 1555s ok 14 /base64/incremental/nobreak/1 1555s ok 15 /base64/incremental/nobreak/2 1555s ok 16 /base64/incremental/nobreak/3 1555s ok 17 /base64/incremental/nobreak/4-a 1555s ok 18 /base64/incremental/nobreak/4-b 1555s ok 19 /base64/incremental/nobreak/4-c 1555s # End of nobreak tests 1555s # Start of break tests 1555s ok 20 /base64/incremental/break/1 1555s ok 21 /base64/incremental/break/2 1555s ok 22 /base64/incremental/break/3 1555s # End of break tests 1555s # Start of smallblock tests 1555s ok 23 /base64/incremental/smallblock/1 1555s ok 24 /base64/incremental/smallblock/2 1555s ok 25 /base64/incremental/smallblock/3 1555s ok 26 /base64/incremental/smallblock/4 1555s # End of smallblock tests 1555s # End of incremental tests 1555s # Start of decode tests 1555s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1555s ok 27 /base64/decode/empty 1555s # End of decode tests 1555s # Start of encode-decode tests 1555s # Vector 0: 1555s # Vector 1: f 1555s # Vector 2: fo 1555s # Vector 3: foo 1555s # Vector 4: foob 1555s # Vector 5: fooba 1555s # Vector 6: foobar 1555s ok 28 /base64/encode-decode/rfc4648 1555s # End of encode-decode tests 1555s # End of base64 tests 1555s ok - glib/base64.test 1555s # Running test: glib/cxx-17.test 1555s TAP version 14 1555s # random seed: R02S30c43456d47e43ffe5ad439e36cf24b7 1555s 1..2 1555s # Start of gtask tests 1555s # 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. 1555s ok 1 /gtask/name 1555s # Start of name tests 1555s # 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. 1555s ok 2 /gtask/name/macro-wrapper 1555s # End of name tests 1555s # End of gtask tests 1555s ok - glib/cxx-17.test 1555s # Running test: glib/mem-overflow.test 1555s TAP version 14 1555s # random seed: R02Sbc9e8544796df270faa3598c11dace36 1555s 1..2 1555s # Start of mem tests 1555s ok 1 /mem/overflow 1555s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1555s ok 2 /mem/empty-alloc 1555s # Start of overflow tests 1555s # Start of subprocess tests 1555s # End of subprocess tests 1555s # End of overflow tests 1555s # Start of empty-alloc tests 1555s # End of empty-alloc tests 1555s # End of mem tests 1555s ok - glib/mem-overflow.test 1555s # Running test: glib/actions.test 1555s TAP version 14 1555s # random seed: R02S547b8291f5c19733f0feb04dc6463f18 1555s 1..13 1555s # Start of actions tests 1555s ok 1 /actions/basic 1555s ok 2 /actions/name 1555s ok 3 /actions/simplegroup 1555s ok 4 /actions/stateful 1555s ok 5 /actions/default-activate 1555s ok 6 /actions/entries 1555s ok 7 /actions/parse-detailed 1555s ok 8 /actions/property 1555s ok 9 /actions/no-properties 1555s # Start of dbus tests 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s ok 10 /actions/dbus/export 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1555s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # Executing: glib/actions.test 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s ok 11 /actions/dbus/threaded 1559s # slow test /actions/dbus/threaded executed in 4.35 secs 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s ok 12 /actions/dbus/bug679509 1559s # Start of export tests 1559s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s ok 13 /actions/dbus/export/error-handling 1559s # End of export tests 1559s # End of dbus tests 1559s # End of actions tests 1559s ok - glib/actions.test 1559s # Running test: glib/buffered-output-stream.test 1559s TAP version 14 1559s # random seed: R02Sf40b3584ee0c084a35fd1ee37e0de862 1559s 1..5 1559s # Start of buffered-output-stream tests 1559s ok 1 /buffered-output-stream/write 1559s ok 2 /buffered-output-stream/grow 1559s ok 3 /buffered-output-stream/seek 1559s ok 4 /buffered-output-stream/truncate 1559s # End of buffered-output-stream tests 1559s # Start of filter-output-stream tests 1560s ok 5 /filter-output-stream/close 1560s # End of filter-output-stream tests 1560s ok - glib/buffered-output-stream.test 1560s # Running test: glib/readwrite.test 1560s TAP version 14 1560s # random seed: R02Sa87f72a833b299cdfb75144bdd31af40 1560s 1..3 1560s # Start of readwrite tests 1560s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1560s ok 1 /readwrite/test_g_file_open_readwrite 1560s ok 2 /readwrite/test_g_file_create_readwrite 1560s ok 3 /readwrite/test_g_file_replace_readwrite 1560s # End of readwrite tests 1560s ok - glib/readwrite.test 1560s # Running test: glib/flags.test 1560s TAP version 14 1560s # random seed: R02S654ea848700c209631f2053e23f75bf7 1560s 1..1 1560s # Start of gobject tests 1560s # Start of flags tests 1560s ok 1 /gobject/flags/validate 1560s # End of flags tests 1560s # End of gobject tests 1560s ok - glib/flags.test 1560s # Running test: glib/overflow-fallback.test 1560s TAP version 14 1560s # random seed: R02S2de319cc06322cf17f5bbbd41dc73f97 1560s 1..6 1560s # Start of glib tests 1560s # Start of checked-math tests 1560s ok 1 /glib/checked-math/guint-add 1560s ok 2 /glib/checked-math/guint-mul 1560s ok 3 /glib/checked-math/guint64-add 1560s ok 4 /glib/checked-math/guint64-mul 1560s ok 5 /glib/checked-math/gsize-add 1560s ok 6 /glib/checked-math/gsize-mul 1560s # End of checked-math tests 1560s # End of glib tests 1560s ok - glib/overflow-fallback.test 1560s # Running test: glib/gdbus-close-pending.test 1560s TAP version 14 1560s # random seed: R02Sb2056c8d07c4798bed112243a8c781e2 1560s 1..2 1560s # Start of gdbus tests 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/close-pending/.dirs/runtime 1560s ok 1 /gdbus/close-pending 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CRNXZ2/gdbus/unref-pending/.dirs/runtime 1560s ok 2 /gdbus/unref-pending 1560s # End of gdbus tests 1560s ok - glib/gdbus-close-pending.test 1560s # Running test: glib/g-file.test 1560s TAP version 14 1560s # random seed: R02S0ebf77a71081d3f65ce8775668299eae 1560s 1..8 1560s # Start of g-file tests 1560s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1560s ok 1 /g-file/test_g_file_new_null 1560s ok 2 /g-file/test_g_file_new_for_path 1560s ok 3 /g-file/test_g_file_new_for_uri 1560s ok 4 /g-file/test_g_file_dup 1560s ok 5 /g-file/test_g_file_get_parse_name_utf8 1560s file:///tmp/test-tmp-glib_g-file.test-K4XJZ2 1560s file:///tmp 1560s file:///tmp 1560s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1560s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1560s ok 6 /g-file/test_g_file_new_for_commandline_arg 1560s /dir1 /dir1/dir2/dir3/ 1560s /dir1/ /dir1/dir2/dir3/ 1560s /dir1 /dir1/dir2/dir3 1560s /dir1/ /dir1/dir2/dir3 1560s /tmp/ /something/ 1560s /dir1/dir2 /dir1/ 1560s //dir1/new //dir1/new/dir2/dir3 1560s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1560s file:///dir1 file:///dir1/dir2/dir3/ 1560s file:///dir1/ file:///dir1/dir2/dir3/ 1560s file:///dir1 file:///dir1/dir2/dir3 1560s file:///dir1/ file:///dir1/dir2/dir3 1560s file:///tmp/ file:///something/ 1560s file:///dir1/dir2 file:///dir1/ 1560s file:////dir1/new file:////dir1/new/dir2/dir3 1560s 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 1560s ok 7 /g-file/test_g_file_has_prefix 1560s ok 8 /g-file/test_g_file_get_parent_child 1560s # End of g-file tests 1560s ok - glib/g-file.test 1560s # Running test: glib/atomic.test 1560s TAP version 14 1560s # random seed: R02S71a1bcd1451fb3e04bb5954403f88eba 1560s 1..2 1560s # Start of atomic tests 1560s ok 1 /atomic/types 1560s ok 2 /atomic/threaded 1560s # End of atomic tests 1560s ok - glib/atomic.test 1560s # Running test: glib/data-output-stream.test 1560s TAP version 14 1560s # random seed: R02S0066442cbd9ad1d49fa7b624b27f80a1 1560s 1..7 1560s # Start of data-output-stream tests 1560s ok 1 /data-output-stream/basic 1560s ok 2 /data-output-stream/write-lines-LF 1560s ok 3 /data-output-stream/write-lines-CR 1560s ok 4 /data-output-stream/write-lines-CR-LF 1560s ok 5 /data-output-stream/write-int 1560s ok 6 /data-output-stream/seek 1560s ok 7 /data-output-stream/truncate 1560s # End of data-output-stream tests 1560s ok - glib/data-output-stream.test 1560s # Running test: glib/spawn-multithreaded.test 1560s TAP version 14 1560s # random seed: R02S34ed94cbfe53ef76ef27beec35489714 1560s 1..4 1560s # Start of gthread tests 1561s # Child 5614 (ttl 1) exited, status 0 1562s # Child 5615 (ttl 2) exited, status 0 1562s ok 1 /gthread/spawn-childs 1562s # slow test /gthread/spawn-childs executed in 2.00 secs 1562s # Created pid: 5619 (ttl 1) 1562s # Created pid: 5620 (ttl 2) 1563s # Child 5619 (ttl 1) exited, status 0 1564s # Executing: glib/spawn-multithreaded.test 1564s # Child 5620 (ttl 2) exited, status 0 1564s ok 2 /gthread/spawn-childs-threads 1564s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1564s ok 3 /gthread/spawn-sync 1564s ok 4 /gthread/spawn-async 1564s # End of gthread tests 1564s ok - glib/spawn-multithreaded.test 1564s # Running test: glib/bitlock.test 1564s TAP version 14 1564s # random seed: R02Sa779e04c19ba74f33a573a121a7b4620 1564s 1..1 1564s # Start of bitlock tests 1564s # Start of performance tests 1564s # max perf: iterations per second 1564s ok 1 /bitlock/performance/uncontended 1564s # End of performance tests 1564s # End of bitlock tests 1564s ok - glib/bitlock.test 1564s # Running test: glib/utf8-performance.test 1564s TAP version 14 1564s # random seed: R02Sd242cc4ca98003ed46aa2bd2a87f19ec 1564s 1..36 1564s # Start of utf8 tests 1564s # Start of perf tests 1564s # Start of get_char tests 1564s # max perf: 5.4 MB/s 1564s ok 1 /utf8/perf/get_char/ascii 1564s # max perf: 67.0 MB/s 1564s ok 2 /utf8/perf/get_char/latin1 1564s # max perf: 160.0 MB/s 1564s ok 3 /utf8/perf/get_char/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 4 /utf8/perf/get_char/han 1564s # End of get_char tests 1564s # Start of get_char-backwards tests 1564s # max perf: 43.0 MB/s 1564s ok 5 /utf8/perf/get_char-backwards/ascii 1564s # max perf: 67.0 MB/s 1564s ok 6 /utf8/perf/get_char-backwards/latin1 1564s # max perf: 160.0 MB/s 1564s ok 7 /utf8/perf/get_char-backwards/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 8 /utf8/perf/get_char-backwards/han 1564s # End of get_char-backwards tests 1564s # Start of get_char_validated tests 1564s # max perf: 43.0 MB/s 1564s ok 9 /utf8/perf/get_char_validated/ascii 1564s # max perf: 67.0 MB/s 1564s ok 10 /utf8/perf/get_char_validated/latin1 1564s # max perf: 160.0 MB/s 1564s ok 11 /utf8/perf/get_char_validated/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 12 /utf8/perf/get_char_validated/han 1564s # End of get_char_validated tests 1564s # Start of utf8_to_ucs4 tests 1564s # max perf: 21.5 MB/s 1564s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1564s # max perf: 67.0 MB/s 1564s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1564s # max perf: 160.0 MB/s 1564s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 16 /utf8/perf/utf8_to_ucs4/han 1564s # End of utf8_to_ucs4 tests 1564s # Start of utf8_to_ucs4-sized tests 1564s # max perf: inf MB/s 1564s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1564s # max perf: 67.0 MB/s 1564s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1564s # max perf: 160.0 MB/s 1564s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1564s # End of utf8_to_ucs4-sized tests 1564s # Start of utf8_to_ucs4_fast tests 1564s # max perf: 43.0 MB/s 1564s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1564s # max perf: 67.0 MB/s 1564s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1564s # max perf: 160.0 MB/s 1564s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1564s # End of utf8_to_ucs4_fast tests 1564s # Start of utf8_to_ucs4_fast-sized tests 1564s # max perf: inf MB/s 1564s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1564s # max perf: inf MB/s 1564s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1564s # max perf: 160.0 MB/s 1564s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1564s # End of utf8_to_ucs4_fast-sized tests 1564s # Start of utf8_validate tests 1564s # max perf: 43.0 MB/s 1564s ok 29 /utf8/perf/utf8_validate/ascii 1564s # max perf: inf MB/s 1564s ok 30 /utf8/perf/utf8_validate/latin1 1564s # max perf: inf MB/s 1564s ok 31 /utf8/perf/utf8_validate/cyrillic 1564s # max perf: 156.0 MB/s 1564s ok 32 /utf8/perf/utf8_validate/han 1564s # End of utf8_validate tests 1564s # Start of utf8_validate-sized tests 1564s # max perf: 43.0 MB/s 1564s ok 33 /utf8/perf/utf8_validate-sized/ascii 1564s # max perf: 67.0 MB/s 1564s ok 34 /utf8/perf/utf8_validate-sized/latin1 1564s # max perf: 160.0 MB/s 1564s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1564s # max perf: inf MB/s 1564s ok 36 /utf8/perf/utf8_validate-sized/han 1564s # End of utf8_validate-sized tests 1564s # End of perf tests 1564s # End of utf8 tests 1564s ok - glib/utf8-performance.test 1564s # Running test: glib/hostutils.test 1564s TAP version 14 1564s # random seed: R02Sebb32c31209e12c7aecba052ee848d2d 1564s 1..3 1564s # Start of hostutils tests 1564s ok 1 /hostutils/to_ascii 1564s ok 2 /hostutils/to_unicode 1564s ok 3 /hostutils/is_ip_addr 1564s # End of hostutils tests 1564s ok - glib/hostutils.test 1564s # Running test: glib/gdbus-proxy-threads.test 1564s TAP version 14 1564s # random seed: R02S595f7e4bec7caec04a62efd8870f6929 1564s 1..1 1564s # Start of gdbus tests 1564s # Start of proxy tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_MZWPZ2/gdbus/proxy/vs-threads/.dirs/runtime 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s ok 1 /gdbus/proxy/vs-threads 1567s # slow test /gdbus/proxy/vs-threads executed in 2.21 secs 1567s # End of proxy tests 1567s # End of gdbus tests 1567s cleaning up pid 5693 1567s ok - glib/gdbus-proxy-threads.test 1567s # Running test: glib/init.test 1567s TAP version 14 1567s # random seed: R02S89d1fbdf7b4614476ac73daed588f470 1567s 1..2 1567s # Start of thread tests 1567s # Start of deprecated tests 1567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/home 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/cache 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/system-config2 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/config 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/system-data2 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/data 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/state 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_T2FVZ2/thread/deprecated/init/.dirs/runtime 1567s ok 1 /thread/deprecated/init 1567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_T2FVZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1567s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1567s # End of deprecated tests 1567s # End of thread tests 1567s ok - glib/init.test 1567s # Running test: glib/signals-refcount3.test 1567s TAP version 14 1567s # random seed: R02S09563d0bf82597056ad59ce25ca5aacb 1567s 1..1 1567s # Start of gobject tests 1567s # Start of refcount tests 1567s # init 0x83a6a58 1567s # 1567s # init 0x83a6bb0 1567s # 1569s # Executing: glib/signals-refcount3.test 1572s # dispose 0x83a6a58! 1572s # 1572s # dispose 0x83a6bb0! 1572s # 1572s ok 1 /gobject/refcount/signals 1572s # slow test /gobject/refcount/signals executed in 5.00 secs 1572s # End of refcount tests 1572s # End of gobject tests 1572s ok - glib/signals-refcount3.test 1572s # Running test: glib/portal-support-flatpak-none.test 1572s TAP version 14 1572s # random seed: R02S19fde0cffd74cb0753f01c1d58479530 1572s 1..1 1572s # Start of portal-support tests 1572s # Start of flatpak tests 1572s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/home 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/cache 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/system-config2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/config 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/system-data2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/data 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/state 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/runtime 1572s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_YZGTZ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1572s ok 1 /portal-support/flatpak/none 1572s # End of flatpak tests 1572s # End of portal-support tests 1572s ok - glib/portal-support-flatpak-none.test 1572s # Running test: glib/thumbnail-verification.test 1572s TAP version 14 1572s # random seed: R02S9c31e469f9f3894f74dc5daa3f3f1997 1572s 1..1 1572s # Start of png-thumbs tests 1572s ok 1 /png-thumbs/validity 1572s # End of png-thumbs tests 1572s ok - glib/thumbnail-verification.test 1572s # Running test: glib/contenttype.test 1572s TAP version 14 1572s # random seed: R02Sf6323492cc25786ffc67b5134f47203a 1572s 1..13 1572s # Start of contenttype tests 1572s ok 1 /contenttype/guess 1572s ok 2 /contenttype/guess_svg_from_data 1572s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1572s ok 4 /contenttype/unknown 1572s ok 5 /contenttype/subtype 1572s ok 6 /contenttype/list 1572s ok 7 /contenttype/executable 1572s ok 8 /contenttype/description 1572s ok 9 /contenttype/icon 1572s ok 10 /contenttype/symbolic-icon 1572s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1572s ok 11 /contenttype/tree 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1572s ok 12 /contenttype/tree_invalid_encoding 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1572s ok 13 /contenttype/test_type_is_a_special_case 1572s # End of contenttype tests 1572s ok - glib/contenttype.test 1572s # Running test: glib/gdbus-message.test 1572s TAP version 14 1572s # random seed: R02S28bdc53cef634354b69ad735a27816e9 1572s 1..3 1572s # Start of gdbus tests 1572s # Start of message tests 1572s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/home 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/cache 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/system-config2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/config 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/system-data2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/data 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/state 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/lock/.dirs/runtime 1572s ok 1 /gdbus/message/lock 1572s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/home 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/cache 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/system-config2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/config 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/system-data2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/data 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/state 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/copy/.dirs/runtime 1572s ok 2 /gdbus/message/copy 1572s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/home 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/cache 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/system-config2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/config 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/system-data2 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/data 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/state 1572s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OO4TZ2/gdbus/message/bytes-needed/.dirs/runtime 1572s # Vector: 0 1572s # Vector: 1 1572s # Vector: 2 1572s # Vector: 3 1572s # Vector: 4 1572s # Vector: 5 1572s ok 3 /gdbus/message/bytes-needed 1572s # End of message tests 1572s # End of gdbus tests 1572s ok - glib/gdbus-message.test 1572s # Running test: glib/option-context.test 1572s TAP version 14 1572s # random seed: R02Se44b8bb9faf11e93e6c901ab92472916 1572s 1..57 1572s # Start of option tests 1572s ok 1 /option/basic 1572s ok 2 /option/translate 1572s ok 3 /option/strict-posix 1572s # Start of help tests 1572s ok 4 /option/help/options 1572s ok 5 /option/help/no-options 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1572s ok 6 /option/help/no-help-options 1572s # End of help tests 1572s # Start of group tests 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1572s ok 7 /option/group/captions 1572s ok 8 /option/group/main 1572s ok 9 /option/group/error-hook 1572s ok 10 /option/group/parse 1572s # Start of captions tests 1572s # Start of subprocess tests 1572s # End of subprocess tests 1572s # End of captions tests 1572s # End of group tests 1572s # Start of restoration tests 1572s ok 11 /option/restoration/int 1572s ok 12 /option/restoration/string 1572s ok 13 /option/restoration/boolean 1572s # End of restoration tests 1572s # Start of arg tests 1572s ok 14 /option/arg/reverse-string 1572s ok 15 /option/arg/optional-int 1572s # Start of repetition tests 1572s ok 16 /option/arg/repetition/int 1572s ok 17 /option/arg/repetition/string 1572s ok 18 /option/arg/repetition/filename 1572s ok 19 /option/arg/repetition/double 1572s ok 20 /option/arg/repetition/locale 1572s ok 21 /option/arg/repetition/int64 1572s # End of repetition tests 1572s # Start of array tests 1572s ok 22 /option/arg/array/string 1572s # End of array tests 1572s # Start of callback tests 1572s ok 23 /option/arg/callback/string 1572s ok 24 /option/arg/callback/count 1572s ok 25 /option/arg/callback/optional1 1572s ok 26 /option/arg/callback/optional2 1572s ok 27 /option/arg/callback/optional3 1572s ok 28 /option/arg/callback/optional4 1572s ok 29 /option/arg/callback/optional5 1572s ok 30 /option/arg/callback/optional6 1572s ok 31 /option/arg/callback/optional7 1572s ok 32 /option/arg/callback/optional8 1572s # End of callback tests 1572s # Start of remaining tests 1572s ok 33 /option/arg/remaining/callback 1572s ok 34 /option/arg/remaining/callback-false 1572s ok 35 /option/arg/remaining/non-option 1572s ok 36 /option/arg/remaining/separator 1572s ok 37 /option/arg/remaining/array 1572s # End of remaining tests 1572s # Start of ignore tests 1572s ok 38 /option/arg/ignore/long 1572s ok 39 /option/arg/ignore/short 1572s ok 40 /option/arg/ignore/arg 1572s # End of ignore tests 1572s # Start of rest tests 1572s ok 41 /option/arg/rest/non-option 1572s ok 42 /option/arg/rest/separator1 1572s ok 43 /option/arg/rest/separator2 1572s ok 44 /option/arg/rest/separator3 1572s ok 45 /option/arg/rest/separator4 1572s ok 46 /option/arg/rest/separator5 1572s # End of rest tests 1572s # End of arg tests 1572s # Start of context tests 1572s ok 47 /option/context/add 1572s ok 48 /option/context/empty2 1572s ok 49 /option/context/empty3 1572s # End of context tests 1572s # Start of bug tests 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1572s ok 50 /option/bug/unknown-short 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1572s ok 51 /option/bug/lonely-dash 1572s ok 52 /option/bug/triple-dash 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1572s ok 53 /option/bug/missing-arg 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1572s ok 54 /option/bug/dash-arg 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1572s ok 55 /option/bug/short-remaining 1572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1572s ok 56 /option/bug/double-free 1572s ok 57 /option/bug/double-zero 1572s # End of bug tests 1572s # End of option tests 1572s ok - glib/option-context.test 1572s # Running test: glib/volumemonitor.test 1572s TAP version 14 1572s # random seed: R02Sd316f72d0c7aefff5d397583a4970a5d 1572s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1572s 1..3 1572s # Start of volumemonitor tests 1572s ok 1 /volumemonitor/connected_drives 1572s ok 2 /volumemonitor/volumes 1572s ok 3 /volumemonitor/mounts 1572s # End of volumemonitor tests 1572s ok - glib/volumemonitor.test 1572s # Running test: glib/cache.test 1572s TAP version 14 1572s # random seed: R02S332d55734d0a8eb3828dd56d2c74890f 1572s 1..1 1572s # Start of cache tests 1572s ok 1 /cache/basic 1572s # End of cache tests 1572s ok - glib/cache.test 1572s # Running test: glib/memory-settings-backend.test 1572s TAP version 14 1572s # random seed: R02S03b363100dda889c695beacd2acafe43 1572s 1..1 1572s # Start of memory-settings-backend tests 1572s ok 1 /memory-settings-backend/extension-point-registered 1572s # End of memory-settings-backend tests 1572s ok - glib/memory-settings-backend.test 1572s # Running test: glib/overflow.test 1572s TAP version 14 1572s # random seed: R02S043d5043dba1f99d79b4e91f6c074e9b 1572s 1..6 1572s # Start of glib tests 1572s # Start of checked-math tests 1572s ok 1 /glib/checked-math/guint-add 1572s ok 2 /glib/checked-math/guint-mul 1572s ok 3 /glib/checked-math/guint64-add 1572s ok 4 /glib/checked-math/guint64-mul 1572s ok 5 /glib/checked-math/gsize-add 1572s ok 6 /glib/checked-math/gsize-mul 1572s # End of checked-math tests 1572s # End of glib tests 1572s ok - glib/overflow.test 1572s # Running test: glib/signals-refcount2.test 1572s TAP version 14 1572s # random seed: R02S93596c8fbf7655e8308782d58d52d0cc 1572s 1..1 1572s # Start of gobject tests 1572s # Start of refcount tests 1572s # init 0xdf2fa58 1572s # 1572s # init 0xdf2fbb0 1572s # 1574s # Executing: glib/signals-refcount2.test 1577s # dispose 0xdf2fa58! 1577s # 1577s # dispose 0xdf2fbb0! 1577s # 1577s ok 1 /gobject/refcount/signals 1577s # slow test /gobject/refcount/signals executed in 5.00 secs 1577s # End of refcount tests 1577s # End of gobject tests 1577s ok - glib/signals-refcount2.test 1577s # Running test: glib/types.test 1577s TAP version 14 1577s # random seed: R02S7075224f9f63235b89fb65d1fe7f8626 1577s 1..1 1577s # Start of types tests 1577s ok 1 /types/basic_types 1577s # End of types tests 1577s ok - glib/types.test 1577s # Running test: glib/timer.test 1577s TAP version 14 1577s # random seed: R02Sedcfe8491a8208d2e886216df30ead34 1577s 1..10 1577s # Start of timer tests 1577s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1577s ok 2 /timer/stop 1577s ok 3 /timer/continue 1577s ok 4 /timer/reset 1577s ok 5 /timer/is_active 1577s # End of timer tests 1577s # Start of timeval tests 1577s ok 6 /timeval/add 1577s ok 7 /timeval/from-iso8601 1577s ok 8 /timeval/to-iso8601 1577s # Start of to-iso8601 tests 1577s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1577s # End of to-iso8601 tests 1577s # End of timeval tests 1577s # Start of usleep tests 1577s ok 10 /usleep/with-zero-wait 1577s # End of usleep tests 1577s ok - glib/timer.test 1577s # Running test: glib/gdbus-introspection.test 1577s TAP version 14 1577s # random seed: R02S81ca1b51eb5015643768935b8e4d252a 1577s 1..4 1577s # Start of gdbus tests 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-parser/.dirs/runtime 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s ok 1 /gdbus/introspection-parser 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-generate/.dirs/runtime 1577s ok 2 /gdbus/introspection-generate 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-default-direction/.dirs/runtime 1577s ok 3 /gdbus/introspection-default-direction 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CKN2Z2/gdbus/introspection-extra-data/.dirs/runtime 1577s ok 4 /gdbus/introspection-extra-data 1577s # End of gdbus tests 1577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1577s ok - glib/gdbus-introspection.test 1577s # Running test: glib/registered-type-info.test 1577s TAP version 14 1577s # random seed: R02S99d7bafa92e49313b37c59be924c6e1f 1577s 1..1 1577s # Start of registered-type-info tests 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_63C0Z2/registered-type-info/boxed/.dirs/runtime 1577s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1577s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1577s # Expecting CClosure to not be boxed 1577s # Expecting TypeCValue to not be boxed 1577s # Expecting InitiallyUnownedClass to not be boxed 1577s # Expecting BookmarkFile to be boxed 1577s # Expecting Closure to be boxed 1577s # Expecting Object to not be boxed 1577s ok 1 /registered-type-info/boxed 1577s # End of registered-type-info tests 1577s ok - glib/registered-type-info.test 1577s # Running test: glib/thread-pool-slow.test 1577s TAP version 14 1577s # random seed: R02Sf96dfc46503cafc9df6e0a2622804f78 1577s 1..7 1577s # Start of threadpool tests 1577s ok 1 /threadpool/functions 1577s ok 2 /threadpool/stop-unused 1577s # slow test /threadpool/stop-unused executed in 0.51 secs 1578s ok 3 /threadpool/pools 1578s # [unsorted] ===> pushed new thread with id:77, number of threads:1, unprocessed:1 1578s # [unsorted] ===> pushed new thread with id:78, number of threads:2, unprocessed:2 1578s # [unsorted] ===> pushed new thread with id:70, number of threads:3, unprocessed:3 1578s # [unsorted] ===> pushed new thread with id:77, number of threads:4, unprocessed:4 1578s # [unsorted] ===> pushed new thread with id:80, number of threads:5, unprocessed:5 1578s # [unsorted] ===> pushed new thread with id:41, number of threads:6, unprocessed:6 1578s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:7 1578s # [unsorted] ===> pushed new thread with id:80, number of threads:8, unprocessed:8 1578s # [unsorted] ===> pushed new thread with id:89, number of threads:9, unprocessed:4 1578s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:4 1578s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:5 1578s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:6 1578s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:7 1578s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:8 1578s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:9 1578s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:10 1578s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:11 1578s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:12 1578s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:13 1578s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:14 1578s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:15 1578s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:16 1578s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:17 1578s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:18 1578s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:19 1578s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:20 1578s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:21 1578s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:22 1578s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:23 1578s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:24 1578s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:25 1578s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:26 1578s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:27 1578s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:28 1578s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:29 1578s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:30 1578s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:31 1578s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:32 1578s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:33 1578s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:34 1578s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:35 1578s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:36 1578s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:37 1578s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:38 1578s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:36 1578s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:37 1578s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:38 1578s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:39 1578s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:40 1578s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:41 1578s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:42 1578s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:43 1578s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:44 1578s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:45 1578s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:46 1578s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:47 1578s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:48 1578s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:49 1578s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:50 1578s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:51 1578s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:52 1578s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:52 1578s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:53 1578s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:54 1578s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:55 1578s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:56 1578s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 1578s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:58 1578s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:59 1578s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:60 1578s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:61 1578s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:62 1578s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:63 1578s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:64 1578s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:65 1578s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:66 1578s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:67 1578s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:68 1578s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:69 1578s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:70 1578s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:71 1578s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:72 1578s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:73 1578s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:74 1578s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:75 1578s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:76 1578s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:77 1578s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:78 1578s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:79 1578s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:80 1578s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:81 1578s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:82 1578s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:83 1578s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:84 1578s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:85 1578s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:86 1578s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:87 1578s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:88 1578s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:89 1578s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:90 1578s ok 4 /threadpool/no-sort 1578s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:1 1578s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:2 1578s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:3 1578s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:4 1578s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:5 1578s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:6 1578s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:7 1578s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:8 1578s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:9 1578s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:10 1578s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:11 1578s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:12 1578s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:13 1578s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:14 1578s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:15 1578s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:16 1578s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:17 1578s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:18 1578s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:19 1578s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:20 1578s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:21 1578s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:22 1578s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:23 1578s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:24 1578s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:25 1578s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:26 1578s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:27 1578s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:28 1578s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:29 1578s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:30 1578s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:31 1578s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:32 1578s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:33 1578s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:34 1578s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:35 1578s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:36 1578s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:37 1578s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:38 1578s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:39 1578s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:40 1578s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:41 1578s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:42 1578s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:43 1578s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:44 1578s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:45 1578s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:46 1578s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:47 1578s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:48 1578s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:49 1578s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:50 1578s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:51 1578s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:52 1578s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:53 1578s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:54 1578s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:55 1578s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:56 1578s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:57 1578s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:58 1578s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:59 1578s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:60 1578s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:61 1578s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:62 1578s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:63 1578s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:64 1578s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:65 1578s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:66 1578s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:67 1578s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:68 1578s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:69 1578s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:70 1578s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:71 1578s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:72 1578s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:73 1578s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:74 1578s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:75 1578s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:76 1578s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:77 1578s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:78 1578s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:79 1578s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:80 1578s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:81 1578s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:82 1578s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:83 1578s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:84 1578s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:85 1578s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:86 1578s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:87 1578s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:88 1578s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:89 1578s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:90 1578s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:91 1578s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:92 1578s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:93 1578s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:94 1578s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:95 1578s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:96 1578s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:97 1578s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98 1578s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:99 1578s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:100 1578s # Starting thread pool processing 1578s ok 5 /threadpool/sort 1578s ok 6 /threadpool/stop-unused-multiple 1578s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1578s # Pool idle thread count: 0, unprocessed jobs: 40 1579s # Pool idle thread count: 0, unprocessed jobs: 0 1579s # Pool idle thread count: 0, unprocessed jobs: 0 1579s # Executing: glib/thread-pool-slow.test 1579s # Pool idle thread count: 10, unprocessed jobs: 0 1579s # Pool idle thread count: 10, unprocessed jobs: 0 1580s # Pool idle thread count: 10, unprocessed jobs: 0 1580s # Pool idle thread count: 10, unprocessed jobs: 0 1580s # Pool idle thread count: 10, unprocessed jobs: 0 1580s # Pool idle thread count: 10, unprocessed jobs: 0 1581s # Pool idle thread count: 10, unprocessed jobs: 0 1581s # Pool idle thread count: 10, unprocessed jobs: 0 1581s # Pool idle thread count: 10, unprocessed jobs: 0 1581s # Pool idle thread count: 10, unprocessed jobs: 0 1582s # Pool idle thread count: 10, unprocessed jobs: 0 1582s # Pool idle thread count: 10, unprocessed jobs: 0 1582s # Pool idle thread count: 10, unprocessed jobs: 0 1582s # Pool idle thread count: 10, unprocessed jobs: 0 1583s # Pool idle thread count: 10, unprocessed jobs: 0 1583s # Pool idle thread count: 10, unprocessed jobs: 0 1583s # Pool idle thread count: 10, unprocessed jobs: 0 1583s # Pool idle thread count: 10, unprocessed jobs: 0 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1584s # Executing: glib/thread-pool-slow.test 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 2 1587s # Pool idle thread count: 9, unprocessed jobs: 1 1587s # Pool idle thread count: 8, unprocessed jobs: 0 1587s # Pool idle thread count: 8, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Executing: glib/thread-pool-slow.test 1589s # Pool idle thread count: 2, unprocessed jobs: 0 1589s # Pool idle thread count: 2, unprocessed jobs: 0 1590s # Pool idle thread count: 2, unprocessed jobs: 0 1590s # Pool idle thread count: 2, unprocessed jobs: 0 1590s # Pool idle thread count: 2, unprocessed jobs: 0 1590s # Pool idle thread count: 2, unprocessed jobs: 0 1591s # Pool idle thread count: 2, unprocessed jobs: 0 1591s # Pool idle thread count: 2, unprocessed jobs: 0 1591s # Pool idle thread count: 2, unprocessed jobs: 0 1591s # Pool idle thread count: 2, unprocessed jobs: 0 1592s # Pool idle thread count: 2, unprocessed jobs: 0 1592s # Pool idle thread count: 2, unprocessed jobs: 0 1592s # Pool idle thread count: 2, unprocessed jobs: 0 1592s # Pool idle thread count: 2, unprocessed jobs: 0 1593s # Pool idle thread count: 2, unprocessed jobs: 0 1593s # Pool idle thread count: 2, unprocessed jobs: 0 1593s # Pool idle thread count: 2, unprocessed jobs: 0 1593s # Pool idle thread count: 2, unprocessed jobs: 0 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1594s # Executing: glib/thread-pool-slow.test 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1598s ok 7 /threadpool/idle-time 1598s # slow test /threadpool/idle-time executed in 19.53 secs 1598s # End of threadpool tests 1598s ok - glib/thread-pool-slow.test 1598s # Running test: glib/live-g-file.test 1598s TAP version 14 1598s # random seed: R02S2d6e7fb63c6fe77e5c5be36723f73994 1598s 1..13 1598s # Start of live-g-file tests 1598s # Cleaning target testing structure in 'testdir_live-g-file'... 1598s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1598s ok 1 /live-g-file/prep_clean_structure 1598s # 1598s # Going to create testing structure in 'testdir_live-g-file'... 1598s # Creating directory 'dir1'... 1598s # Creating directory 'dir1/subdir'... 1598s # Creating directory 'dir2'... 1598s # Creating directory 'dir-target'... 1598s # Creating directory 'dir_no-access'... 1598s # Creating directory 'dir_no-write'... 1598s # Creating file 'target-file'... 1598s # Creating file 'normal_file'... 1598s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1598s # Creating file 'executable_file'... 1598s # Creating file 'private_file'... 1598s # Creating file 'normal_file2'... 1598s # Creating file 'readonly_file'... 1598s # Creating file 'UTF_pr?i?lis? z'... 1598s # Creating directory 'dir_pr?i?lis? z'... 1598s # Creating symlink 'lost_symlink' --> 'nowhere'... 1598s # Creating directory 'dir_hidden'... 1598s # Creating file 'dir_hidden/.a-hidden-file'... 1598s # Creating file 'dir_hidden/file-in-.hidden1'... 1598s # Creating file 'dir_hidden/file-in-.hidden2'... 1598s # Creating pattern file... 1598s # done. 1598s ok 2 /live-g-file/create_structure 1598s # Testing sample structure in 'testdir_live-g-file'... 1598s # Testing file 'dir1'... 1598s # Testing file 'dir1/subdir'... 1598s # Testing file 'dir2'... 1598s # Testing file 'dir-target'... 1598s # Testing file 'dir_no-access'... 1598s # Testing file 'dir_no-write'... 1598s # Testing file 'target-file'... 1598s # Testing file 'normal_file'... 1598s # Testing file 'normal_file-symlink'... 1598s # Testing file 'executable_file'... 1598s # Testing file 'private_file'... 1598s # Testing file 'normal_file2'... 1598s # Testing file 'readonly_file'... 1598s # Testing file 'UTF_pr?i?lis? z'... 1598s # Testing file 'dir_pr?i?lis? z'... 1598s # Testing file 'lost_symlink'... 1598s # Testing file 'dir_hidden'... 1598s # Testing file 'dir_hidden/.a-hidden-file'... 1598s # Testing file 'dir_hidden/file-in-.hidden1'... 1598s # Testing file 'dir_hidden/file-in-.hidden2'... 1598s # Testing pattern file... 1598s # read 65536 bytes, total = 65536 of 65536. 1598s ok 3 /live-g-file/test_initial_structure 1598s # Traversing through the sample structure in 'testdir_live-g-file'... 1598s # Found file dir1, relative to root: dir1 1598s # Found file subdir, relative to root: dir1/subdir 1598s # Found file dir2, relative to root: dir2 1598s # Found file dir-target, relative to root: dir-target 1598s # Found file dir_no-access, relative to root: dir_no-access 1598s # Found file dir_no-write, relative to root: dir_no-write 1598s # Found file target-file, relative to root: target-file 1598s # Found file normal_file, relative to root: normal_file 1598s # Found file normal_file-symlink, relative to root: normal_file-symlink 1598s # Found file executable_file, relative to root: executable_file 1598s # Found file private_file, relative to root: private_file 1598s # Found file normal_file2, relative to root: normal_file2 1598s # Found file readonly_file, relative to root: readonly_file 1598s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1598s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1598s # Found file lost_symlink, relative to root: lost_symlink 1598s # Found file dir_hidden, relative to root: dir_hidden 1598s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1598s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1598s # Found file .hidden, relative to root: dir_hidden/.hidden 1598s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1598s # Found file pattern_file, relative to root: pattern_file 1598s ok 4 /live-g-file/test_traverse_structure 1598s # Test enumerate 'testdir_live-g-file'... 1598s # Testing file 'dir_no-access' 1598s # Testing file 'normal_file' 1598s # Testing file 'normal_file-symlink' 1598s # Testing file 'not_exists' 1598s # Testing file 'not_exists' 1598s # Testing file 'not_exists2' 1598s # Testing file 'not_exists3' 1598s # Testing file 'not_exists4' 1598s # Testing file 'dir_no-execute/file' 1598s ok 5 /live-g-file/test_enumerate 1598s # test_open: 'dir1' 1598s # test_open: 'dir_no-access' 1598s # test_open: 'target-file' 1598s # test_open: 'normal_file-symlink' 1598s # test_open: 'executable_file' 1598s # test_open: 'private_file' 1598s # test_open: 'readonly_file' 1598s # test_open: 'UTF_pr?i?lis? z' 1598s # test_open: 'pattern_file' 1598s # test_open: 'not_exists' 1598s # test_open: 'dir_no-execute/file' 1598s # test_open: 'lost_symlink' 1598s ok 6 /live-g-file/test_open 1598s # test_create: 'dir1' 1598s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir1?: Is a directory 1598s # test_create: 'dir1/subdir' 1598s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir1/subdir?: Is a directory 1598s # test_create: 'dir2' 1598s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir2?: File exists 1598s # test_create: 'normal_file' 1598s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/normal_file?: File exists 1598s # test_create: 'executable_file' 1598s # test_create: 'private_file' 1598s # test_create: 'normal_file2' 1598s # test_create: 'UTF_pr?i?lis? z' 1598s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1598s # test_create: 'dir_pr?i?lis? z' 1598s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1598s # test_create: 'pattern_file' 1598s # test_create: 'not_exists2' 1598s # test_create: 'not_exists3' 1598s # test_create: 'not_exists4' 1598s ok 7 /live-g-file/test_create 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> '.' 1598s # res = 0, error code 2 = Target file exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> 'target-file' 1598s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir2' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> 'dir-target' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> '.' 1598s # res = 0, error code 2 = Target file exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> 'target-file' 1598s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/dir-target?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> 'not_exists' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> 'dir_no-access' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'dir-target' --> 'dir_no-write' 1598s # res = 0, error code 25 = Can?t recursively copy directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/target-file?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'target-file' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> '.' 1598s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/normal_file-symlink: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1598s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1598s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/executable_file?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/executable_file?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'executable_file' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/private_file?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/private_file?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'private_file' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/normal_file2?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> '.' 1598s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/pattern_file?: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> 'target-file' 1598s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> 'not_exists' 1598s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'dir-target' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> '.' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'target-file' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'not_exists' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'dir_no-access' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'dir_no-write' 1598s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists?: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'not_exists' --> 'dir-target' 1598s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> 'dir-target' 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> '.' 1598s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/lost_symlink: File exists 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> 'target-file' 1598s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> 'not_exists' 1598s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1598s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1598s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1598s ok 8 /live-g-file/test_copy_move 1598s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir1 1598s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir1: Directory not empty 1598s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir2 1598s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir2: No such file or directory 1598s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/executable_file 1598s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/readonly_file 1598s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_pr?i?lis? z 1598s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists 1598s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists: No such file or directory 1598s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists 1598s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/not_exists: No such file or directory 1598s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-execute/file 1598s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1598s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-ZL4UZ2/testdir_live-g-file/lost_symlink 1598s ok 9 /live-g-file/test_delete 1598s # We do not have CAP_DAC_OVERRIDE or equivalent 1598s ok 10 /live-g-file/test_make_directory_with_parents 1598s # Cleaning target testing structure in 'testdir_live-g-file'... 1598s # deleting 'dir1' 1598s # deleting 'subdir' 1598s # deleting 'dir-target' 1598s # deleting 'dir2' 1598s # deleting 'target-file' 1598s # deleting 'normal_file-symlink' 1598s # deleting 'executable_file' 1598s # deleting 'private_file' 1598s # deleting 'normal_file2' 1598s # deleting 'UTF_pr?i?lis? z' 1598s # deleting 'pattern_file' 1598s # deleting 'lost_symlink' 1598s # deleting 'dir_no-access' 1598s # deleting 'dir_no-write' 1598s # deleting 'target-file' 1598s # deleting 'normal_file' 1598s # deleting 'normal_file-symlink' 1598s # deleting 'executable_file~' 1598s # deleting 'private_file' 1598s # deleting 'normal_file2~' 1598s # deleting 'UTF_pr?i?lis? z' 1598s # deleting 'dir_hidden' 1598s # deleting '.a-hidden-file' 1598s # deleting 'file-in-.hidden1' 1598s # deleting '.hidden' 1598s # deleting 'file-in-.hidden2' 1598s # deleting 'pattern_file' 1598s # deleting 'normal_file2' 1598s # deleting 'not_exists2' 1598s # deleting 'not_exists3' 1598s # deleting 'not_exists4' 1598s # deleting 'a' 1598s ok 11 /live-g-file/final_clean 1598s # Start of test_unix_is_mountpoint tests 1598s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1598s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1598s # End of test_unix_is_mountpoint tests 1598s # End of live-g-file tests 1598s ok - glib/live-g-file.test 1598s # Running test: glib/gdbus-subscribe.test 1598s TAP version 14 1598s # random seed: R02S471a0ac99e2b59031044f756ea0fef94 1598s 1..24 1598s # Start of gdbus tests 1598s # Start of subscribe tests 1598s # Start of conn tests 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/simple/.dirs/runtime 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1598s # Step 0: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 1 /gdbus/subscribe/conn/simple 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1598s # Step 0: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: service 2 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: service 2 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 1 1598s # Signal received from service 2 :1.2 1598s # Signal received from service 2 :1.2 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Signal received from service 2 :1.2 1598s # Signal received from service 2 :1.2 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: (any) 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: (any) 1598s # Path: (any) 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 3: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 4: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 3 /gdbus/subscribe/conn/match_twice 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1598s # Step 0: adding subscription 1598s # Sender: :0.this.had.better.not.exist 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /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 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: org.gtk.Test.OwnedLater 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 3: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 5: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 6: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Step 7: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 5 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1598s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1598s # Step 0: adding subscription 1598s # Sender: org.freedesktop.DBus 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # String argument 0: would I lie to you? 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Waiting for signal to reach message bus 1598s # Step 3: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Signal received from message bus org.freedesktop.DBus 1598s # Signal received from (unused) org.freedesktop.DBus via connection 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Immediately unsubscribing 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1598s # End of conn tests 1598s # Start of proxy tests 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/simple/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1598s # Step 0: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 9 /gdbus/subscribe/proxy/simple 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1598s # Step 0: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: service 2 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: service 2 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: (any) 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: (any) 1598s # Path: (any) 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 3: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 4: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 11 /gdbus/subscribe/proxy/match_twice 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1598s # Step 0: adding subscription 1598s # Sender: :0.this.had.better.not.exist 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /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 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: org.gtk.Test.OwnedLater 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 3: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 5: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 6: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Step 7: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 5 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1598s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1598s # Step 0: adding subscription 1598s # Sender: org.freedesktop.DBus 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # String argument 0: would I lie to you? 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Waiting for signal to reach message bus 1598s # Step 3: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Signal received from message bus org.freedesktop.DBus 1598s # Signal received from (unused) org.freedesktop.DBus via proxy 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1598s # End of proxy tests 1598s # Start of parallel tests 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/simple/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1598s # Step 0: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 17 /gdbus/subscribe/parallel/simple 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1598s # Step 0: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: service 2 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: service 2 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 1 1598s # Signal received from service 2 :1.2 1598s # Signal received from service 2 :1.2 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Signal received from service 2 :1.2 1598s # Signal received from service 2 :1.2 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: adding subscription 1598s # Sender: (any) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: (any) 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: (any) 1598s # Path: (any) 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Cannot subscribe via proxy: no bus name 1598s # Waiting for AddMatch to be processed 1598s # Step 3: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 4: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 4 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1598s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 19 /gdbus/subscribe/parallel/match_twice 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1598s # Step 0: adding subscription 1598s # Sender: service :1.1 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 3: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 3 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1598s # Step 0: adding subscription 1598s # Sender: :0.this.had.better.not.exist 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /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 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 2: adding subscription 1598s # Sender: org.gtk.Test.OwnedLater 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 3: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 4: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 5: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Step 6: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Step 7: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 5 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 5 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via connection 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 7 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1598s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1598s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1598s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1598s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1598s # Step 0: adding subscription 1598s # Sender: org.freedesktop.DBus 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 1: emitting signal 1598s # Sender: attacker 1598s # Destination: (broadcast) 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # String argument 0: would I lie to you? 1598s # Waiting for signal to reach message bus 1598s # Step 2: emitting signal 1598s # Sender: attacker 1598s # Destination: subscriber :1.0 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Waiting for signal to reach message bus 1598s # Step 3: claiming bus name 1598s # Name: org.gtk.Test.OwnedLater 1598s # Owner: service 1598s # Signal received from message bus org.freedesktop.DBus 1598s # Signal received from (unused) org.freedesktop.DBus via connection 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Signal received from message bus org.freedesktop.DBus 1598s # Signal received from (unused) org.freedesktop.DBus via proxy 1598s # Path: /org/freedesktop/DBus 1598s # Interface: org.freedesktop.DBus 1598s # Member: NameOwnerChanged 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1598s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1598s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_A8P1Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1598s # subscriber is :1.0 1598s # service is :1.1 1598s # service 2 is :1.2 1598s # attacker is :1.3 1598s # Waiting for AddMatch to be processed 1598s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1598s # Step 0: claiming bus name 1598s # Name: org.gtk.Test.AlreadyOwned 1598s # Owner: service 1598s # Step 1: adding subscription 1598s # Sender: org.gtk.Test.AlreadyOwned 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: (any) 1598s # String argument 0: (any) 1598s # Flags: 0 1598s # Subscribing via connection 1598s # Immediately unsubscribing 1598s # Subscribing via proxy 1598s # Waiting for AddMatch to be processed 1598s # Step 2: emitting signal 1598s # Sender: service 1598s # Destination: (broadcast) 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Waiting for signal to reach message bus 1598s # Signal received from service :1.1 1598s # Signal received from service :1.1 via proxy 1598s # Path: /org/gtk/GDBus/ExampleInterface 1598s # Interface: org.gtk.GDBus.ExampleInterface 1598s # Member: Foo 1598s # Argument 0: (not a string) 1598s # Sent in step: 2 1598s # Received Finished signal from subscriber :1.0 1598s # Received Finished signal from service :1.1 1598s # Received Finished signal from service 2 :1.2 1598s # Received Finished signal from attacker :1.3 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1598s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1598s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1598s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1598s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1598s # End of parallel tests 1598s # End of subscribe tests 1598s # End of gdbus tests 1598s ok - glib/gdbus-subscribe.test 1598s # Running test: glib/testing.test 1598s TAP version 14 1598s # random seed: R02Sbdcc7d4ec99bc1adaaeb6469d2a4286a 1598s 1..1 1598s # Start of assert tests 1598s ok 1 /assert/finalize_object 1598s # Start of finalize_object tests 1598s # Start of subprocess tests 1598s # End of subprocess tests 1598s # End of finalize_object tests 1598s # End of assert tests 1598s ok - glib/testing.test 1598s # Running test: glib/closure.test 1598s TAP version 14 1598s # random seed: R02S9512e70f3dab649a4361955df9ef2a86 1598s 1..6 1598s # Start of closure tests 1598s ok 1 /closure/idle 1598s ok 2 /closure/timeout 1598s ok 3 /closure/iochannel 1598s ok 4 /closure/child 1598s ok 5 /closure/fd 1598s ok 6 /closure/signal 1598s # End of closure tests 1598s ok - glib/closure.test 1598s # Running test: glib/asyncqueue.test 1598s TAP version 14 1598s # random seed: R02S5bab5340e63673d2c032b9968fe04c86 1598s 1..7 1598s # Start of asyncqueue tests 1598s ok 1 /asyncqueue/basics 1598s ok 2 /asyncqueue/sort 1598s ok 3 /asyncqueue/destroy 1598s ok 4 /asyncqueue/threads 1599s ok 5 /asyncqueue/timed 1599s ok 6 /asyncqueue/remove 1599s ok 7 /asyncqueue/push_front 1599s # End of asyncqueue tests 1599s # Executing: glib/asyncqueue.test 1599s ok - glib/asyncqueue.test 1599s # Running test: glib/type.test 1599s TAP version 14 1599s # random seed: R02Sa002485bf3e6a4d3748e53d285f49a26 1599s 1..6 1599s # Start of type tests 1599s ok 1 /type/registration-serial 1599s ok 2 /type/interface-prerequisite 1599s ok 3 /type/interface-check 1599s ok 4 /type/next-base 1599s ok 5 /type/is-a 1599s # Invalid types can?t be queried. 1599s # Unclassed types can?t be queried. 1599s ok 6 /type/query 1599s # End of type tests 1599s ok - glib/type.test 1599s # Running test: glib/unix-fd.test 1599s TAP version 14 1599s # random seed: R02S4fedcd146395e5bf4d7222c25f280d60 1599s 1..2 1599s # Start of unix-fd tests 1599s ok 1 /unix-fd/fd-list 1599s ok 2 /unix-fd/scm 1599s # End of unix-fd tests 1599s ok - glib/unix-fd.test 1599s # Running test: glib/utf8-validate.test 1599s TAP version 14 1599s # random seed: R02S9d616575a566a09a7b9256746d4f8407 1599s 1..216 1599s # Start of utf8 tests 1599s # Vector 0 1599s # Vector 1 1599s # Vector 2 1599s # Vector 3 1599s # Vector 4 1599s # Vector 5 1599s # Vector 6 1599s # Vector 7 1599s # Vector 8 1599s # Vector 9 1599s # Vector 10 1599s # Vector 11 1599s # Vector 12 1599s # Vector 13 1599s # Vector 14 1599s # Vector 15 1599s # Vector 16 1599s # Vector 17 1599s # Vector 18 1599s # Vector 19 1599s # Vector 20 1599s # Vector 21 1599s # Vector 22 1599s # Vector 23 1599s # Vector 24 1599s # Vector 25 1599s # Vector 26 1599s # Vector 27 1599s ok 1 /utf8/get-char-validated 1599s # Start of validate tests 1599s ok 2 /utf8/validate/0 1599s ok 3 /utf8/validate/1 1599s ok 4 /utf8/validate/2 1599s ok 5 /utf8/validate/3 1599s ok 6 /utf8/validate/4 1599s ok 7 /utf8/validate/5 1599s ok 8 /utf8/validate/6 1599s ok 9 /utf8/validate/7 1599s ok 10 /utf8/validate/8 1599s ok 11 /utf8/validate/9 1599s ok 12 /utf8/validate/10 1599s ok 13 /utf8/validate/11 1599s ok 14 /utf8/validate/12 1599s ok 15 /utf8/validate/13 1599s ok 16 /utf8/validate/14 1599s ok 17 /utf8/validate/15 1599s ok 18 /utf8/validate/16 1599s ok 19 /utf8/validate/17 1599s ok 20 /utf8/validate/18 1599s ok 21 /utf8/validate/19 1599s ok 22 /utf8/validate/20 1599s ok 23 /utf8/validate/21 1599s ok 24 /utf8/validate/22 1599s ok 25 /utf8/validate/23 1599s ok 26 /utf8/validate/24 1599s ok 27 /utf8/validate/25 1599s ok 28 /utf8/validate/26 1599s ok 29 /utf8/validate/27 1599s ok 30 /utf8/validate/28 1599s ok 31 /utf8/validate/29 1599s ok 32 /utf8/validate/30 1599s ok 33 /utf8/validate/31 1599s ok 34 /utf8/validate/32 1599s ok 35 /utf8/validate/33 1599s ok 36 /utf8/validate/34 1599s ok 37 /utf8/validate/35 1599s ok 38 /utf8/validate/36 1599s ok 39 /utf8/validate/37 1599s ok 40 /utf8/validate/38 1599s ok 41 /utf8/validate/39 1599s ok 42 /utf8/validate/40 1599s ok 43 /utf8/validate/41 1599s ok 44 /utf8/validate/42 1599s ok 45 /utf8/validate/43 1599s ok 46 /utf8/validate/44 1599s ok 47 /utf8/validate/45 1599s ok 48 /utf8/validate/46 1599s ok 49 /utf8/validate/47 1599s ok 50 /utf8/validate/48 1599s ok 51 /utf8/validate/49 1599s ok 52 /utf8/validate/50 1599s ok 53 /utf8/validate/51 1599s ok 54 /utf8/validate/52 1599s ok 55 /utf8/validate/53 1599s ok 56 /utf8/validate/54 1599s ok 57 /utf8/validate/55 1599s ok 58 /utf8/validate/56 1599s ok 59 /utf8/validate/57 1599s ok 60 /utf8/validate/58 1599s ok 61 /utf8/validate/59 1599s ok 62 /utf8/validate/60 1599s ok 63 /utf8/validate/61 1599s ok 64 /utf8/validate/62 1599s ok 65 /utf8/validate/63 1599s ok 66 /utf8/validate/64 1599s ok 67 /utf8/validate/65 1599s ok 68 /utf8/validate/66 1599s ok 69 /utf8/validate/67 1599s ok 70 /utf8/validate/68 1599s ok 71 /utf8/validate/69 1599s ok 72 /utf8/validate/70 1599s ok 73 /utf8/validate/71 1599s ok 74 /utf8/validate/72 1599s ok 75 /utf8/validate/73 1599s ok 76 /utf8/validate/74 1599s ok 77 /utf8/validate/75 1599s ok 78 /utf8/validate/76 1599s ok 79 /utf8/validate/77 1599s ok 80 /utf8/validate/78 1599s ok 81 /utf8/validate/79 1599s ok 82 /utf8/validate/80 1599s ok 83 /utf8/validate/81 1599s ok 84 /utf8/validate/82 1599s ok 85 /utf8/validate/83 1599s ok 86 /utf8/validate/84 1599s ok 87 /utf8/validate/85 1599s ok 88 /utf8/validate/86 1599s ok 89 /utf8/validate/87 1599s ok 90 /utf8/validate/88 1599s ok 91 /utf8/validate/89 1599s ok 92 /utf8/validate/90 1599s ok 93 /utf8/validate/91 1599s ok 94 /utf8/validate/92 1599s ok 95 /utf8/validate/93 1599s ok 96 /utf8/validate/94 1599s ok 97 /utf8/validate/95 1599s ok 98 /utf8/validate/96 1599s ok 99 /utf8/validate/97 1599s ok 100 /utf8/validate/98 1599s ok 101 /utf8/validate/99 1599s ok 102 /utf8/validate/100 1599s ok 103 /utf8/validate/101 1599s ok 104 /utf8/validate/102 1599s ok 105 /utf8/validate/103 1599s ok 106 /utf8/validate/104 1599s ok 107 /utf8/validate/105 1599s ok 108 /utf8/validate/106 1599s ok 109 /utf8/validate/107 1599s ok 110 /utf8/validate/108 1599s ok 111 /utf8/validate/109 1599s ok 112 /utf8/validate/110 1599s ok 113 /utf8/validate/111 1599s ok 114 /utf8/validate/112 1599s ok 115 /utf8/validate/113 1599s ok 116 /utf8/validate/114 1599s ok 117 /utf8/validate/115 1599s ok 118 /utf8/validate/116 1599s ok 119 /utf8/validate/117 1599s ok 120 /utf8/validate/118 1599s ok 121 /utf8/validate/119 1599s ok 122 /utf8/validate/120 1599s ok 123 /utf8/validate/121 1599s ok 124 /utf8/validate/122 1599s ok 125 /utf8/validate/123 1599s ok 126 /utf8/validate/124 1599s ok 127 /utf8/validate/125 1599s ok 128 /utf8/validate/126 1599s ok 129 /utf8/validate/127 1599s ok 130 /utf8/validate/128 1599s ok 131 /utf8/validate/129 1599s ok 132 /utf8/validate/130 1599s ok 133 /utf8/validate/131 1599s ok 134 /utf8/validate/132 1599s ok 135 /utf8/validate/133 1599s ok 136 /utf8/validate/134 1599s ok 137 /utf8/validate/135 1599s ok 138 /utf8/validate/136 1599s ok 139 /utf8/validate/137 1599s ok 140 /utf8/validate/138 1599s ok 141 /utf8/validate/139 1599s ok 142 /utf8/validate/140 1599s ok 143 /utf8/validate/141 1599s ok 144 /utf8/validate/142 1599s ok 145 /utf8/validate/143 1599s ok 146 /utf8/validate/144 1599s ok 147 /utf8/validate/145 1599s ok 148 /utf8/validate/146 1599s ok 149 /utf8/validate/147 1599s ok 150 /utf8/validate/148 1599s ok 151 /utf8/validate/149 1599s ok 152 /utf8/validate/150 1599s ok 153 /utf8/validate/151 1599s ok 154 /utf8/validate/152 1599s ok 155 /utf8/validate/153 1599s ok 156 /utf8/validate/154 1599s ok 157 /utf8/validate/155 1599s ok 158 /utf8/validate/156 1599s ok 159 /utf8/validate/157 1599s ok 160 /utf8/validate/158 1599s ok 161 /utf8/validate/159 1599s ok 162 /utf8/validate/160 1599s ok 163 /utf8/validate/161 1599s ok 164 /utf8/validate/162 1599s ok 165 /utf8/validate/163 1599s ok 166 /utf8/validate/164 1599s ok 167 /utf8/validate/165 1599s ok 168 /utf8/validate/166 1599s ok 169 /utf8/validate/167 1599s ok 170 /utf8/validate/168 1599s ok 171 /utf8/validate/169 1599s ok 172 /utf8/validate/170 1599s ok 173 /utf8/validate/171 1599s ok 174 /utf8/validate/172 1599s ok 175 /utf8/validate/173 1599s ok 176 /utf8/validate/174 1599s ok 177 /utf8/validate/175 1599s ok 178 /utf8/validate/176 1599s ok 179 /utf8/validate/177 1599s ok 180 /utf8/validate/178 1599s ok 181 /utf8/validate/179 1599s ok 182 /utf8/validate/180 1599s ok 183 /utf8/validate/181 1599s ok 184 /utf8/validate/182 1599s ok 185 /utf8/validate/183 1599s ok 186 /utf8/validate/184 1599s ok 187 /utf8/validate/185 1599s ok 188 /utf8/validate/186 1599s ok 189 /utf8/validate/187 1599s ok 190 /utf8/validate/188 1599s ok 191 /utf8/validate/189 1599s ok 192 /utf8/validate/190 1599s ok 193 /utf8/validate/191 1599s ok 194 /utf8/validate/192 1599s ok 195 /utf8/validate/193 1599s ok 196 /utf8/validate/194 1599s ok 197 /utf8/validate/195 1599s ok 198 /utf8/validate/196 1599s ok 199 /utf8/validate/197 1599s ok 200 /utf8/validate/198 1599s ok 201 /utf8/validate/199 1599s ok 202 /utf8/validate/200 1599s ok 203 /utf8/validate/201 1599s ok 204 /utf8/validate/202 1599s ok 205 /utf8/validate/203 1599s ok 206 /utf8/validate/204 1599s ok 207 /utf8/validate/205 1599s ok 208 /utf8/validate/206 1599s ok 209 /utf8/validate/207 1599s ok 210 /utf8/validate/208 1599s ok 211 /utf8/validate/209 1599s ok 212 /utf8/validate/210 1599s ok 213 /utf8/validate/211 1599s ok 214 /utf8/validate/212 1599s ok 215 /utf8/validate/213 1599s ok 216 /utf8/validate/214 1599s # End of validate tests 1599s # End of utf8 tests 1599s ok - glib/utf8-validate.test 1599s # Running test: glib/cxx-14.test 1599s TAP version 14 1599s # random seed: R02Sc3271ce53bec68c28f7b037765a8e91f 1599s 1..2 1599s # Start of gtask tests 1599s # 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. 1599s ok 1 /gtask/name 1599s # Start of name tests 1599s # 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. 1599s ok 2 /gtask/name/macro-wrapper 1599s # End of name tests 1599s # End of gtask tests 1599s ok - glib/cxx-14.test 1599s # Running test: glib/async-close-output-stream.test 1599s TAP version 14 1599s # random seed: R02S2af3044731a2ce8effa9c1829b1efcd6 1599s 1..3 1599s # Start of close-async tests 1599s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1599s ok 1 /close-async/without-flush 1599s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1599s ok 2 /close-async/with-flush 1599s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1599s ok 3 /close-async/with-async-flush 1599s # End of close-async tests 1599s ok - glib/async-close-output-stream.test 1599s # Running test: glib/rec-mutex.test 1599s TAP version 14 1599s # random seed: R02S309b1e1bbafe6ff65110e1fdf8ca7f0a 1599s 1..29 1599s # Start of thread tests 1599s ok 1 /thread/rec-mutex1 1599s ok 2 /thread/rec-mutex2 1599s ok 3 /thread/rec-mutex3 1599s ok 4 /thread/rec-mutex4 1599s # Start of rec-mutex tests 1599s # Start of perf tests 1599s # Start of uncontended tests 1599s # max perf: 1.000000 mips 1599s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1599s # max perf: 1.000000 mips 1599s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1599s # max perf: inf mips 1599s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1599s # max perf: 1.000000 mips 1599s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1599s # max perf: inf mips 1599s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1599s # End of uncontended tests 1599s # Start of contended1 tests 1599s # max perf: inf mips 1599s ok 10 /thread/rec-mutex/perf/contended1/depth1 1599s # max perf: inf mips 1599s ok 11 /thread/rec-mutex/perf/contended1/depth2 1599s # max perf: 2.000000 mips 1599s ok 12 /thread/rec-mutex/perf/contended1/depth3 1599s # max perf: inf mips 1599s ok 13 /thread/rec-mutex/perf/contended1/depth4 1599s # max perf: 2.000000 mips 1599s ok 14 /thread/rec-mutex/perf/contended1/depth5 1599s # End of contended1 tests 1599s # Start of contended2 tests 1599s # max perf: inf mips 1599s ok 15 /thread/rec-mutex/perf/contended2/depth1 1599s # max perf: 3.000000 mips 1599s ok 16 /thread/rec-mutex/perf/contended2/depth2 1599s # max perf: 3.000000 mips 1599s ok 17 /thread/rec-mutex/perf/contended2/depth3 1599s # max perf: 3.000000 mips 1599s ok 18 /thread/rec-mutex/perf/contended2/depth4 1599s # max perf: 3.000000 mips 1599s ok 19 /thread/rec-mutex/perf/contended2/depth5 1599s # End of contended2 tests 1599s # Start of contended3 tests 1599s # max perf: 4.000000 mips 1599s ok 20 /thread/rec-mutex/perf/contended3/depth1 1599s # max perf: 1.000000 mips 1599s ok 21 /thread/rec-mutex/perf/contended3/depth2 1599s # max perf: 1.333333 mips 1599s ok 22 /thread/rec-mutex/perf/contended3/depth3 1599s # max perf: 0.250000 mips 1599s ok 23 /thread/rec-mutex/perf/contended3/depth4 1599s # max perf: 0.266667 mips 1599s ok 24 /thread/rec-mutex/perf/contended3/depth5 1599s # End of contended3 tests 1599s # Start of contended4 tests 1599s # max perf: 1.250000 mips 1599s ok 25 /thread/rec-mutex/perf/contended4/depth1 1599s # max perf: 0.263158 mips 1599s ok 26 /thread/rec-mutex/perf/contended4/depth2 1599s # max perf: 1.666667 mips 1599s ok 27 /thread/rec-mutex/perf/contended4/depth3 1599s # max perf: 0.263158 mips 1599s ok 28 /thread/rec-mutex/perf/contended4/depth4 1599s # max perf: 0.312500 mips 1599s ok 29 /thread/rec-mutex/perf/contended4/depth5 1599s # End of contended4 tests 1599s # End of perf tests 1599s # End of rec-mutex tests 1599s # End of thread tests 1599s ok - glib/rec-mutex.test 1599s # Running test: glib/gutils-user-database.test 1599s TAP version 14 1599s # random seed: R02Sc222a08fd8fb264ef05cac3acd86f98c 1599s 1..1 1599s # Start of gutils tests 1599s ok 1 /gutils/get_user_database_entry 1599s # End of gutils tests 1599s ok - glib/gutils-user-database.test 1599s # Running test: glib/sandbox.test 1599s TAP version 14 1599s # random seed: R02Sc53445058228e74d6cdf041c290a0475 1599s 1..4 1599s # Start of sandbox tests 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_NM82Z2/sandbox/none/.dirs/runtime 1599s ok 1 /sandbox/none 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_NM82Z2/sandbox/snap/.dirs/runtime 1599s # Created snap.yaml in /tmp/test_sandbox_NM82Z2/snap/current/meta/snap.yaml 1599s ok 2 /sandbox/snap 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_NM82Z2/sandbox/classic-snap/.dirs/runtime 1599s # Created snap.yaml in /tmp/test_sandbox_NM82Z2/snap/current/meta/snap.yaml 1599s ok 3 /sandbox/classic-snap 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/runtime 1599s # Creating .flatpak-info in /tmp/test_sandbox_NM82Z2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1599s ok 4 /sandbox/flatpak 1599s # End of sandbox tests 1599s ok - glib/sandbox.test 1599s # Running test: glib/dump.test 1599s TAP version 14 1599s # random seed: R02S417cf3ee6ebb20d2bb3658077e537638 1599s 1..4 1599s # Start of dump tests 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_P663Z2/dump/empty-file/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_P663Z2/dump/empty-file/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_P663Z2/dump/empty-file/.dirs/runtime 1599s ok 1 /dump/empty-file 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_P663Z2/dump/missing-get-type/.dirs/runtime 1599s Invalid GType function: 'does_not_exist_get_type' 1599s ok 2 /dump/missing-get-type 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_P663Z2/dump/missing-quark/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_P663Z2/dump/missing-quark/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_P663Z2/dump/missing-quark/.dirs/runtime 1599s Invalid error quark function: 'does_not_exist_error' 1599s ok 3 /dump/missing-quark 1599s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_P663Z2/dump/basic/.dirs/home 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_P663Z2/dump/basic/.dirs/cache 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_P663Z2/dump/basic/.dirs/system-config1:/tmp/test_dump_P663Z2/dump/basic/.dirs/system-config2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_P663Z2/dump/basic/.dirs/config 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_P663Z2/dump/basic/.dirs/system-data1:/tmp/test_dump_P663Z2/dump/basic/.dirs/system-data2 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_P663Z2/dump/basic/.dirs/data 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_P663Z2/dump/basic/.dirs/state 1599s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_P663Z2/dump/basic/.dirs/runtime 1599s ok 4 /dump/basic 1599s # End of dump tests 1599s ok - glib/dump.test 1599s # Running test: glib/timeout.test 1599s TAP version 14 1599s # random seed: R02S1dd1e78ca4002111376cc2d844d88b41 1599s 1..5 1599s # Start of timeout tests 1599s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1601s ok 1 /timeout/seconds 1601s # slow test /timeout/seconds executed in 2.10 secs 1603s ok 2 /timeout/seconds-once 1603s # slow test /timeout/seconds-once executed in 2.10 secs 1603s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1604s # Executing: glib/timeout.test 1605s ok 3 /timeout/weeks-overflow 1605s # slow test /timeout/weeks-overflow executed in 2.10 secs 1605s ok 4 /timeout/far-future-ready-time 1605s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 1605s # End of timeout tests 1605s ok - glib/timeout.test 1605s # Running test: glib/bookmarkfile.test 1605s TAP version 14 1605s # random seed: R02S0ead98f6a245af063ddefa0802f04b81 1605s 1..96 1605s # Start of bookmarks tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/load-from-data-dirs/.dirs/runtime 1605s ok 1 /bookmarks/load-from-data-dirs 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/to-file/.dirs/runtime 1605s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_WHOKZ2/bookmarkfile-test-SVXLZ2.xbel 1605s # Roundtrip from a valid bookmark file 1605s ok 2 /bookmarks/to-file 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/move-item/.dirs/runtime 1605s ok 3 /bookmarks/move-item 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/corner-cases/.dirs/runtime 1605s ok 4 /bookmarks/corner-cases 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/misc/.dirs/runtime 1605s ok 5 /bookmarks/misc 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/deprecated/.dirs/runtime 1605s ok 6 /bookmarks/deprecated 1605s # Start of parse tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1605s ok 7 /bookmarks/parse/fail-01.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1605s ok 8 /bookmarks/parse/fail-02.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1605s ok 9 /bookmarks/parse/fail-03.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1605s ok 10 /bookmarks/parse/fail-04.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1605s ok 11 /bookmarks/parse/fail-05.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1605s ok 12 /bookmarks/parse/fail-06.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1605s ok 13 /bookmarks/parse/fail-07.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1605s ok 14 /bookmarks/parse/fail-08.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1605s ok 15 /bookmarks/parse/fail-09.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1605s ok 16 /bookmarks/parse/fail-10.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1605s ok 17 /bookmarks/parse/fail-11.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1605s ok 18 /bookmarks/parse/fail-12.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1605s ok 19 /bookmarks/parse/fail-13.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1605s ok 20 /bookmarks/parse/fail-14.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1605s ok 21 /bookmarks/parse/fail-15.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1605s ok 22 /bookmarks/parse/fail-16.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1605s ok 23 /bookmarks/parse/fail-17.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1605s ok 24 /bookmarks/parse/fail-18.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1605s ok 25 /bookmarks/parse/fail-19.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1605s ok 26 /bookmarks/parse/fail-20.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1605s ok 27 /bookmarks/parse/fail-21.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1605s ok 28 /bookmarks/parse/fail-22.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1605s ok 29 /bookmarks/parse/fail-23.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1605s ok 30 /bookmarks/parse/fail-24.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1605s ok 31 /bookmarks/parse/fail-25.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1605s ok 32 /bookmarks/parse/fail-26.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1605s ok 33 /bookmarks/parse/fail-27.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1605s ok 34 /bookmarks/parse/fail-28.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1605s ok 35 /bookmarks/parse/fail-29.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1605s ok 36 /bookmarks/parse/fail-30.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1605s ok 37 /bookmarks/parse/fail-31.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1605s ok 38 /bookmarks/parse/fail-32.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1605s ok 39 /bookmarks/parse/fail-33.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1605s ok 40 /bookmarks/parse/fail-34.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1605s ok 41 /bookmarks/parse/fail-35.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1605s ok 42 /bookmarks/parse/fail-36.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1605s ok 43 /bookmarks/parse/fail-37.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1605s ok 44 /bookmarks/parse/fail-38.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1605s ok 45 /bookmarks/parse/fail-39.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1605s ok 46 /bookmarks/parse/fail-40.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1605s ok 47 /bookmarks/parse/fail-41.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1605s ok 48 /bookmarks/parse/fail-42.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1605s ok 49 /bookmarks/parse/valid-01.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1605s ok 50 /bookmarks/parse/valid-02.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1605s ok 51 /bookmarks/parse/valid-03.xbel 1605s # End of parse tests 1605s # Start of copy tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1605s ok 52 /bookmarks/copy/fail-01.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1605s ok 53 /bookmarks/copy/fail-02.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1605s ok 54 /bookmarks/copy/fail-03.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1605s ok 55 /bookmarks/copy/fail-04.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1605s ok 56 /bookmarks/copy/fail-05.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1605s ok 57 /bookmarks/copy/fail-06.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1605s ok 58 /bookmarks/copy/fail-07.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1605s ok 59 /bookmarks/copy/fail-08.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1605s ok 60 /bookmarks/copy/fail-09.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1605s ok 61 /bookmarks/copy/fail-10.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1605s ok 62 /bookmarks/copy/fail-11.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1605s ok 63 /bookmarks/copy/fail-12.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1605s ok 64 /bookmarks/copy/fail-13.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1605s ok 65 /bookmarks/copy/fail-14.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1605s ok 66 /bookmarks/copy/fail-15.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1605s ok 67 /bookmarks/copy/fail-16.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1605s ok 68 /bookmarks/copy/fail-17.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1605s ok 69 /bookmarks/copy/fail-18.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1605s ok 70 /bookmarks/copy/fail-19.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1605s ok 71 /bookmarks/copy/fail-20.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1605s ok 72 /bookmarks/copy/fail-21.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1605s ok 73 /bookmarks/copy/fail-22.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1605s ok 74 /bookmarks/copy/fail-23.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1605s ok 75 /bookmarks/copy/fail-24.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1605s ok 76 /bookmarks/copy/fail-25.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1605s ok 77 /bookmarks/copy/fail-26.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1605s ok 78 /bookmarks/copy/fail-27.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1605s ok 79 /bookmarks/copy/fail-28.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1605s ok 80 /bookmarks/copy/fail-29.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1605s ok 81 /bookmarks/copy/fail-30.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1605s ok 82 /bookmarks/copy/fail-31.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1605s ok 83 /bookmarks/copy/fail-32.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1605s ok 84 /bookmarks/copy/fail-33.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1605s ok 85 /bookmarks/copy/fail-34.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1605s ok 86 /bookmarks/copy/fail-35.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1605s ok 87 /bookmarks/copy/fail-36.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1605s ok 88 /bookmarks/copy/fail-37.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1605s ok 89 /bookmarks/copy/fail-38.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1605s ok 90 /bookmarks/copy/fail-39.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1605s ok 91 /bookmarks/copy/fail-40.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1605s ok 92 /bookmarks/copy/fail-41.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1605s ok 93 /bookmarks/copy/fail-42.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1605s ok 94 /bookmarks/copy/valid-01.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1605s ok 95 /bookmarks/copy/valid-02.xbel 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WHOKZ2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1605s ok 96 /bookmarks/copy/valid-03.xbel 1605s # End of copy tests 1605s # End of bookmarks tests 1605s ok - glib/bookmarkfile.test 1605s # Running test: glib/dynamictype.test 1605s TAP version 14 1605s # random seed: R02S8eb96a29317027754dbae0469abab2eb 1605s 1..2 1605s # Start of gobject tests 1605s ok 1 /gobject/dynamic-type 1605s # Start of dynamic-type tests 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1605s ok 2 /gobject/dynamic-type/query 1605s # End of dynamic-type tests 1605s # End of gobject tests 1605s ok - glib/dynamictype.test 1605s # Running test: glib/fdo-notification-backend.test 1605s TAP version 14 1605s # random seed: R02S246b55a9fd73e680bef4ab8293b99132 1605s 1..2 1605s # Start of fdo-notification-backend tests 1605s # Test constructing a GFdoNotificationBackend 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s ok 1 /fdo-notification-backend/construction 1605s # Start of dbus tests 1605s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1605s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1605s ok 2 /fdo-notification-backend/dbus/activate-action 1605s # End of dbus tests 1605s # End of fdo-notification-backend tests 1605s ok - glib/fdo-notification-backend.test 1605s # Running test: glib/thread.test 1605s TAP version 14 1605s # random seed: R02Sc817910cfd72a735c0cc853dab311b3d 1605s 1..7 1605s # Start of thread tests 1605s ok 1 /thread/thread1 1605s ok 2 /thread/thread2 1605s ok 3 /thread/thread3 1605s ok 4 /thread/thread4 1605s ok 5 /thread/thread5 1605s ok 6 /thread/thread6 1605s ok 7 /thread/thread7 1605s # End of thread tests 1605s ok - glib/thread.test 1605s # Running test: glib/credentials.test 1605s TAP version 14 1605s # random seed: R02S6eb9467dd335b6de39071a22e6ec8409 1605s 1..1 1605s # Start of credentials tests 1605s # GCredentials:linux-ucred:pid=6086,uid=1000,gid=1000 1605s # GCredentials:linux-ucred:pid=6086,uid=0,gid=1000 1605s ok 1 /credentials/basic 1605s # End of credentials tests 1605s ok - glib/credentials.test 1605s # Running test: glib/convert.test 1605s TAP version 14 1605s # random seed: R02S2f098bca8a3998ff625bd6b7f906eeb6 1605s 1..14 1605s # Start of conversion tests 1605s ok 1 /conversion/no-conv 1605s ok 2 /conversion/iconv-state 1605s ok 3 /conversion/illegal-sequence 1605s ok 4 /conversion/byte-order 1605s ok 5 /conversion/unicode 1605s ok 6 /conversion/filename-utf8 1605s ok 7 /conversion/filename-display 1605s ok 8 /conversion/convert-embedded-nul 1605s # Start of locale-to-utf8 tests 1605s ok 9 /conversion/locale-to-utf8/embedded-nul 1605s # Start of embedded-nul tests 1605s # Start of subprocess tests 1605s # End of subprocess tests 1605s # End of embedded-nul tests 1605s # End of locale-to-utf8 tests 1605s # Start of locale-from-utf8 tests 1605s ok 10 /conversion/locale-from-utf8/embedded-nul 1605s # Start of embedded-nul tests 1605s # Start of subprocess tests 1605s # End of subprocess tests 1605s # End of embedded-nul tests 1605s # End of locale-from-utf8 tests 1605s # Start of filename-to-utf8 tests 1605s ok 11 /conversion/filename-to-utf8/embedded-nul 1605s # Start of embedded-nul tests 1605s # Start of subprocess tests 1605s # End of subprocess tests 1605s # End of embedded-nul tests 1605s # End of filename-to-utf8 tests 1605s # Start of filename-from-utf8 tests 1605s ok 12 /conversion/filename-from-utf8/embedded-nul 1605s # Start of embedded-nul tests 1605s # Start of subprocess tests 1605s # End of subprocess tests 1605s # End of embedded-nul tests 1605s # End of filename-from-utf8 tests 1605s # Start of filename-from-uri tests 1605s ok 13 /conversion/filename-from-uri/query-is-ignored 1605s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1605s # End of filename-from-uri tests 1605s # End of conversion tests 1605s ok - glib/convert.test 1605s # Running test: glib/mapping.test 1605s TAP version 14 1605s # random seed: R02S665857675c6eda43b550d078fe10e09c 1605s 1..3 1605s # Start of mapping tests 1605s # test_mapping: ok 1605s ok 1 /mapping/flags 1605s ok 2 /mapping/private 1605s # test_child_private: child spawned 1605s # Subtest: /usr/libexec/installed-tests/glib/mapping 1605s # random seed: R02S7489aa7d5e2c83a0875a5ebb020e4f51 1605s # test_child_private: received first child signal 1605s # test_child_private: received parent signal 1605s # Child exited with status 0 1605s # test_child_private: received second child signal 1605s ok 3 /mapping/private-child 1605s # End of mapping tests 1605s ok - glib/mapping.test 1605s # Running test: glib/g-icon.test 1605s TAP version 14 1605s # random seed: R02Scac7a8205ded1db94b781382c5ba7e66 1605s 1..6 1605s # Start of icons tests 1605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1605s ok 1 /icons/to-string 1605s ok 2 /icons/serialize 1605s ok 3 /icons/themed 1605s ok 4 /icons/emblemed 1605s ok 5 /icons/file 1605s ok 6 /icons/bytes 1605s # End of icons tests 1605s ok - glib/g-icon.test 1605s # Running test: glib/gdbus-address-get-session.test 1605s TAP version 14 1605s # random seed: R02Sbaf890ffba9b2fbc0392155976490a93 1605s 1..2 1605s # Start of gdbus tests 1605s ok 1 /gdbus/x11-autolaunch 1605s ok 2 /gdbus/xdg-runtime 1605s # End of gdbus tests 1605s ok - glib/gdbus-address-get-session.test 1605s # Running test: glib/signals.test 1605s TAP version 14 1605s # random seed: R02Se87d8728ab447c405855ab4d75ddcb66 1605s 1..31 1605s # Start of gobject tests 1605s # Start of signals tests 1605s ok 1 /gobject/signals/all-types 1605s ok 2 /gobject/signals/variant 1605s ok 3 /gobject/signals/destroy-target-object 1605s ok 4 /gobject/signals/generic-marshaller-1 1605s ok 5 /gobject/signals/generic-marshaller-2 1605s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1605s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1605s ok 8 /gobject/signals/generic-marshaller-int-return 1605s ok 9 /gobject/signals/generic-marshaller-uint-return 1605s ok 10 /gobject/signals/generic-marshaller-interface-return 1605s ok 11 /gobject/signals/custom-marshaller 1605s ok 12 /gobject/signals/connect 1605s ok 13 /gobject/signals/emission-hook 1605s ok 14 /gobject/signals/emitv 1605s ok 15 /gobject/signals/accumulator 1605s # Signal: accumulator-class-first 1605s # Signal: accumulator-class-last 1605s # Signal: accumulator-class-cleanup 1605s # Signal: accumulator-class-first-last 1605s # Signal: accumulator-class-first-last-cleanup 1605s # Signal: accumulator-class-last-cleanup 1605s ok 16 /gobject/signals/accumulator-class 1605s ok 17 /gobject/signals/introspection 1605s ok 18 /gobject/signals/block-handler 1605s ok 19 /gobject/signals/stop-emission 1605s ok 20 /gobject/signals/invocation-hint 1605s ok 21 /gobject/signals/test-disconnection-wrong-object 1605s ok 22 /gobject/signals/clear-signal-handler 1605s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1605s ok 23 /gobject/signals/lookup 1605s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1605s ok 24 /gobject/signals/parse-name 1605s ok 25 /gobject/signals/is-valid-name 1605s ok 26 /gobject/signals/weak-ref-disconnect 1605s # Start of lookup tests 1605s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1605s ok 27 /gobject/signals/lookup/invalid 1605s # End of lookup tests 1605s # Start of parse-name tests 1605s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1605s # Parser input: 1605s # Parser input: 7zip 1605s # Parser input: invalid:signal 1605s # Parser input: simple-detailed:: 1605s # Parser input: simple-detailed: 1605s # Parser input: : 1605s # Parser input: :: 1605s # Parser input: :valid-detail 1605s # Parser input: ::valid-detail 1605s ok 28 /gobject/signals/parse-name/invalid 1605s # End of parse-name tests 1605s # Start of invalid-name tests 1605s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1605s ok 29 /gobject/signals/invalid-name/colon 1605s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1605s ok 30 /gobject/signals/invalid-name/first-char 1605s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1605s ok 31 /gobject/signals/invalid-name/empty 1605s # End of invalid-name tests 1605s # End of signals tests 1605s # End of gobject tests 1605s ok - glib/signals.test 1605s # Running test: glib/unix.test 1605s TAP version 14 1605s # random seed: R02Sc28ab1be0566904d0fb7a166a72580af 1605s 1..20 1605s # Start of glib-unix tests 1605s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1605s ok 1 /glib-unix/closefrom 1605s ok 2 /glib-unix/pipe 1605s # /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 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1605s ok 3 /glib-unix/pipe-stdio-overwrite 1605s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1605s ok 4 /glib-unix/pipe-struct 1605s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1605s ok 5 /glib-unix/pipe-struct-auto 1605s ok 6 /glib-unix/error 1605s ok 7 /glib-unix/nonblocking 1606s ok 8 /glib-unix/sighup 1606s # slow test /glib-unix/sighup executed in 0.50 secs 1606s ok 9 /glib-unix/sigterm 1606s # slow test /glib-unix/sigterm executed in 0.50 secs 1607s ok 10 /glib-unix/sighup_again 1607s # slow test /glib-unix/sighup_again executed in 0.50 secs 1607s ok 11 /glib-unix/sighup_add_remove 1607s ok 12 /glib-unix/sighup_nested 1609s # Executing: glib/unix.test 1609s ok 13 /glib-unix/callback_after_signal 1609s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1609s ok 14 /glib-unix/child-wait 1609s # Start of closefrom tests 1609s # Start of subprocess tests 1609s # End of subprocess tests 1609s # End of closefrom tests 1609s # Start of pipe tests 1609s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1609s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1609s ok 15 /glib-unix/pipe/fd-cloexec 1609s # End of pipe tests 1609s # Start of sighup tests 1610s ok 16 /glib-unix/sighup/alternate-stack 1610s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1610s # End of sighup tests 1610s # Start of sigterm tests 1611s ok 17 /glib-unix/sigterm/alternate-stack 1611s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1611s # End of sigterm tests 1611s # Start of sighup_again tests 1612s ok 18 /glib-unix/sighup_again/alternate-stack 1612s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1612s # End of sighup_again tests 1612s # Start of get-passwd-entry tests 1612s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1612s ok 19 /glib-unix/get-passwd-entry/root 1612s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1612s ok 20 /glib-unix/get-passwd-entry/nonexistent 1612s # End of get-passwd-entry tests 1612s # End of glib-unix tests 1612s ok - glib/unix.test 1612s # Running test: glib/signal-handler.test 1612s TAP version 14 1612s # random seed: R02S31b5029c4270a98844f0bfcc4d59532c 1612s 1..7 1612s # Start of signal tests 1612s # Start of handler tests 1612s # min perf: connected 1 handlers in 0.000 seconds 1612s ok 1 /signal/handler/connect-many 1612s # min perf: disconnected 1 handlers in 0.000 seconds 1612s ok 2 /signal/handler/disconnect-many-ordered 1612s # min perf: disconnected 1 handlers in 0.000 seconds 1612s ok 3 /signal/handler/disconnect-many-inverse 1612s # min perf: disconnected 1 handlers in 0.000 seconds 1612s ok 4 /signal/handler/disconnect-many-random 1612s # min perf: disconnected 1 handlers in 0.000 seconds 1612s ok 5 /signal/handler/disconnect-2-signals 1612s # min perf: disconnected 1 handlers in 0.000 seconds 1612s ok 6 /signal/handler/disconnect-2-objects 1612s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1612s ok 7 /signal/handler/block-many 1612s # End of handler tests 1612s # End of signal tests 1612s ok - glib/signal-handler.test 1612s # Running test: glib/properties-refcount2.test 1612s TAP version 14 1612s # random seed: R02Sbc4297d9deda35e9a9caa4075285ca58 1612s 1..1 1612s # Start of gobject tests 1612s # Start of refcount tests 1612s # init 0x28f4238 1612s # 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1614s # . 1614s # . 1614s # . 1614s # dispose 0x28f4238! 1614s # 1614s ok 1 /gobject/refcount/properties-2 1614s # slow test /gobject/refcount/properties-2 executed in 1.58 secs 1614s # End of refcount tests 1614s # End of gobject tests 1614s ok - glib/properties-refcount2.test 1614s # Running test: glib/inet-address.test 1614s TAP version 14 1614s # random seed: R02Sa4c24d05715de0e575b3280909835f8b 1614s 1..11 1614s # Start of inet-address tests 1614s ok 1 /inet-address/parse 1614s ok 2 /inet-address/any 1614s ok 3 /inet-address/loopback 1614s ok 4 /inet-address/bytes 1614s ok 5 /inet-address/property 1614s # End of inet-address tests 1614s # Start of socket-address tests 1614s ok 6 /socket-address/basic 1614s ok 7 /socket-address/to-string 1614s # End of socket-address tests 1614s # Start of address-mask tests 1614s ok 8 /address-mask/parse 1614s ok 9 /address-mask/property 1614s ok 10 /address-mask/equal 1614s ok 11 /address-mask/match 1614s # End of address-mask tests 1614s ok - glib/inet-address.test 1614s # Running test: glib/network-monitor.test 1614s TAP version 14 1614s # random seed: R02S705d1259d5f2f9c581393368dce7cd85 1614s 1..4 1614s # Start of network-monitor tests 1614s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1614s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1614s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1614s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1614s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1614s ok 1 /network-monitor/default 1614s ok 2 /network-monitor/remove_default 1614s ok 3 /network-monitor/add_networks 1614s ok 4 /network-monitor/remove_networks 1614s # End of network-monitor tests 1614s ok - glib/network-monitor.test 1614s # Running test: glib/642026-ec.test 1614s TAP version 14 1614s # random seed: R02Se2c4de49c66ced666ca51e4c6f977dbc 1614s 1..1 1614s # Start of glib tests 1614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1614s # Executing: glib/642026-ec.test 1614s ok 1 /glib/642026 1614s # End of glib tests 1614s ok - glib/642026-ec.test 1614s # Running test: glib/references.test 1614s TAP version 14 1614s # random seed: R02S59002da60c18f851fb1fa483e390499c 1614s 1..1 1614s # Start of gobject tests 1614s ok 1 /gobject/references 1614s # End of gobject tests 1614s ok - glib/references.test 1614s # Running test: glib/refcount.test 1614s TAP version 14 1614s # random seed: R02S5fcc2583d5649ef8b1c95cf0532d14dd 1614s 1..4 1614s # Start of refcount tests 1614s ok 1 /refcount/grefcount 1614s ok 2 /refcount/gatomicrefcount 1614s # Start of grefcount tests 1614s ok 3 /refcount/grefcount/saturation 1614s # End of grefcount tests 1614s # Start of gatomicrefcount tests 1614s ok 4 /refcount/gatomicrefcount/saturation 1614s # End of gatomicrefcount tests 1614s # End of refcount tests 1614s ok - glib/refcount.test 1614s # Running test: glib/dynamictests.test 1614s TAP version 14 1614s # random seed: R02S220b9f26615775852e93281dcc4ebf18 1614s 1..2 1614s # Start of GObject tests 1614s ok 1 /GObject/threaded-dynamic-ref-unref-init 1614s ok 2 /GObject/dynamic-interface-properties 1614s # End of GObject tests 1614s ok - glib/dynamictests.test 1614s # Running test: glib/network-address.test 1614s TAP version 14 1614s # random seed: R02Sed19ca31692cba484d78409f56400259 1614s 1..72 1614s # Start of network-address tests 1614s ok 1 /network-address/basic 1614s ok 2 /network-address/scope-id 1614s ok 3 /network-address/uri-scope-id 1614s ok 4 /network-address/to-string 1614s # Start of parse-host tests 1614s ok 5 /network-address/parse-host/0 1614s ok 6 /network-address/parse-host/1 1614s ok 7 /network-address/parse-host/2 1614s ok 8 /network-address/parse-host/3 1614s ok 9 /network-address/parse-host/4 1614s ok 10 /network-address/parse-host/5 1614s ok 11 /network-address/parse-host/6 1614s ok 12 /network-address/parse-host/7 1614s ok 13 /network-address/parse-host/8 1614s ok 14 /network-address/parse-host/9 1614s ok 15 /network-address/parse-host/10 1614s ok 16 /network-address/parse-host/11 1614s ok 17 /network-address/parse-host/12 1614s ok 18 /network-address/parse-host/13 1614s # End of parse-host tests 1614s # Start of parse-uri tests 1614s ok 19 /network-address/parse-uri/0 1614s ok 20 /network-address/parse-uri/1 1614s ok 21 /network-address/parse-uri/2 1614s ok 22 /network-address/parse-uri/3 1614s ok 23 /network-address/parse-uri/4 1614s ok 24 /network-address/parse-uri/5 1614s ok 25 /network-address/parse-uri/6 1614s ok 26 /network-address/parse-uri/7 1614s ok 27 /network-address/parse-uri/8 1614s ok 28 /network-address/parse-uri/9 1614s # End of parse-uri tests 1614s # Start of resolve-address tests 1614s # Input: 192.168.1.2 1614s ok 29 /network-address/resolve-address/0 1614s # Input: fe80::42 1614s ok 30 /network-address/resolve-address/1 1614s # Input: 192.168.1.2:80 1614s ok 31 /network-address/resolve-address/2 1614s # Input: [fe80::42] 1614s ok 32 /network-address/resolve-address/3 1614s # Input: [fe80::42]:80 1614s ok 33 /network-address/resolve-address/4 1614s # Input: 192.168.258 1614s ok 34 /network-address/resolve-address/5 1614s # Input: 192.11010306 1614s ok 35 /network-address/resolve-address/6 1614s # Input: 3232235778 1614s ok 36 /network-address/resolve-address/7 1614s # Input: 0300.0250.0001.0001 1614s ok 37 /network-address/resolve-address/8 1614s # Input: 0xC0.0xA8.0x01.0x02 1614s ok 38 /network-address/resolve-address/9 1614s # Input: 0xc0.0xa8.0x01.0x02 1614s ok 39 /network-address/resolve-address/10 1614s # Input: 0xc0a80102 1614s ok 40 /network-address/resolve-address/11 1614s # End of resolve-address tests 1614s # Start of loopback tests 1614s ok 41 /network-address/loopback/basic 1614s ok 42 /network-address/loopback/sync 1614s ok 43 /network-address/loopback/async 1614s # End of loopback tests 1614s # Start of localhost tests 1614s ok 44 /network-address/localhost/async 1614s ok 45 /network-address/localhost/sync 1614s # End of localhost tests 1614s # Start of happy-eyeballs tests 1614s ok 46 /network-address/happy-eyeballs/basic 1614s ok 47 /network-address/happy-eyeballs/parallel 1614s ok 48 /network-address/happy-eyeballs/slow-ipv4 1614s ok 49 /network-address/happy-eyeballs/slow-ipv6 1614s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1615s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1615s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1615s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1615s # /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. 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1615s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1615s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1615s ok 57 /network-address/happy-eyeballs/both-error 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1615s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1615s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1615s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1615s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1616s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1616s # End of happy-eyeballs tests 1616s # End of network-address tests 1616s # Start of gresolver tests 1616s # Start of resolve-address tests 1616s # Input: 192.168.1.2 1616s ok 61 /gresolver/resolve-address/0 1616s # Input: fe80::42 1616s ok 62 /gresolver/resolve-address/1 1616s # Input: 192.168.1.2:80 1616s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1616s ok 63 /gresolver/resolve-address/2 1616s # Input: [fe80::42] 1616s # Error: Error resolving ?[fe80::42]?: Name or service not known 1616s ok 64 /gresolver/resolve-address/3 1616s # Input: [fe80::42]:80 1616s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1616s ok 65 /gresolver/resolve-address/4 1616s # Input: 192.168.258 1616s # Error: Error resolving ?192.168.258?: Name or service not known 1616s ok 66 /gresolver/resolve-address/5 1616s # Input: 192.11010306 1616s # Error: Error resolving ?192.11010306?: Name or service not known 1616s ok 67 /gresolver/resolve-address/6 1616s # Input: 3232235778 1616s # Error: Error resolving ?3232235778?: Name or service not known 1616s ok 68 /gresolver/resolve-address/7 1616s # Input: 0300.0250.0001.0001 1616s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1616s ok 69 /gresolver/resolve-address/8 1616s # Input: 0xC0.0xA8.0x01.0x02 1616s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1616s ok 70 /gresolver/resolve-address/9 1616s # Input: 0xc0.0xa8.0x01.0x02 1616s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1616s ok 71 /gresolver/resolve-address/10 1616s # Input: 0xc0a80102 1616s # Error: Error resolving ?0xc0a80102?: Name or service not known 1616s ok 72 /gresolver/resolve-address/11 1616s # End of resolve-address tests 1616s # End of gresolver tests 1616s ok - glib/network-address.test 1616s # Running test: glib/contexts.test 1616s TAP version 14 1616s # random seed: R02S51d885bc22891d5540cade92cca12442 1616s 1..5 1616s # Start of gio tests 1616s # Start of contexts tests 1616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1616s ok 1 /gio/contexts/thread-independence 1616s ok 2 /gio/contexts/context-independence 1616s # Start of context-specific tests 1616s ok 3 /gio/contexts/context-specific/identity 1616s ok 4 /gio/contexts/context-specific/emit 1616s ok 5 /gio/contexts/context-specific/emit-and-unref 1616s # End of context-specific tests 1616s # End of contexts tests 1616s # End of gio tests 1616s ok - glib/contexts.test 1616s # Running test: glib/sleepy-stream.test 1616s TAP version 14 1616s # random seed: R02S15333282a5f94df92b9636e42a94c397 1616s 1..2 1616s # Start of filter-stream tests 1616s ok 1 /filter-stream/input 1616s ok 2 /filter-stream/async 1616s # End of filter-stream tests 1616s ok - glib/sleepy-stream.test 1616s # Running test: glib/simple-proxy.test 1616s TAP version 14 1616s # random seed: R02S0ac474a6e4ae2a7e32f276bf65b65567 1616s 1..3 1616s # Start of static-proxy tests 1616s ok 1 /static-proxy/uri 1616s ok 2 /static-proxy/socks 1616s ok 3 /static-proxy/ignore 1616s # End of static-proxy tests 1616s ok - glib/simple-proxy.test 1616s # Running test: glib/properties-refcount4.test 1616s TAP version 14 1616s # random seed: R02S13b0f0ecc75b575f5d5d20f28b80ea5a 1616s 1..1 1616s # Start of gobject tests 1616s # Start of refcount tests 1616s ok 1 /gobject/refcount/properties-4 1616s # End of refcount tests 1616s # End of gobject tests 1616s ok - glib/properties-refcount4.test 1616s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1616s TAP version 14 1616s # random seed: R02S4f10add284f4cc96a0d8bfb23e07e465 1616s 1..8 1616s # Start of gdbus tests 1616s # Start of codegen tests 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/annotations/.dirs/runtime 1616s ok 1 /gdbus/codegen/annotations 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/interface_stability/.dirs/runtime 1616s ok 2 /gdbus/codegen/interface_stability 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/object-manager/.dirs/runtime 1616s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1616s ok 3 /gdbus/codegen/object-manager 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/property-naming/.dirs/runtime 1616s ok 4 /gdbus/codegen/property-naming 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/autocleanups/.dirs/runtime 1616s ok 5 /gdbus/codegen/autocleanups 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/deprecations/.dirs/runtime 1616s ok 6 /gdbus/codegen/deprecations 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1616s ok 7 /gdbus/codegen/standalone-interface-info 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMMTZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1616s ok 8 /gdbus/codegen/unix-fd-list 1616s # End of codegen tests 1616s # End of gdbus tests 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s ok - glib/gdbus-test-codegen-min-required-2-64.test 1616s # Running test: glib/giomodule.test 1616s TAP version 14 1616s # random seed: R02Sfcab5544647db9e548cf48d2b1d9ec95 1616s 1..3 1616s # Start of giomodule tests 1616s ok 1 /giomodule/extension-point 1616s ok 2 /giomodule/module-scan-all 1616s ok 3 /giomodule/module-scan-all-with-scope 1616s # End of giomodule tests 1616s ok - glib/giomodule.test 1616s # Running test: glib/gsubprocess.test 1616s TAP version 14 1616s # random seed: R02Sfd511eea3150ab82fa650b0ff2549880 1616s 1..83 1616s # Start of gsubprocess tests 1616s ok 1 /gsubprocess/noop 1616s ok 2 /gsubprocess/noop-all-to-null 1616s ok 3 /gsubprocess/noop-no-wait 1616s ok 4 /gsubprocess/noop-stdin-inherit 1616s ok 5 /gsubprocess/search-path 1616s ok 6 /gsubprocess/search-path-from-envp 1619s # Executing: glib/gsubprocess.test 1619s ok 7 /gsubprocess/signal 1619s # slow test /gsubprocess/signal executed in 2.84 secs 1619s ok 8 /gsubprocess/exit1 1619s ok 9 /gsubprocess/echo1 1619s ok 10 /gsubprocess/echo-merged 1619s ok 11 /gsubprocess/cat-utf8 1620s ok 12 /gsubprocess/cat-eof 1620s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1623s ok 13 /gsubprocess/multi1 1623s # slow test /gsubprocess/multi1 executed in 3.01 secs 1623s ok 14 /gsubprocess/communicate 1624s # Executing: glib/gsubprocess.test 1626s ok 15 /gsubprocess/terminate 1626s # slow test /gsubprocess/terminate executed in 2.95 secs 1626s ok 16 /gsubprocess/env 1626s ok 17 /gsubprocess/cwd 1626s ok 18 /gsubprocess/launcher-close 1626s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1626s ok 19 /gsubprocess/stdout-file 1626s ok 20 /gsubprocess/stdout-fd 1626s ok 21 /gsubprocess/child-setup 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s ok 22 /gsubprocess/launcher-environment 1626s # Start of exit1 tests 1626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1626s ok 23 /gsubprocess/exit1/cancel 1626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1626s ok 24 /gsubprocess/exit1/cancel_in_cb 1626s # End of exit1 tests 1626s # Start of communicate tests 1626s ok 25 /gsubprocess/communicate/cancelled 1626s ok 26 /gsubprocess/communicate/async 1626s ok 27 /gsubprocess/communicate/utf8 1626s # hello world 1626s ok 28 /gsubprocess/communicate/no-pipes 1626s ok 29 /gsubprocess/communicate/separate-stderr 1626s ok 30 /gsubprocess/communicate/stdout-only 1626s # hello world 1626s ok 31 /gsubprocess/communicate/stderr-only 1626s ok 32 /gsubprocess/communicate/stdout-silence 1626s ok 33 /gsubprocess/communicate/nothing 1626s # Start of async tests 1626s ok 34 /gsubprocess/communicate/async/cancelled 1626s # hello world 1626s ok 35 /gsubprocess/communicate/async/no-pipes 1626s ok 36 /gsubprocess/communicate/async/separate-stderr 1626s ok 37 /gsubprocess/communicate/async/stdout-only 1626s # hello world 1626s ok 38 /gsubprocess/communicate/async/stderr-only 1626s ok 39 /gsubprocess/communicate/async/stdout-silence 1626s # Start of cancelled tests 1626s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1626s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1626s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1626s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1626s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1626s # End of cancelled tests 1626s # End of async tests 1626s # Start of utf8 tests 1626s ok 45 /gsubprocess/communicate/utf8/cancelled 1626s ok 46 /gsubprocess/communicate/utf8/async 1626s # hello world 1626s ok 47 /gsubprocess/communicate/utf8/no-pipes 1626s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1626s ok 49 /gsubprocess/communicate/utf8/stdout-only 1626s # hello world 1626s ok 50 /gsubprocess/communicate/utf8/stderr-only 1626s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1626s ok 52 /gsubprocess/communicate/utf8/invalid 1626s # Start of async tests 1626s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1626s # hello world 1626s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1626s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1626s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1626s # hello world 1626s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1626s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1626s ok 59 /gsubprocess/communicate/utf8/async/invalid 1626s # Start of cancelled tests 1626s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1626s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1626s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1626s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1626s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1626s # End of cancelled tests 1626s # End of async tests 1626s # Start of cancelled tests 1626s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1626s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1626s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1626s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1626s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1626s # End of cancelled tests 1626s # End of utf8 tests 1626s # Start of cancelled tests 1626s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1626s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1626s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1626s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1626s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1626s # End of cancelled tests 1626s # End of communicate tests 1626s # Start of env tests 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s ok 75 /gsubprocess/env/inherit 1626s # End of env tests 1626s # Start of pass-fd tests 1626s ok 76 /gsubprocess/pass-fd/basic 1626s ok 77 /gsubprocess/pass-fd/empty-child-setup 1626s ok 78 /gsubprocess/pass-fd/inherit-fds 1626s # End of pass-fd tests 1626s # Start of fd-conflation tests 1626s ok 79 /gsubprocess/fd-conflation/basic 1626s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1626s ok 81 /gsubprocess/fd-conflation/inherit-fds 1626s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1626s # End of fd-conflation tests 1626s # Start of exit-status tests 1626s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1626s ok 83 /gsubprocess/exit-status/trapped 1626s # End of exit-status tests 1626s # End of gsubprocess tests 1626s ok - glib/gsubprocess.test 1626s # Running test: glib/enums.test 1626s TAP version 14 1626s # random seed: R02Sf0da3723ca67a6c542e06651a81fd82f 1626s 1..4 1626s # Start of enum tests 1626s ok 1 /enum/basic 1626s ok 2 /enum/define-type 1626s # End of enum tests 1626s # Start of flags tests 1626s ok 3 /flags/basic 1626s ok 4 /flags/define-type 1626s # End of flags tests 1626s ok - glib/enums.test 1626s # Running test: glib/portal-support-flatpak-network-only.test 1626s TAP version 14 1626s # random seed: R02S302ed1a3a7442d0019dfa2aa95ce52b2 1626s 1..1 1626s # Start of portal-support tests 1626s # Start of flatpak tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/runtime 1626s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_I7IMZ2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1626s ok 1 /portal-support/flatpak/network 1626s # End of flatpak tests 1626s # End of portal-support tests 1626s ok - glib/portal-support-flatpak-network-only.test 1626s # Running test: glib/memory-input-stream.test 1626s TAP version 14 1626s # random seed: R02Sc26ce809912738f9afad87d1e631d441 1626s 1..6 1626s # Start of memory-input-stream tests 1626s ok 1 /memory-input-stream/read-chunks 1626s ok 2 /memory-input-stream/async 1626s ok 3 /memory-input-stream/seek 1626s ok 4 /memory-input-stream/truncate 1626s ok 5 /memory-input-stream/read-bytes 1626s ok 6 /memory-input-stream/from-bytes 1626s # End of memory-input-stream tests 1626s ok - glib/memory-input-stream.test 1626s # Running test: glib/refcount-macro.test 1626s TAP version 14 1626s # random seed: R02Scf013df404c46c14d16700e1aad7a7f4 1626s 1..4 1626s # Start of refcount tests 1626s ok 1 /refcount/grefcount 1626s ok 2 /refcount/gatomicrefcount 1626s # Start of grefcount tests 1626s ok 3 /refcount/grefcount/saturation 1626s # End of grefcount tests 1626s # Start of gatomicrefcount tests 1626s ok 4 /refcount/gatomicrefcount/saturation 1626s # End of gatomicrefcount tests 1626s # End of refcount tests 1626s ok - glib/refcount-macro.test 1626s # Running test: glib/sequence.test 1626s TAP version 14 1626s # random seed: R02S512e4445fa56c1e6582c23876cd7e027 1626s 1..16 1626s # Start of sequence tests 1626s ok 1 /sequence/out-of-range-jump 1626s ok 2 /sequence/iter-move 1626s ok 3 /sequence/insert-sorted-non-pointer 1626s ok 4 /sequence/stable-sort 1626s ok 5 /sequence/is_empty 1626s # Start of random tests 1627s ok 6 /sequence/random/seed:825541564 1627s # slow test /sequence/random/seed:825541564 executed in 0.64 secs 1627s ok 7 /sequence/random/seed:801678400 1627s # slow test /sequence/random/seed:801678400 executed in 0.60 secs 1628s ok 8 /sequence/random/seed:1477639090 1628s # slow test /sequence/random/seed:1477639090 executed in 0.63 secs 1629s ok 9 /sequence/random/seed:3369132895 1629s # slow test /sequence/random/seed:3369132895 executed in 0.58 secs 1629s # Executing: glib/sequence.test 1629s ok 10 /sequence/random/seed:1192944867 1629s # slow test /sequence/random/seed:1192944867 executed in 0.61 secs 1630s ok 11 /sequence/random/seed:770458294 1630s # slow test /sequence/random/seed:770458294 executed in 0.64 secs 1631s ok 12 /sequence/random/seed:1099575817 1631s # slow test /sequence/random/seed:1099575817 executed in 0.61 secs 1631s ok 13 /sequence/random/seed:590523467 1631s # slow test /sequence/random/seed:590523467 executed in 0.63 secs 1632s ok 14 /sequence/random/seed:3583571454 1632s # slow test /sequence/random/seed:3583571454 executed in 0.63 secs 1632s ok 15 /sequence/random/seed:579241222 1632s # slow test /sequence/random/seed:579241222 executed in 0.63 secs 1633s ok 16 /sequence/random/seed:1655984256 1633s # slow test /sequence/random/seed:1655984256 executed in 0.61 secs 1633s # End of random tests 1633s # End of sequence tests 1633s ok - glib/sequence.test 1633s # Running test: glib/gdbus-method-invocation.test 1633s TAP version 14 1633s # random seed: R02Sbe54c57b451ed3020d14b7f87d41da1d 1633s 1..1 1633s # Start of gdbus tests 1633s # Start of method-invocation tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_PFFZZ2/gdbus/method-invocation/return/.dirs/runtime 1633s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1633s # Calling org.freedesktop.DBus.Properties.Get 1633s # Calling org.freedesktop.DBus.Properties.Get 1633s # Calling org.freedesktop.DBus.Properties.Get 1633s # Calling org.freedesktop.DBus.Properties.Set 1633s # Calling org.freedesktop.DBus.Properties.GetAll 1633s # Calling org.example.Foo.WrongReturnType 1633s # Calling org.example.Foo.GetFDs 1633s # Calling org.example.Foo.GetFDs 1633s # Calling org.example.Foo.ReturnError 1633s # Calling org.example.Foo.CloseBeforeReturning 1633s ok 1 /gdbus/method-invocation/return 1633s # End of method-invocation tests 1633s # End of gdbus tests 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s ok - glib/gdbus-method-invocation.test 1633s # Running test: glib/file-thumbnail.test 1633s TAP version 14 1633s # random seed: R02S21ce9df8481fdd684197d8b5b7cdeecb 1633s 1..7 1633s # Start of file-thumbnail tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/runtime 1633s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 1 /file-thumbnail/fail 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 2 /file-thumbnail/size-priority 1633s # Start of valid tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 3 /file-thumbnail/valid/normal 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 4 /file-thumbnail/valid/large 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 5 /file-thumbnail/valid/x-large 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 6 /file-thumbnail/valid/xx-large 1633s # End of valid tests 1633s # Start of unknown tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/runtime 1633s # Created test thumbnail at /tmp/test_file-thumbnail_RE5LZ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1633s ok 7 /file-thumbnail/unknown/super-large 1633s # End of unknown tests 1633s # End of file-thumbnail tests 1633s ok - glib/file-thumbnail.test 1633s # Running test: glib/tls-certificate.test 1633s TAP version 14 1633s # random seed: R02S0d97145fa0cf3a217c63dde4aee2974f 1633s 1..19 1633s # Start of tls-certificate tests 1633s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1633s ok 1 /tls-certificate/pem-parser 1633s ok 2 /tls-certificate/pem-parser-handles-chain 1633s ok 3 /tls-certificate/from_file 1633s ok 4 /tls-certificate/from_files 1633s ok 5 /tls-certificate/from_files_crlf 1633s ok 6 /tls-certificate/from_files_pkcs8 1633s ok 7 /tls-certificate/from_files_pkcs8enc 1633s ok 8 /tls-certificate/list_from_file 1633s ok 9 /tls-certificate/pkcs11-uri 1633s ok 10 /tls-certificate/pkcs11-uri-unsupported 1633s ok 11 /tls-certificate/from_pkcs12 1633s ok 12 /tls-certificate/from_pkcs12_file 1633s ok 13 /tls-certificate/not-valid-before 1633s ok 14 /tls-certificate/not-valid-after 1633s ok 15 /tls-certificate/subject-name 1633s ok 16 /tls-certificate/issuer-name 1633s ok 17 /tls-certificate/dns-names 1633s ok 18 /tls-certificate/ip-addresses 1633s ok 19 /tls-certificate/pem-parser-no-sentinel 1633s # End of tls-certificate tests 1633s ok - glib/tls-certificate.test 1633s # Running test: glib/cxx-20.test 1633s TAP version 14 1633s # random seed: R02Scda495f7f05fd1591b94f9152a987dd1 1633s 1..2 1633s # Start of gtask tests 1633s # 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. 1633s ok 1 /gtask/name 1633s # Start of name tests 1633s # 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. 1633s ok 2 /gtask/name/macro-wrapper 1633s # End of name tests 1633s # End of gtask tests 1633s ok - glib/cxx-20.test 1633s # Running test: glib/spawn-path-search.test 1633s TAP version 14 1633s # random seed: R02S18fd4e797c4a2c83dd6334da00224778 1633s 1..7 1633s # Start of spawn tests 1633s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1633s # 1633s # this is spawn-test-helper from glib/tests 1633s # 1633s ok 1 /spawn/do-not-search 1633s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1633s # 1633s # this is spawn-test-helper from path-test-subdir 1633s # 1633s ok 2 /spawn/search-path 1633s # /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. 1633s # 1633s # this is spawn-test-helper from path-test-subdir 1633s # 1633s ok 3 /spawn/search-path-from-envp 1633s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1633s # 1633s # this is spawn-test-helper from path-test-subdir 1633s # 1633s ok 4 /spawn/search-path-ambiguous 1633s # 1633s # this is spawn-test-helper from path-test-subdir 1633s # 1633s ok 5 /spawn/search-path-heap-allocation 1633s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1633s # 1633s # this is spawn-test-helper from glib/tests 1633s # 1633s ok 6 /spawn/search-path-fallback-in-environ 1633s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1633s # 1633s # this is spawn-test-helper from glib/tests 1633s # 1633s ok 7 /spawn/search-path-fallback-in-envp 1633s # End of spawn tests 1633s ok - glib/spawn-path-search.test 1633s # Running test: glib/object.test 1633s TAP version 14 1633s # random seed: R02S2968d9ee1ce8c890f4943d33698364d5 1633s 1..2 1633s # Start of object tests 1633s # Start of constructor tests 1633s ok 1 /object/constructor/singleton 1633s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1633s # End of constructor tests 1633s # End of object tests 1633s ok - glib/object.test 1633s # Running test: glib/gdbus-server-auth.test 1633s TAP version 14 1633s # random seed: R02S8290c470f85e6da913a9de3040deac6c 1633s 1..9 1633s # Start of gdbus tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/.dirs/runtime 1633s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-G4BLZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1633s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-G4BLZ2/dbus-lxCK9sVn 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7458 1633s ok 1 /gdbus/server-auth 1633s # Start of server-auth tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/abstract/.dirs/runtime 1633s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-A6EJZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1633s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-A6EJZ2/dbus-D0XcjIXy 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1633s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1633s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7458 1633s ok 2 /gdbus/server-auth/abstract 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/tcp/.dirs/runtime 1633s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1633s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/.dirs/runtime 1633s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-54BKZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1633s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-54BKZ2/dbus-juDLf6Cr 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7458 1633s ok 4 /gdbus/server-auth/anonymous 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/.dirs/runtime 1633s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-4O5HZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1633s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-4O5HZ2/dbus-mn5tGkRj 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7458 1633s ok 5 /gdbus/server-auth/external 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/.dirs/runtime 1633s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-GS5IZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1633s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1633s # Start of anonymous tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1633s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1633s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1633s # End of anonymous tests 1633s # Start of external tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1633s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-PF6IZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1633s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2TBLZ2/gdbus-server-auth-PF6IZ2/dbus-VBb6ihpa 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7458 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1633s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1633s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7458,uid=1000,gid=1000 1633s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7458 1633s ok 8 /gdbus/server-auth/external/require-same-user 1633s # End of external tests 1633s # Start of sha1 tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2TBLZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1633s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1633s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1633s # End of sha1 tests 1633s # End of server-auth tests 1633s # End of gdbus tests 1633s ok - glib/gdbus-server-auth.test 1633s # Running test: glib/642026.test 1633s TAP version 14 1633s # random seed: R02S7213fbb403fbe3a988e900775d9c6d36 1633s 1..1 1633s # Start of glib tests 1633s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1633s ok 1 /glib/642026 1633s # End of glib tests 1633s ok - glib/642026.test 1633s # Running test: glib/async-splice-output-stream.test 1633s TAP version 14 1633s # random seed: R02S92235fe215cacb6ded1b823ed83cbb40 1633s 1..5 1633s # Start of async-splice tests 1633s ok 1 /async-splice/copy-chunks 1633s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1633s ok 2 /async-splice/copy-chunks-threaded-input 1633s ok 3 /async-splice/copy-chunks-threaded-output 1633s ok 4 /async-splice/copy-chunks-threaded 1633s ok 5 /async-splice/cancelled 1633s # End of async-splice tests 1633s ok - glib/async-splice-output-stream.test 1633s # Running test: glib/gapplication.test 1633s TAP version 14 1633s # random seed: R02S1a1c883ec5b8f1453d9194aa50c2bbca 1633s 1..24 1633s # Start of gapplication tests 1633s ok 1 /gapplication/no-dbus 1633s ok 2 /gapplication/no-appid 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s ok 3 /gapplication/properties 1633s ok 4 /gapplication/app-id 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s ok 5 /gapplication/quit 1633s ok 6 /gapplication/registered 1633s ok 7 /gapplication/local-actions 1633s ok 8 /gapplication/local-command-line 1633s ok 9 /gapplication/resource-path 1633s ok 10 /gapplication/test-help 1633s ok 11 /gapplication/command-line-done 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1633s ok 12 /gapplication/test-busy 1634s ok 13 /gapplication/test-handle-local-options1 1634s ok 14 /gapplication/test-handle-local-options2 1634s ok 15 /gapplication/test-handle-local-options3 1634s ok 16 /gapplication/api 1634s ok 17 /gapplication/version 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # launching subprocess 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 18 /gapplication/replace 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # launching subprocess 1634s # Executing: glib/gapplication.test 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 19 /gapplication/no-replace 1634s # slow test /gapplication/no-replace executed in 0.51 secs 1634s # Start of dbus tests 1634s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # Message 0 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 1 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 2 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 20 /gapplication/dbus/activate 1634s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # Message 0 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1634s # Message 1 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 2 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 3 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 21 /gapplication/dbus/open 1634s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # Message 0 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 1 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 2 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 22 /gapplication/dbus/command-line 1634s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 23 /gapplication/dbus/command-line-done 1634s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1634s # Message 0 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 1 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 2 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 3 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 4 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 5 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 6 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 7 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 8 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 9 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 10 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # Message 11 1634s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1634s ok 24 /gapplication/dbus/activate-action 1634s # End of dbus tests 1634s # End of gapplication tests 1634s ok - glib/gapplication.test 1634s # Running test: glib/memory-monitor-portal.test 1635s TAP version 13 1635s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1635s 1..1 1635s ok - glib/memory-monitor-portal.test 1635s # Running test: glib/tls-interaction.test 1635s TAP version 14 1635s # random seed: R02S6c728b46b0e3a076adf71287a517a3bc 1635s 1..42 1635s # Start of tls-interaction tests 1635s # Start of ask-password tests 1635s # Start of invoke-with-loop tests 1635s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1635s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1635s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1635s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1635s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1635s # End of invoke-with-loop tests 1635s # Start of invoke-without-loop tests 1635s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1635s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1635s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1635s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1635s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1635s # End of invoke-without-loop tests 1635s # Start of invoke-in-loop tests 1635s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1635s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1635s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1635s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1635s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1635s # End of invoke-in-loop tests 1635s # Start of sync tests 1635s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1635s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1635s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1635s # End of sync tests 1635s # Start of async tests 1635s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1635s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1635s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1635s # End of async tests 1635s # End of ask-password tests 1635s # Start of request-certificate tests 1635s # Start of invoke-with-loop tests 1635s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1635s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1635s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1635s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1635s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1635s # End of invoke-with-loop tests 1635s # Start of invoke-without-loop tests 1635s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1635s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1635s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1635s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1635s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1635s # End of invoke-without-loop tests 1635s # Start of invoke-in-loop tests 1635s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1635s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1635s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1635s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1635s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1635s # End of invoke-in-loop tests 1635s # Start of sync tests 1635s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1635s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1635s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1635s # End of sync tests 1635s # Start of async tests 1635s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1635s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1635s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1635s # End of async tests 1635s # End of request-certificate tests 1635s # End of tls-interaction tests 1635s ok - glib/tls-interaction.test 1635s # Running test: glib/completion.test 1635s TAP version 14 1635s # random seed: R02S55278e659ccbe3cc6e8eaba6acb96089 1635s 1..1 1635s # Start of completion tests 1635s ok 1 /completion/test-completion 1635s # End of completion tests 1635s ok - glib/completion.test 1635s # Running test: glib/atomic-c-99.test 1635s TAP version 14 1635s # random seed: R02Sb680d032810d9e7b1cc0c87bdd80a767 1635s 1..2 1635s # Start of atomic tests 1635s ok 1 /atomic/types 1635s ok 2 /atomic/threaded 1635s # End of atomic tests 1635s ok - glib/atomic-c-99.test 1635s # Running test: glib/cxx-03.test 1635s TAP version 14 1635s # random seed: R02S0d5d6938afd3f7581fd6a5cd93a78ee6 1635s 1..2 1635s # Start of gtask tests 1635s # 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. 1635s ok 1 /gtask/name 1635s # Start of name tests 1635s # 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. 1635s ok 2 /gtask/name/macro-wrapper 1635s # End of name tests 1635s # End of gtask tests 1635s ok - glib/cxx-03.test 1635s # Running test: glib/notify-init2.test 1635s TAP version 14 1635s # random seed: R02S65825b7c2bf116636048345e95c280ca 1635s 1..1 1635s # Start of properties tests 1635s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1635s ok 1 /properties/notify-in-init2 1635s # End of properties tests 1635s ok - glib/notify-init2.test 1635s # Running test: glib/gdbus-auth.test 1635s TAP version 14 1635s # random seed: R02S165ac9341138ed9ca8d00006834f291a 1635s 1..5 1635s # Start of gdbus tests 1635s # Start of auth tests 1635s # Start of client tests 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1635s ok 1 /gdbus/auth/client/EXTERNAL 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1635s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1635s # End of client tests 1635s # Start of server tests 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1635s ok 3 /gdbus/auth/server/ANONYMOUS 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1635s ok 4 /gdbus/auth/server/EXTERNAL 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OIMZZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1635s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1635s # End of server tests 1635s # End of auth tests 1635s # End of gdbus tests 1635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1635s ok - glib/gdbus-auth.test 1635s # Running test: glib/g-file-info.test 1635s TAP version 14 1635s # random seed: R02S4fb31a35abfc4b2ba54907cb852e50cb 1635s 1..6 1635s # Start of g-file-info tests 1635s ok 1 /g-file-info/test_g_file_info 1635s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1635s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1635s ok 2 /g-file-info/xattrs 1635s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1635s ok 3 /g-file-info/set-modified-date-time-precision 1635s # Start of test_g_file_info tests 1635s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1635s ok 4 /g-file-info/test_g_file_info/modification-time 1635s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1635s ok 5 /g-file-info/test_g_file_info/access-time 1635s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1635s ok 6 /g-file-info/test_g_file_info/creation-time 1635s # End of test_g_file_info tests 1635s # End of g-file-info tests 1635s ok - glib/g-file-info.test 1635s # Running test: glib/io-stream.test 1635s TAP version 14 1635s # random seed: R02Se63aa1d16b85e6f1b56a49b2dc8e607e 1635s 1..3 1635s # Start of io-stream tests 1635s ok 1 /io-stream/copy-chunks 1635s # Start of close tests 1635s # Start of async tests 1635s ok 2 /io-stream/close/async/memory 1635s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1635s ok 3 /io-stream/close/async/file 1635s # End of async tests 1635s # End of close tests 1635s # End of io-stream tests 1635s ok - glib/io-stream.test 1635s # Running test: glib/accumulator.test 1635s TAP version 14 1635s # random seed: R02Sf90fc57deb8f76f0373992974c30818b 1635s 1..1 1635s # Start of gobject tests 1635s ok 1 /gobject/accumulator 1635s # End of gobject tests 1635s ok - glib/accumulator.test 1635s # Running test: glib/singleton.test 1635s TAP version 14 1635s # random seed: R02Sf063afb6ac82526b1318e637aa25b3cf 1635s 1..2 1635s # Start of gobject tests 1635s # Start of singleton tests 1635s ok 1 /gobject/singleton/construction 1635s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1635s ok 2 /gobject/singleton/construct-property 1635s # End of singleton tests 1635s # End of gobject tests 1635s ok - glib/singleton.test 1635s # Running test: glib/checksum.test 1635s TAP version 14 1635s # random seed: R02S6375d48b12f32db7748bf619ff843cc8 1635s 1..1851 1635s # Start of checksum tests 1635s ok 1 /checksum/unsupported 1635s # Start of MD5 tests 1635s ok 2 /checksum/MD5/0 1635s ok 3 /checksum/MD5/1 1635s ok 4 /checksum/MD5/2 1635s ok 5 /checksum/MD5/3 1635s ok 6 /checksum/MD5/4 1635s ok 7 /checksum/MD5/5 1635s ok 8 /checksum/MD5/6 1635s ok 9 /checksum/MD5/7 1635s ok 10 /checksum/MD5/8 1635s ok 11 /checksum/MD5/9 1635s ok 12 /checksum/MD5/10 1635s ok 13 /checksum/MD5/11 1635s ok 14 /checksum/MD5/12 1635s ok 15 /checksum/MD5/13 1635s ok 16 /checksum/MD5/14 1635s ok 17 /checksum/MD5/15 1635s ok 18 /checksum/MD5/16 1635s ok 19 /checksum/MD5/17 1635s ok 20 /checksum/MD5/18 1635s ok 21 /checksum/MD5/19 1635s ok 22 /checksum/MD5/20 1635s ok 23 /checksum/MD5/21 1635s ok 24 /checksum/MD5/22 1635s ok 25 /checksum/MD5/23 1635s ok 26 /checksum/MD5/24 1635s ok 27 /checksum/MD5/25 1635s ok 28 /checksum/MD5/26 1635s ok 29 /checksum/MD5/27 1635s ok 30 /checksum/MD5/28 1635s ok 31 /checksum/MD5/29 1635s ok 32 /checksum/MD5/30 1635s ok 33 /checksum/MD5/31 1635s ok 34 /checksum/MD5/32 1635s ok 35 /checksum/MD5/33 1635s ok 36 /checksum/MD5/34 1635s ok 37 /checksum/MD5/35 1635s ok 38 /checksum/MD5/36 1635s ok 39 /checksum/MD5/37 1635s ok 40 /checksum/MD5/38 1635s ok 41 /checksum/MD5/39 1635s ok 42 /checksum/MD5/40 1635s ok 43 /checksum/MD5/41 1635s ok 44 /checksum/MD5/42 1635s ok 45 /checksum/MD5/43 1635s ok 46 /checksum/MD5/44 1635s ok 47 /checksum/MD5/45 1635s ok 48 /checksum/MD5/46 1635s ok 49 /checksum/MD5/47 1635s ok 50 /checksum/MD5/48 1635s ok 51 /checksum/MD5/49 1635s ok 52 /checksum/MD5/50 1635s ok 53 /checksum/MD5/51 1635s ok 54 /checksum/MD5/52 1635s ok 55 /checksum/MD5/53 1635s ok 56 /checksum/MD5/54 1635s ok 57 /checksum/MD5/55 1635s ok 58 /checksum/MD5/56 1635s ok 59 /checksum/MD5/57 1635s ok 60 /checksum/MD5/58 1635s ok 61 /checksum/MD5/59 1635s ok 62 /checksum/MD5/60 1635s ok 63 /checksum/MD5/61 1635s ok 64 /checksum/MD5/62 1635s ok 65 /checksum/MD5/63 1635s ok 66 /checksum/MD5/64 1635s ok 67 /checksum/MD5/65 1635s ok 68 /checksum/MD5/66 1635s ok 69 /checksum/MD5/67 1635s ok 70 /checksum/MD5/68 1635s ok 71 /checksum/MD5/69 1635s ok 72 /checksum/MD5/70 1635s ok 73 /checksum/MD5/71 1635s ok 74 /checksum/MD5/72 1635s ok 75 /checksum/MD5/73 1635s ok 76 /checksum/MD5/74 1635s ok 77 /checksum/MD5/75 1635s ok 78 /checksum/MD5/76 1635s ok 79 /checksum/MD5/77 1635s ok 80 /checksum/MD5/78 1635s ok 81 /checksum/MD5/79 1635s ok 82 /checksum/MD5/80 1635s ok 83 /checksum/MD5/81 1635s ok 84 /checksum/MD5/82 1635s ok 85 /checksum/MD5/83 1635s ok 86 /checksum/MD5/84 1635s ok 87 /checksum/MD5/85 1635s ok 88 /checksum/MD5/86 1635s ok 89 /checksum/MD5/87 1635s ok 90 /checksum/MD5/88 1635s ok 91 /checksum/MD5/89 1635s ok 92 /checksum/MD5/90 1635s ok 93 /checksum/MD5/91 1635s ok 94 /checksum/MD5/92 1635s ok 95 /checksum/MD5/93 1635s ok 96 /checksum/MD5/94 1635s ok 97 /checksum/MD5/95 1635s ok 98 /checksum/MD5/96 1635s ok 99 /checksum/MD5/97 1635s ok 100 /checksum/MD5/98 1635s ok 101 /checksum/MD5/99 1635s ok 102 /checksum/MD5/100 1635s ok 103 /checksum/MD5/101 1635s ok 104 /checksum/MD5/102 1635s ok 105 /checksum/MD5/103 1635s ok 106 /checksum/MD5/104 1635s ok 107 /checksum/MD5/105 1635s ok 108 /checksum/MD5/106 1635s ok 109 /checksum/MD5/107 1635s ok 110 /checksum/MD5/108 1635s ok 111 /checksum/MD5/109 1635s ok 112 /checksum/MD5/110 1635s ok 113 /checksum/MD5/111 1635s ok 114 /checksum/MD5/112 1635s ok 115 /checksum/MD5/113 1635s ok 116 /checksum/MD5/114 1635s ok 117 /checksum/MD5/115 1635s ok 118 /checksum/MD5/116 1635s ok 119 /checksum/MD5/117 1635s ok 120 /checksum/MD5/118 1635s ok 121 /checksum/MD5/119 1635s ok 122 /checksum/MD5/120 1635s ok 123 /checksum/MD5/121 1635s ok 124 /checksum/MD5/122 1635s ok 125 /checksum/MD5/123 1635s ok 126 /checksum/MD5/124 1635s ok 127 /checksum/MD5/125 1635s ok 128 /checksum/MD5/126 1635s ok 129 /checksum/MD5/127 1635s ok 130 /checksum/MD5/128 1635s ok 131 /checksum/MD5/129 1635s ok 132 /checksum/MD5/130 1635s ok 133 /checksum/MD5/131 1635s ok 134 /checksum/MD5/132 1635s ok 135 /checksum/MD5/133 1635s ok 136 /checksum/MD5/134 1635s ok 137 /checksum/MD5/135 1635s ok 138 /checksum/MD5/136 1635s ok 139 /checksum/MD5/137 1635s ok 140 /checksum/MD5/138 1635s ok 141 /checksum/MD5/139 1635s ok 142 /checksum/MD5/140 1635s ok 143 /checksum/MD5/141 1635s ok 144 /checksum/MD5/142 1635s ok 145 /checksum/MD5/143 1635s ok 146 /checksum/MD5/144 1635s ok 147 /checksum/MD5/145 1635s ok 148 /checksum/MD5/146 1635s ok 149 /checksum/MD5/147 1635s ok 150 /checksum/MD5/148 1635s ok 151 /checksum/MD5/149 1635s ok 152 /checksum/MD5/150 1635s ok 153 /checksum/MD5/151 1635s ok 154 /checksum/MD5/152 1635s ok 155 /checksum/MD5/153 1635s ok 156 /checksum/MD5/154 1635s ok 157 /checksum/MD5/155 1635s ok 158 /checksum/MD5/156 1635s ok 159 /checksum/MD5/157 1635s ok 160 /checksum/MD5/158 1635s ok 161 /checksum/MD5/159 1635s ok 162 /checksum/MD5/160 1635s ok 163 /checksum/MD5/161 1635s ok 164 /checksum/MD5/162 1635s ok 165 /checksum/MD5/163 1635s ok 166 /checksum/MD5/164 1635s ok 167 /checksum/MD5/165 1635s ok 168 /checksum/MD5/166 1635s ok 169 /checksum/MD5/167 1635s ok 170 /checksum/MD5/168 1635s ok 171 /checksum/MD5/169 1635s ok 172 /checksum/MD5/170 1635s ok 173 /checksum/MD5/171 1635s ok 174 /checksum/MD5/172 1635s ok 175 /checksum/MD5/173 1635s ok 176 /checksum/MD5/174 1635s ok 177 /checksum/MD5/175 1635s ok 178 /checksum/MD5/176 1635s ok 179 /checksum/MD5/177 1635s ok 180 /checksum/MD5/178 1635s ok 181 /checksum/MD5/179 1635s ok 182 /checksum/MD5/180 1635s ok 183 /checksum/MD5/181 1635s ok 184 /checksum/MD5/182 1635s ok 185 /checksum/MD5/183 1635s ok 186 /checksum/MD5/string 1635s ok 187 /checksum/MD5/bytes 1635s # Start of reset tests 1635s ok 188 /checksum/MD5/reset/0 1635s ok 189 /checksum/MD5/reset/1 1635s ok 190 /checksum/MD5/reset/2 1635s ok 191 /checksum/MD5/reset/3 1635s ok 192 /checksum/MD5/reset/4 1635s ok 193 /checksum/MD5/reset/5 1635s ok 194 /checksum/MD5/reset/6 1635s ok 195 /checksum/MD5/reset/7 1635s ok 196 /checksum/MD5/reset/8 1635s ok 197 /checksum/MD5/reset/9 1635s ok 198 /checksum/MD5/reset/10 1635s ok 199 /checksum/MD5/reset/11 1635s ok 200 /checksum/MD5/reset/12 1635s ok 201 /checksum/MD5/reset/13 1635s ok 202 /checksum/MD5/reset/14 1635s ok 203 /checksum/MD5/reset/15 1635s ok 204 /checksum/MD5/reset/16 1635s ok 205 /checksum/MD5/reset/17 1635s ok 206 /checksum/MD5/reset/18 1635s ok 207 /checksum/MD5/reset/19 1635s ok 208 /checksum/MD5/reset/20 1635s ok 209 /checksum/MD5/reset/21 1635s ok 210 /checksum/MD5/reset/22 1635s ok 211 /checksum/MD5/reset/23 1635s ok 212 /checksum/MD5/reset/24 1635s ok 213 /checksum/MD5/reset/25 1635s ok 214 /checksum/MD5/reset/26 1635s ok 215 /checksum/MD5/reset/27 1635s ok 216 /checksum/MD5/reset/28 1635s ok 217 /checksum/MD5/reset/29 1635s ok 218 /checksum/MD5/reset/30 1635s ok 219 /checksum/MD5/reset/31 1635s ok 220 /checksum/MD5/reset/32 1635s ok 221 /checksum/MD5/reset/33 1635s ok 222 /checksum/MD5/reset/34 1635s ok 223 /checksum/MD5/reset/35 1635s ok 224 /checksum/MD5/reset/36 1635s ok 225 /checksum/MD5/reset/37 1635s ok 226 /checksum/MD5/reset/38 1635s ok 227 /checksum/MD5/reset/39 1635s ok 228 /checksum/MD5/reset/40 1635s ok 229 /checksum/MD5/reset/41 1635s ok 230 /checksum/MD5/reset/42 1635s ok 231 /checksum/MD5/reset/43 1635s ok 232 /checksum/MD5/reset/44 1635s ok 233 /checksum/MD5/reset/45 1635s ok 234 /checksum/MD5/reset/46 1635s ok 235 /checksum/MD5/reset/47 1635s ok 236 /checksum/MD5/reset/48 1635s ok 237 /checksum/MD5/reset/49 1635s ok 238 /checksum/MD5/reset/50 1635s ok 239 /checksum/MD5/reset/51 1635s ok 240 /checksum/MD5/reset/52 1635s ok 241 /checksum/MD5/reset/53 1635s ok 242 /checksum/MD5/reset/54 1635s ok 243 /checksum/MD5/reset/55 1635s ok 244 /checksum/MD5/reset/56 1635s ok 245 /checksum/MD5/reset/57 1635s ok 246 /checksum/MD5/reset/58 1635s ok 247 /checksum/MD5/reset/59 1635s ok 248 /checksum/MD5/reset/60 1635s ok 249 /checksum/MD5/reset/61 1635s ok 250 /checksum/MD5/reset/62 1635s ok 251 /checksum/MD5/reset/63 1635s ok 252 /checksum/MD5/reset/64 1635s ok 253 /checksum/MD5/reset/65 1635s ok 254 /checksum/MD5/reset/66 1635s ok 255 /checksum/MD5/reset/67 1635s ok 256 /checksum/MD5/reset/68 1635s ok 257 /checksum/MD5/reset/69 1635s ok 258 /checksum/MD5/reset/70 1635s ok 259 /checksum/MD5/reset/71 1635s ok 260 /checksum/MD5/reset/72 1635s ok 261 /checksum/MD5/reset/73 1635s ok 262 /checksum/MD5/reset/74 1635s ok 263 /checksum/MD5/reset/75 1635s ok 264 /checksum/MD5/reset/76 1635s ok 265 /checksum/MD5/reset/77 1635s ok 266 /checksum/MD5/reset/78 1635s ok 267 /checksum/MD5/reset/79 1635s ok 268 /checksum/MD5/reset/80 1635s ok 269 /checksum/MD5/reset/81 1635s ok 270 /checksum/MD5/reset/82 1635s ok 271 /checksum/MD5/reset/83 1635s ok 272 /checksum/MD5/reset/84 1635s ok 273 /checksum/MD5/reset/85 1635s ok 274 /checksum/MD5/reset/86 1635s ok 275 /checksum/MD5/reset/87 1635s ok 276 /checksum/MD5/reset/88 1635s ok 277 /checksum/MD5/reset/89 1635s ok 278 /checksum/MD5/reset/90 1635s ok 279 /checksum/MD5/reset/91 1635s ok 280 /checksum/MD5/reset/92 1635s ok 281 /checksum/MD5/reset/93 1635s ok 282 /checksum/MD5/reset/94 1635s ok 283 /checksum/MD5/reset/95 1635s ok 284 /checksum/MD5/reset/96 1635s ok 285 /checksum/MD5/reset/97 1635s ok 286 /checksum/MD5/reset/98 1635s ok 287 /checksum/MD5/reset/99 1635s ok 288 /checksum/MD5/reset/100 1635s ok 289 /checksum/MD5/reset/101 1635s ok 290 /checksum/MD5/reset/102 1635s ok 291 /checksum/MD5/reset/103 1635s ok 292 /checksum/MD5/reset/104 1635s ok 293 /checksum/MD5/reset/105 1635s ok 294 /checksum/MD5/reset/106 1635s ok 295 /checksum/MD5/reset/107 1635s ok 296 /checksum/MD5/reset/108 1635s ok 297 /checksum/MD5/reset/109 1635s ok 298 /checksum/MD5/reset/110 1635s ok 299 /checksum/MD5/reset/111 1635s ok 300 /checksum/MD5/reset/112 1635s ok 301 /checksum/MD5/reset/113 1635s ok 302 /checksum/MD5/reset/114 1635s ok 303 /checksum/MD5/reset/115 1635s ok 304 /checksum/MD5/reset/116 1635s ok 305 /checksum/MD5/reset/117 1635s ok 306 /checksum/MD5/reset/118 1635s ok 307 /checksum/MD5/reset/119 1635s ok 308 /checksum/MD5/reset/120 1635s ok 309 /checksum/MD5/reset/121 1635s ok 310 /checksum/MD5/reset/122 1635s ok 311 /checksum/MD5/reset/123 1635s ok 312 /checksum/MD5/reset/124 1635s ok 313 /checksum/MD5/reset/125 1635s ok 314 /checksum/MD5/reset/126 1635s ok 315 /checksum/MD5/reset/127 1635s ok 316 /checksum/MD5/reset/128 1635s ok 317 /checksum/MD5/reset/129 1635s ok 318 /checksum/MD5/reset/130 1635s ok 319 /checksum/MD5/reset/131 1635s ok 320 /checksum/MD5/reset/132 1635s ok 321 /checksum/MD5/reset/133 1635s ok 322 /checksum/MD5/reset/134 1635s ok 323 /checksum/MD5/reset/135 1635s ok 324 /checksum/MD5/reset/136 1635s ok 325 /checksum/MD5/reset/137 1635s ok 326 /checksum/MD5/reset/138 1635s ok 327 /checksum/MD5/reset/139 1635s ok 328 /checksum/MD5/reset/140 1635s ok 329 /checksum/MD5/reset/141 1635s ok 330 /checksum/MD5/reset/142 1635s ok 331 /checksum/MD5/reset/143 1635s ok 332 /checksum/MD5/reset/144 1635s ok 333 /checksum/MD5/reset/145 1635s ok 334 /checksum/MD5/reset/146 1635s ok 335 /checksum/MD5/reset/147 1635s ok 336 /checksum/MD5/reset/148 1635s ok 337 /checksum/MD5/reset/149 1635s ok 338 /checksum/MD5/reset/150 1635s ok 339 /checksum/MD5/reset/151 1635s ok 340 /checksum/MD5/reset/152 1635s ok 341 /checksum/MD5/reset/153 1635s ok 342 /checksum/MD5/reset/154 1635s ok 343 /checksum/MD5/reset/155 1635s ok 344 /checksum/MD5/reset/156 1635s ok 345 /checksum/MD5/reset/157 1635s ok 346 /checksum/MD5/reset/158 1635s ok 347 /checksum/MD5/reset/159 1635s ok 348 /checksum/MD5/reset/160 1635s ok 349 /checksum/MD5/reset/161 1635s ok 350 /checksum/MD5/reset/162 1635s ok 351 /checksum/MD5/reset/163 1635s ok 352 /checksum/MD5/reset/164 1635s ok 353 /checksum/MD5/reset/165 1635s ok 354 /checksum/MD5/reset/166 1635s ok 355 /checksum/MD5/reset/167 1635s ok 356 /checksum/MD5/reset/168 1635s ok 357 /checksum/MD5/reset/169 1635s ok 358 /checksum/MD5/reset/170 1635s ok 359 /checksum/MD5/reset/171 1635s ok 360 /checksum/MD5/reset/172 1635s ok 361 /checksum/MD5/reset/173 1635s ok 362 /checksum/MD5/reset/174 1635s ok 363 /checksum/MD5/reset/175 1635s ok 364 /checksum/MD5/reset/176 1635s ok 365 /checksum/MD5/reset/177 1635s ok 366 /checksum/MD5/reset/178 1635s ok 367 /checksum/MD5/reset/179 1635s ok 368 /checksum/MD5/reset/180 1635s ok 369 /checksum/MD5/reset/181 1635s ok 370 /checksum/MD5/reset/182 1635s ok 371 /checksum/MD5/reset/183 1635s # End of reset tests 1635s # End of MD5 tests 1635s # Start of SHA1 tests 1635s ok 372 /checksum/SHA1/0 1635s ok 373 /checksum/SHA1/1 1635s ok 374 /checksum/SHA1/2 1635s ok 375 /checksum/SHA1/3 1635s ok 376 /checksum/SHA1/4 1635s ok 377 /checksum/SHA1/5 1635s ok 378 /checksum/SHA1/6 1635s ok 379 /checksum/SHA1/7 1635s ok 380 /checksum/SHA1/8 1635s ok 381 /checksum/SHA1/9 1635s ok 382 /checksum/SHA1/10 1635s ok 383 /checksum/SHA1/11 1635s ok 384 /checksum/SHA1/12 1635s ok 385 /checksum/SHA1/13 1635s ok 386 /checksum/SHA1/14 1635s ok 387 /checksum/SHA1/15 1635s ok 388 /checksum/SHA1/16 1635s ok 389 /checksum/SHA1/17 1635s ok 390 /checksum/SHA1/18 1635s ok 391 /checksum/SHA1/19 1635s ok 392 /checksum/SHA1/20 1635s ok 393 /checksum/SHA1/21 1635s ok 394 /checksum/SHA1/22 1635s ok 395 /checksum/SHA1/23 1635s ok 396 /checksum/SHA1/24 1635s ok 397 /checksum/SHA1/25 1635s ok 398 /checksum/SHA1/26 1635s ok 399 /checksum/SHA1/27 1635s ok 400 /checksum/SHA1/28 1635s ok 401 /checksum/SHA1/29 1635s ok 402 /checksum/SHA1/30 1635s ok 403 /checksum/SHA1/31 1635s ok 404 /checksum/SHA1/32 1635s ok 405 /checksum/SHA1/33 1635s ok 406 /checksum/SHA1/34 1635s ok 407 /checksum/SHA1/35 1635s ok 408 /checksum/SHA1/36 1635s ok 409 /checksum/SHA1/37 1635s ok 410 /checksum/SHA1/38 1635s ok 411 /checksum/SHA1/39 1635s ok 412 /checksum/SHA1/40 1635s ok 413 /checksum/SHA1/41 1635s ok 414 /checksum/SHA1/42 1635s ok 415 /checksum/SHA1/43 1635s ok 416 /checksum/SHA1/44 1635s ok 417 /checksum/SHA1/45 1635s ok 418 /checksum/SHA1/46 1635s ok 419 /checksum/SHA1/47 1635s ok 420 /checksum/SHA1/48 1635s ok 421 /checksum/SHA1/49 1635s ok 422 /checksum/SHA1/50 1635s ok 423 /checksum/SHA1/51 1635s ok 424 /checksum/SHA1/52 1635s ok 425 /checksum/SHA1/53 1635s ok 426 /checksum/SHA1/54 1635s ok 427 /checksum/SHA1/55 1635s ok 428 /checksum/SHA1/56 1635s ok 429 /checksum/SHA1/57 1635s ok 430 /checksum/SHA1/58 1635s ok 431 /checksum/SHA1/59 1635s ok 432 /checksum/SHA1/60 1635s ok 433 /checksum/SHA1/61 1635s ok 434 /checksum/SHA1/62 1635s ok 435 /checksum/SHA1/63 1635s ok 436 /checksum/SHA1/64 1635s ok 437 /checksum/SHA1/65 1635s ok 438 /checksum/SHA1/66 1635s ok 439 /checksum/SHA1/67 1635s ok 440 /checksum/SHA1/68 1635s ok 441 /checksum/SHA1/69 1635s ok 442 /checksum/SHA1/70 1635s ok 443 /checksum/SHA1/71 1635s ok 444 /checksum/SHA1/72 1635s ok 445 /checksum/SHA1/73 1635s ok 446 /checksum/SHA1/74 1635s ok 447 /checksum/SHA1/75 1635s ok 448 /checksum/SHA1/76 1635s ok 449 /checksum/SHA1/77 1635s ok 450 /checksum/SHA1/78 1635s ok 451 /checksum/SHA1/79 1635s ok 452 /checksum/SHA1/80 1635s ok 453 /checksum/SHA1/81 1635s ok 454 /checksum/SHA1/82 1635s ok 455 /checksum/SHA1/83 1635s ok 456 /checksum/SHA1/84 1635s ok 457 /checksum/SHA1/85 1635s ok 458 /checksum/SHA1/86 1635s ok 459 /checksum/SHA1/87 1635s ok 460 /checksum/SHA1/88 1635s ok 461 /checksum/SHA1/89 1635s ok 462 /checksum/SHA1/90 1635s ok 463 /checksum/SHA1/91 1635s ok 464 /checksum/SHA1/92 1635s ok 465 /checksum/SHA1/93 1635s ok 466 /checksum/SHA1/94 1635s ok 467 /checksum/SHA1/95 1635s ok 468 /checksum/SHA1/96 1635s ok 469 /checksum/SHA1/97 1635s ok 470 /checksum/SHA1/98 1635s ok 471 /checksum/SHA1/99 1635s ok 472 /checksum/SHA1/100 1635s ok 473 /checksum/SHA1/101 1635s ok 474 /checksum/SHA1/102 1635s ok 475 /checksum/SHA1/103 1635s ok 476 /checksum/SHA1/104 1635s ok 477 /checksum/SHA1/105 1635s ok 478 /checksum/SHA1/106 1635s ok 479 /checksum/SHA1/107 1635s ok 480 /checksum/SHA1/108 1635s ok 481 /checksum/SHA1/109 1635s ok 482 /checksum/SHA1/110 1635s ok 483 /checksum/SHA1/111 1635s ok 484 /checksum/SHA1/112 1635s ok 485 /checksum/SHA1/113 1635s ok 486 /checksum/SHA1/114 1635s ok 487 /checksum/SHA1/115 1635s ok 488 /checksum/SHA1/116 1635s ok 489 /checksum/SHA1/117 1635s ok 490 /checksum/SHA1/118 1635s ok 491 /checksum/SHA1/119 1635s ok 492 /checksum/SHA1/120 1635s ok 493 /checksum/SHA1/121 1635s ok 494 /checksum/SHA1/122 1635s ok 495 /checksum/SHA1/123 1635s ok 496 /checksum/SHA1/124 1635s ok 497 /checksum/SHA1/125 1635s ok 498 /checksum/SHA1/126 1635s ok 499 /checksum/SHA1/127 1635s ok 500 /checksum/SHA1/128 1635s ok 501 /checksum/SHA1/129 1635s ok 502 /checksum/SHA1/130 1635s ok 503 /checksum/SHA1/131 1635s ok 504 /checksum/SHA1/132 1635s ok 505 /checksum/SHA1/133 1635s ok 506 /checksum/SHA1/134 1635s ok 507 /checksum/SHA1/135 1635s ok 508 /checksum/SHA1/136 1635s ok 509 /checksum/SHA1/137 1635s ok 510 /checksum/SHA1/138 1635s ok 511 /checksum/SHA1/139 1635s ok 512 /checksum/SHA1/140 1635s ok 513 /checksum/SHA1/141 1635s ok 514 /checksum/SHA1/142 1635s ok 515 /checksum/SHA1/143 1635s ok 516 /checksum/SHA1/144 1635s ok 517 /checksum/SHA1/145 1635s ok 518 /checksum/SHA1/146 1635s ok 519 /checksum/SHA1/147 1635s ok 520 /checksum/SHA1/148 1635s ok 521 /checksum/SHA1/149 1635s ok 522 /checksum/SHA1/150 1635s ok 523 /checksum/SHA1/151 1635s ok 524 /checksum/SHA1/152 1635s ok 525 /checksum/SHA1/153 1635s ok 526 /checksum/SHA1/154 1635s ok 527 /checksum/SHA1/155 1635s ok 528 /checksum/SHA1/156 1635s ok 529 /checksum/SHA1/157 1635s ok 530 /checksum/SHA1/158 1635s ok 531 /checksum/SHA1/159 1635s ok 532 /checksum/SHA1/160 1635s ok 533 /checksum/SHA1/161 1635s ok 534 /checksum/SHA1/162 1635s ok 535 /checksum/SHA1/163 1635s ok 536 /checksum/SHA1/164 1635s ok 537 /checksum/SHA1/165 1635s ok 538 /checksum/SHA1/166 1635s ok 539 /checksum/SHA1/167 1635s ok 540 /checksum/SHA1/168 1635s ok 541 /checksum/SHA1/169 1635s ok 542 /checksum/SHA1/170 1635s ok 543 /checksum/SHA1/171 1635s ok 544 /checksum/SHA1/172 1635s ok 545 /checksum/SHA1/173 1635s ok 546 /checksum/SHA1/174 1635s ok 547 /checksum/SHA1/175 1635s ok 548 /checksum/SHA1/176 1635s ok 549 /checksum/SHA1/177 1635s ok 550 /checksum/SHA1/178 1635s ok 551 /checksum/SHA1/179 1635s ok 552 /checksum/SHA1/180 1635s ok 553 /checksum/SHA1/181 1635s ok 554 /checksum/SHA1/182 1635s ok 555 /checksum/SHA1/183 1635s ok 556 /checksum/SHA1/string 1635s ok 557 /checksum/SHA1/bytes 1635s # Start of reset tests 1635s ok 558 /checksum/SHA1/reset/0 1635s ok 559 /checksum/SHA1/reset/1 1635s ok 560 /checksum/SHA1/reset/2 1635s ok 561 /checksum/SHA1/reset/3 1635s ok 562 /checksum/SHA1/reset/4 1635s ok 563 /checksum/SHA1/reset/5 1635s ok 564 /checksum/SHA1/reset/6 1635s ok 565 /checksum/SHA1/reset/7 1635s ok 566 /checksum/SHA1/reset/8 1635s ok 567 /checksum/SHA1/reset/9 1635s ok 568 /checksum/SHA1/reset/10 1635s ok 569 /checksum/SHA1/reset/11 1635s ok 570 /checksum/SHA1/reset/12 1635s ok 571 /checksum/SHA1/reset/13 1635s ok 572 /checksum/SHA1/reset/14 1635s ok 573 /checksum/SHA1/reset/15 1635s ok 574 /checksum/SHA1/reset/16 1635s ok 575 /checksum/SHA1/reset/17 1635s ok 576 /checksum/SHA1/reset/18 1635s ok 577 /checksum/SHA1/reset/19 1635s ok 578 /checksum/SHA1/reset/20 1635s ok 579 /checksum/SHA1/reset/21 1635s ok 580 /checksum/SHA1/reset/22 1635s ok 581 /checksum/SHA1/reset/23 1635s ok 582 /checksum/SHA1/reset/24 1635s ok 583 /checksum/SHA1/reset/25 1635s ok 584 /checksum/SHA1/reset/26 1635s ok 585 /checksum/SHA1/reset/27 1635s ok 586 /checksum/SHA1/reset/28 1635s ok 587 /checksum/SHA1/reset/29 1635s ok 588 /checksum/SHA1/reset/30 1635s ok 589 /checksum/SHA1/reset/31 1635s ok 590 /checksum/SHA1/reset/32 1635s ok 591 /checksum/SHA1/reset/33 1635s ok 592 /checksum/SHA1/reset/34 1635s ok 593 /checksum/SHA1/reset/35 1635s ok 594 /checksum/SHA1/reset/36 1635s ok 595 /checksum/SHA1/reset/37 1635s ok 596 /checksum/SHA1/reset/38 1635s ok 597 /checksum/SHA1/reset/39 1635s ok 598 /checksum/SHA1/reset/40 1635s ok 599 /checksum/SHA1/reset/41 1635s ok 600 /checksum/SHA1/reset/42 1635s ok 601 /checksum/SHA1/reset/43 1635s ok 602 /checksum/SHA1/reset/44 1635s ok 603 /checksum/SHA1/reset/45 1635s ok 604 /checksum/SHA1/reset/46 1635s ok 605 /checksum/SHA1/reset/47 1635s ok 606 /checksum/SHA1/reset/48 1635s ok 607 /checksum/SHA1/reset/49 1635s ok 608 /checksum/SHA1/reset/50 1635s ok 609 /checksum/SHA1/reset/51 1635s ok 610 /checksum/SHA1/reset/52 1635s ok 611 /checksum/SHA1/reset/53 1635s ok 612 /checksum/SHA1/reset/54 1635s ok 613 /checksum/SHA1/reset/55 1635s ok 614 /checksum/SHA1/reset/56 1635s ok 615 /checksum/SHA1/reset/57 1635s ok 616 /checksum/SHA1/reset/58 1635s ok 617 /checksum/SHA1/reset/59 1635s ok 618 /checksum/SHA1/reset/60 1635s ok 619 /checksum/SHA1/reset/61 1635s ok 620 /checksum/SHA1/reset/62 1635s ok 621 /checksum/SHA1/reset/63 1635s ok 622 /checksum/SHA1/reset/64 1635s ok 623 /checksum/SHA1/reset/65 1635s ok 624 /checksum/SHA1/reset/66 1635s ok 625 /checksum/SHA1/reset/67 1635s ok 626 /checksum/SHA1/reset/68 1635s ok 627 /checksum/SHA1/reset/69 1635s ok 628 /checksum/SHA1/reset/70 1635s ok 629 /checksum/SHA1/reset/71 1635s ok 630 /checksum/SHA1/reset/72 1635s ok 631 /checksum/SHA1/reset/73 1635s ok 632 /checksum/SHA1/reset/74 1635s ok 633 /checksum/SHA1/reset/75 1635s ok 634 /checksum/SHA1/reset/76 1635s ok 635 /checksum/SHA1/reset/77 1635s ok 636 /checksum/SHA1/reset/78 1635s ok 637 /checksum/SHA1/reset/79 1635s ok 638 /checksum/SHA1/reset/80 1635s ok 639 /checksum/SHA1/reset/81 1635s ok 640 /checksum/SHA1/reset/82 1635s ok 641 /checksum/SHA1/reset/83 1635s ok 642 /checksum/SHA1/reset/84 1635s ok 643 /checksum/SHA1/reset/85 1635s ok 644 /checksum/SHA1/reset/86 1635s ok 645 /checksum/SHA1/reset/87 1635s ok 646 /checksum/SHA1/reset/88 1635s ok 647 /checksum/SHA1/reset/89 1635s ok 648 /checksum/SHA1/reset/90 1635s ok 649 /checksum/SHA1/reset/91 1635s ok 650 /checksum/SHA1/reset/92 1635s ok 651 /checksum/SHA1/reset/93 1635s ok 652 /checksum/SHA1/reset/94 1635s ok 653 /checksum/SHA1/reset/95 1635s ok 654 /checksum/SHA1/reset/96 1635s ok 655 /checksum/SHA1/reset/97 1635s ok 656 /checksum/SHA1/reset/98 1635s ok 657 /checksum/SHA1/reset/99 1635s ok 658 /checksum/SHA1/reset/100 1635s ok 659 /checksum/SHA1/reset/101 1635s ok 660 /checksum/SHA1/reset/102 1635s ok 661 /checksum/SHA1/reset/103 1635s ok 662 /checksum/SHA1/reset/104 1635s ok 663 /checksum/SHA1/reset/105 1635s ok 664 /checksum/SHA1/reset/106 1635s ok 665 /checksum/SHA1/reset/107 1635s ok 666 /checksum/SHA1/reset/108 1635s ok 667 /checksum/SHA1/reset/109 1635s ok 668 /checksum/SHA1/reset/110 1635s ok 669 /checksum/SHA1/reset/111 1635s ok 670 /checksum/SHA1/reset/112 1635s ok 671 /checksum/SHA1/reset/113 1635s ok 672 /checksum/SHA1/reset/114 1635s ok 673 /checksum/SHA1/reset/115 1635s ok 674 /checksum/SHA1/reset/116 1635s ok 675 /checksum/SHA1/reset/117 1635s ok 676 /checksum/SHA1/reset/118 1635s ok 677 /checksum/SHA1/reset/119 1635s ok 678 /checksum/SHA1/reset/120 1635s ok 679 /checksum/SHA1/reset/121 1635s ok 680 /checksum/SHA1/reset/122 1635s ok 681 /checksum/SHA1/reset/123 1635s ok 682 /checksum/SHA1/reset/124 1635s ok 683 /checksum/SHA1/reset/125 1635s ok 684 /checksum/SHA1/reset/126 1635s ok 685 /checksum/SHA1/reset/127 1635s ok 686 /checksum/SHA1/reset/128 1635s ok 687 /checksum/SHA1/reset/129 1635s ok 688 /checksum/SHA1/reset/130 1635s ok 689 /checksum/SHA1/reset/131 1635s ok 690 /checksum/SHA1/reset/132 1635s ok 691 /checksum/SHA1/reset/133 1635s ok 692 /checksum/SHA1/reset/134 1635s ok 693 /checksum/SHA1/reset/135 1635s ok 694 /checksum/SHA1/reset/136 1635s ok 695 /checksum/SHA1/reset/137 1635s ok 696 /checksum/SHA1/reset/138 1635s ok 697 /checksum/SHA1/reset/139 1635s ok 698 /checksum/SHA1/reset/140 1635s ok 699 /checksum/SHA1/reset/141 1635s ok 700 /checksum/SHA1/reset/142 1635s ok 701 /checksum/SHA1/reset/143 1635s ok 702 /checksum/SHA1/reset/144 1635s ok 703 /checksum/SHA1/reset/145 1635s ok 704 /checksum/SHA1/reset/146 1635s ok 705 /checksum/SHA1/reset/147 1635s ok 706 /checksum/SHA1/reset/148 1635s ok 707 /checksum/SHA1/reset/149 1635s ok 708 /checksum/SHA1/reset/150 1635s ok 709 /checksum/SHA1/reset/151 1635s ok 710 /checksum/SHA1/reset/152 1635s ok 711 /checksum/SHA1/reset/153 1635s ok 712 /checksum/SHA1/reset/154 1635s ok 713 /checksum/SHA1/reset/155 1635s ok 714 /checksum/SHA1/reset/156 1635s ok 715 /checksum/SHA1/reset/157 1635s ok 716 /checksum/SHA1/reset/158 1635s ok 717 /checksum/SHA1/reset/159 1635s ok 718 /checksum/SHA1/reset/160 1635s ok 719 /checksum/SHA1/reset/161 1635s ok 720 /checksum/SHA1/reset/162 1635s ok 721 /checksum/SHA1/reset/163 1635s ok 722 /checksum/SHA1/reset/164 1635s ok 723 /checksum/SHA1/reset/165 1635s ok 724 /checksum/SHA1/reset/166 1635s ok 725 /checksum/SHA1/reset/167 1635s ok 726 /checksum/SHA1/reset/168 1635s ok 727 /checksum/SHA1/reset/169 1635s ok 728 /checksum/SHA1/reset/170 1635s ok 729 /checksum/SHA1/reset/171 1635s ok 730 /checksum/SHA1/reset/172 1635s ok 731 /checksum/SHA1/reset/173 1635s ok 732 /checksum/SHA1/reset/174 1635s ok 733 /checksum/SHA1/reset/175 1635s ok 734 /checksum/SHA1/reset/176 1635s ok 735 /checksum/SHA1/reset/177 1635s ok 736 /checksum/SHA1/reset/178 1635s ok 737 /checksum/SHA1/reset/179 1635s ok 738 /checksum/SHA1/reset/180 1635s ok 739 /checksum/SHA1/reset/181 1635s ok 740 /checksum/SHA1/reset/182 1635s ok 741 /checksum/SHA1/reset/183 1635s # End of reset tests 1635s # End of SHA1 tests 1635s # Start of SHA256 tests 1635s ok 742 /checksum/SHA256/0 1635s ok 743 /checksum/SHA256/1 1635s ok 744 /checksum/SHA256/2 1635s ok 745 /checksum/SHA256/3 1635s ok 746 /checksum/SHA256/4 1635s ok 747 /checksum/SHA256/5 1635s ok 748 /checksum/SHA256/6 1635s ok 749 /checksum/SHA256/7 1635s ok 750 /checksum/SHA256/8 1635s ok 751 /checksum/SHA256/9 1635s ok 752 /checksum/SHA256/10 1635s ok 753 /checksum/SHA256/11 1635s ok 754 /checksum/SHA256/12 1635s ok 755 /checksum/SHA256/13 1635s ok 756 /checksum/SHA256/14 1635s ok 757 /checksum/SHA256/15 1635s ok 758 /checksum/SHA256/16 1635s ok 759 /checksum/SHA256/17 1635s ok 760 /checksum/SHA256/18 1635s ok 761 /checksum/SHA256/19 1635s ok 762 /checksum/SHA256/20 1635s ok 763 /checksum/SHA256/21 1635s ok 764 /checksum/SHA256/22 1635s ok 765 /checksum/SHA256/23 1635s ok 766 /checksum/SHA256/24 1635s ok 767 /checksum/SHA256/25 1635s ok 768 /checksum/SHA256/26 1635s ok 769 /checksum/SHA256/27 1635s ok 770 /checksum/SHA256/28 1635s ok 771 /checksum/SHA256/29 1635s ok 772 /checksum/SHA256/30 1635s ok 773 /checksum/SHA256/31 1635s ok 774 /checksum/SHA256/32 1635s ok 775 /checksum/SHA256/33 1635s ok 776 /checksum/SHA256/34 1635s ok 777 /checksum/SHA256/35 1635s ok 778 /checksum/SHA256/36 1635s ok 779 /checksum/SHA256/37 1635s ok 780 /checksum/SHA256/38 1635s ok 781 /checksum/SHA256/39 1635s ok 782 /checksum/SHA256/40 1635s ok 783 /checksum/SHA256/41 1635s ok 784 /checksum/SHA256/42 1635s ok 785 /checksum/SHA256/43 1635s ok 786 /checksum/SHA256/44 1635s ok 787 /checksum/SHA256/45 1635s ok 788 /checksum/SHA256/46 1635s ok 789 /checksum/SHA256/47 1635s ok 790 /checksum/SHA256/48 1635s ok 791 /checksum/SHA256/49 1635s ok 792 /checksum/SHA256/50 1635s ok 793 /checksum/SHA256/51 1635s ok 794 /checksum/SHA256/52 1635s ok 795 /checksum/SHA256/53 1635s ok 796 /checksum/SHA256/54 1635s ok 797 /checksum/SHA256/55 1635s ok 798 /checksum/SHA256/56 1635s ok 799 /checksum/SHA256/57 1635s ok 800 /checksum/SHA256/58 1635s ok 801 /checksum/SHA256/59 1635s ok 802 /checksum/SHA256/60 1635s ok 803 /checksum/SHA256/61 1635s ok 804 /checksum/SHA256/62 1635s ok 805 /checksum/SHA256/63 1635s ok 806 /checksum/SHA256/64 1635s ok 807 /checksum/SHA256/65 1635s ok 808 /checksum/SHA256/66 1635s ok 809 /checksum/SHA256/67 1635s ok 810 /checksum/SHA256/68 1635s ok 811 /checksum/SHA256/69 1635s ok 812 /checksum/SHA256/70 1635s ok 813 /checksum/SHA256/71 1635s ok 814 /checksum/SHA256/72 1635s ok 815 /checksum/SHA256/73 1635s ok 816 /checksum/SHA256/74 1635s ok 817 /checksum/SHA256/75 1635s ok 818 /checksum/SHA256/76 1635s ok 819 /checksum/SHA256/77 1635s ok 820 /checksum/SHA256/78 1635s ok 821 /checksum/SHA256/79 1635s ok 822 /checksum/SHA256/80 1635s ok 823 /checksum/SHA256/81 1635s ok 824 /checksum/SHA256/82 1635s ok 825 /checksum/SHA256/83 1635s ok 826 /checksum/SHA256/84 1635s ok 827 /checksum/SHA256/85 1635s ok 828 /checksum/SHA256/86 1635s ok 829 /checksum/SHA256/87 1635s ok 830 /checksum/SHA256/88 1635s ok 831 /checksum/SHA256/89 1635s ok 832 /checksum/SHA256/90 1635s ok 833 /checksum/SHA256/91 1635s ok 834 /checksum/SHA256/92 1635s ok 835 /checksum/SHA256/93 1635s ok 836 /checksum/SHA256/94 1635s ok 837 /checksum/SHA256/95 1635s ok 838 /checksum/SHA256/96 1635s ok 839 /checksum/SHA256/97 1635s ok 840 /checksum/SHA256/98 1635s ok 841 /checksum/SHA256/99 1635s ok 842 /checksum/SHA256/100 1635s ok 843 /checksum/SHA256/101 1635s ok 844 /checksum/SHA256/102 1635s ok 845 /checksum/SHA256/103 1635s ok 846 /checksum/SHA256/104 1635s ok 847 /checksum/SHA256/105 1635s ok 848 /checksum/SHA256/106 1635s ok 849 /checksum/SHA256/107 1635s ok 850 /checksum/SHA256/108 1635s ok 851 /checksum/SHA256/109 1635s ok 852 /checksum/SHA256/110 1635s ok 853 /checksum/SHA256/111 1635s ok 854 /checksum/SHA256/112 1635s ok 855 /checksum/SHA256/113 1635s ok 856 /checksum/SHA256/114 1635s ok 857 /checksum/SHA256/115 1635s ok 858 /checksum/SHA256/116 1635s ok 859 /checksum/SHA256/117 1635s ok 860 /checksum/SHA256/118 1635s ok 861 /checksum/SHA256/119 1635s ok 862 /checksum/SHA256/120 1635s ok 863 /checksum/SHA256/121 1635s ok 864 /checksum/SHA256/122 1635s ok 865 /checksum/SHA256/123 1635s ok 866 /checksum/SHA256/124 1635s ok 867 /checksum/SHA256/125 1635s ok 868 /checksum/SHA256/126 1635s ok 869 /checksum/SHA256/127 1635s ok 870 /checksum/SHA256/128 1635s ok 871 /checksum/SHA256/129 1635s ok 872 /checksum/SHA256/130 1635s ok 873 /checksum/SHA256/131 1635s ok 874 /checksum/SHA256/132 1635s ok 875 /checksum/SHA256/133 1635s ok 876 /checksum/SHA256/134 1635s ok 877 /checksum/SHA256/135 1635s ok 878 /checksum/SHA256/136 1635s ok 879 /checksum/SHA256/137 1635s ok 880 /checksum/SHA256/138 1635s ok 881 /checksum/SHA256/139 1635s ok 882 /checksum/SHA256/140 1635s ok 883 /checksum/SHA256/141 1635s ok 884 /checksum/SHA256/142 1635s ok 885 /checksum/SHA256/143 1635s ok 886 /checksum/SHA256/144 1635s ok 887 /checksum/SHA256/145 1635s ok 888 /checksum/SHA256/146 1635s ok 889 /checksum/SHA256/147 1635s ok 890 /checksum/SHA256/148 1635s ok 891 /checksum/SHA256/149 1635s ok 892 /checksum/SHA256/150 1635s ok 893 /checksum/SHA256/151 1635s ok 894 /checksum/SHA256/152 1635s ok 895 /checksum/SHA256/153 1635s ok 896 /checksum/SHA256/154 1635s ok 897 /checksum/SHA256/155 1635s ok 898 /checksum/SHA256/156 1635s ok 899 /checksum/SHA256/157 1635s ok 900 /checksum/SHA256/158 1635s ok 901 /checksum/SHA256/159 1635s ok 902 /checksum/SHA256/160 1635s ok 903 /checksum/SHA256/161 1635s ok 904 /checksum/SHA256/162 1635s ok 905 /checksum/SHA256/163 1635s ok 906 /checksum/SHA256/164 1635s ok 907 /checksum/SHA256/165 1635s ok 908 /checksum/SHA256/166 1635s ok 909 /checksum/SHA256/167 1635s ok 910 /checksum/SHA256/168 1635s ok 911 /checksum/SHA256/169 1635s ok 912 /checksum/SHA256/170 1635s ok 913 /checksum/SHA256/171 1635s ok 914 /checksum/SHA256/172 1635s ok 915 /checksum/SHA256/173 1635s ok 916 /checksum/SHA256/174 1635s ok 917 /checksum/SHA256/175 1635s ok 918 /checksum/SHA256/176 1635s ok 919 /checksum/SHA256/177 1635s ok 920 /checksum/SHA256/178 1635s ok 921 /checksum/SHA256/179 1635s ok 922 /checksum/SHA256/180 1635s ok 923 /checksum/SHA256/181 1635s ok 924 /checksum/SHA256/182 1635s ok 925 /checksum/SHA256/183 1635s ok 926 /checksum/SHA256/string 1635s ok 927 /checksum/SHA256/bytes 1635s # Start of reset tests 1635s ok 928 /checksum/SHA256/reset/0 1635s ok 929 /checksum/SHA256/reset/1 1635s ok 930 /checksum/SHA256/reset/2 1635s ok 931 /checksum/SHA256/reset/3 1635s ok 932 /checksum/SHA256/reset/4 1635s ok 933 /checksum/SHA256/reset/5 1635s ok 934 /checksum/SHA256/reset/6 1635s ok 935 /checksum/SHA256/reset/7 1635s ok 936 /checksum/SHA256/reset/8 1635s ok 937 /checksum/SHA256/reset/9 1635s ok 938 /checksum/SHA256/reset/10 1635s ok 939 /checksum/SHA256/reset/11 1635s ok 940 /checksum/SHA256/reset/12 1635s ok 941 /checksum/SHA256/reset/13 1635s ok 942 /checksum/SHA256/reset/14 1635s ok 943 /checksum/SHA256/reset/15 1635s ok 944 /checksum/SHA256/reset/16 1635s ok 945 /checksum/SHA256/reset/17 1635s ok 946 /checksum/SHA256/reset/18 1635s ok 947 /checksum/SHA256/reset/19 1635s ok 948 /checksum/SHA256/reset/20 1635s ok 949 /checksum/SHA256/reset/21 1635s ok 950 /checksum/SHA256/reset/22 1635s ok 951 /checksum/SHA256/reset/23 1635s ok 952 /checksum/SHA256/reset/24 1635s ok 953 /checksum/SHA256/reset/25 1635s ok 954 /checksum/SHA256/reset/26 1635s ok 955 /checksum/SHA256/reset/27 1635s ok 956 /checksum/SHA256/reset/28 1635s ok 957 /checksum/SHA256/reset/29 1635s ok 958 /checksum/SHA256/reset/30 1635s ok 959 /checksum/SHA256/reset/31 1635s ok 960 /checksum/SHA256/reset/32 1635s ok 961 /checksum/SHA256/reset/33 1635s ok 962 /checksum/SHA256/reset/34 1635s ok 963 /checksum/SHA256/reset/35 1635s ok 964 /checksum/SHA256/reset/36 1635s ok 965 /checksum/SHA256/reset/37 1635s ok 966 /checksum/SHA256/reset/38 1635s ok 967 /checksum/SHA256/reset/39 1635s ok 968 /checksum/SHA256/reset/40 1635s ok 969 /checksum/SHA256/reset/41 1635s ok 970 /checksum/SHA256/reset/42 1635s ok 971 /checksum/SHA256/reset/43 1635s ok 972 /checksum/SHA256/reset/44 1635s ok 973 /checksum/SHA256/reset/45 1635s ok 974 /checksum/SHA256/reset/46 1635s ok 975 /checksum/SHA256/reset/47 1635s ok 976 /checksum/SHA256/reset/48 1635s ok 977 /checksum/SHA256/reset/49 1635s ok 978 /checksum/SHA256/reset/50 1635s ok 979 /checksum/SHA256/reset/51 1635s ok 980 /checksum/SHA256/reset/52 1635s ok 981 /checksum/SHA256/reset/53 1635s ok 982 /checksum/SHA256/reset/54 1635s ok 983 /checksum/SHA256/reset/55 1635s ok 984 /checksum/SHA256/reset/56 1635s ok 985 /checksum/SHA256/reset/57 1635s ok 986 /checksum/SHA256/reset/58 1635s ok 987 /checksum/SHA256/reset/59 1635s ok 988 /checksum/SHA256/reset/60 1635s ok 989 /checksum/SHA256/reset/61 1635s ok 990 /checksum/SHA256/reset/62 1635s ok 991 /checksum/SHA256/reset/63 1635s ok 992 /checksum/SHA256/reset/64 1635s ok 993 /checksum/SHA256/reset/65 1635s ok 994 /checksum/SHA256/reset/66 1635s ok 995 /checksum/SHA256/reset/67 1635s ok 996 /checksum/SHA256/reset/68 1635s ok 997 /checksum/SHA256/reset/69 1635s ok 998 /checksum/SHA256/reset/70 1635s ok 999 /checksum/SHA256/reset/71 1635s ok 1000 /checksum/SHA256/reset/72 1635s ok 1001 /checksum/SHA256/reset/73 1635s ok 1002 /checksum/SHA256/reset/74 1635s ok 1003 /checksum/SHA256/reset/75 1635s ok 1004 /checksum/SHA256/reset/76 1635s ok 1005 /checksum/SHA256/reset/77 1635s ok 1006 /checksum/SHA256/reset/78 1635s ok 1007 /checksum/SHA256/reset/79 1635s ok 1008 /checksum/SHA256/reset/80 1635s ok 1009 /checksum/SHA256/reset/81 1635s ok 1010 /checksum/SHA256/reset/82 1635s ok 1011 /checksum/SHA256/reset/83 1635s ok 1012 /checksum/SHA256/reset/84 1635s ok 1013 /checksum/SHA256/reset/85 1635s ok 1014 /checksum/SHA256/reset/86 1635s ok 1015 /checksum/SHA256/reset/87 1635s ok 1016 /checksum/SHA256/reset/88 1635s ok 1017 /checksum/SHA256/reset/89 1635s ok 1018 /checksum/SHA256/reset/90 1635s ok 1019 /checksum/SHA256/reset/91 1635s ok 1020 /checksum/SHA256/reset/92 1635s ok 1021 /checksum/SHA256/reset/93 1635s ok 1022 /checksum/SHA256/reset/94 1635s ok 1023 /checksum/SHA256/reset/95 1635s ok 1024 /checksum/SHA256/reset/96 1635s ok 1025 /checksum/SHA256/reset/97 1635s ok 1026 /checksum/SHA256/reset/98 1635s ok 1027 /checksum/SHA256/reset/99 1635s ok 1028 /checksum/SHA256/reset/100 1635s ok 1029 /checksum/SHA256/reset/101 1635s ok 1030 /checksum/SHA256/reset/102 1635s ok 1031 /checksum/SHA256/reset/103 1635s ok 1032 /checksum/SHA256/reset/104 1635s ok 1033 /checksum/SHA256/reset/105 1635s ok 1034 /checksum/SHA256/reset/106 1635s ok 1035 /checksum/SHA256/reset/107 1635s ok 1036 /checksum/SHA256/reset/108 1635s ok 1037 /checksum/SHA256/reset/109 1635s ok 1038 /checksum/SHA256/reset/110 1635s ok 1039 /checksum/SHA256/reset/111 1635s ok 1040 /checksum/SHA256/reset/112 1635s ok 1041 /checksum/SHA256/reset/113 1635s ok 1042 /checksum/SHA256/reset/114 1635s ok 1043 /checksum/SHA256/reset/115 1635s ok 1044 /checksum/SHA256/reset/116 1635s ok 1045 /checksum/SHA256/reset/117 1635s ok 1046 /checksum/SHA256/reset/118 1635s ok 1047 /checksum/SHA256/reset/119 1635s ok 1048 /checksum/SHA256/reset/120 1635s ok 1049 /checksum/SHA256/reset/121 1635s ok 1050 /checksum/SHA256/reset/122 1635s ok 1051 /checksum/SHA256/reset/123 1635s ok 1052 /checksum/SHA256/reset/124 1635s ok 1053 /checksum/SHA256/reset/125 1635s ok 1054 /checksum/SHA256/reset/126 1635s ok 1055 /checksum/SHA256/reset/127 1635s ok 1056 /checksum/SHA256/reset/128 1635s ok 1057 /checksum/SHA256/reset/129 1635s ok 1058 /checksum/SHA256/reset/130 1635s ok 1059 /checksum/SHA256/reset/131 1635s ok 1060 /checksum/SHA256/reset/132 1635s ok 1061 /checksum/SHA256/reset/133 1635s ok 1062 /checksum/SHA256/reset/134 1635s ok 1063 /checksum/SHA256/reset/135 1635s ok 1064 /checksum/SHA256/reset/136 1635s ok 1065 /checksum/SHA256/reset/137 1635s ok 1066 /checksum/SHA256/reset/138 1635s ok 1067 /checksum/SHA256/reset/139 1635s ok 1068 /checksum/SHA256/reset/140 1635s ok 1069 /checksum/SHA256/reset/141 1635s ok 1070 /checksum/SHA256/reset/142 1635s ok 1071 /checksum/SHA256/reset/143 1635s ok 1072 /checksum/SHA256/reset/144 1635s ok 1073 /checksum/SHA256/reset/145 1635s ok 1074 /checksum/SHA256/reset/146 1635s ok 1075 /checksum/SHA256/reset/147 1635s ok 1076 /checksum/SHA256/reset/148 1635s ok 1077 /checksum/SHA256/reset/149 1635s ok 1078 /checksum/SHA256/reset/150 1635s ok 1079 /checksum/SHA256/reset/151 1635s ok 1080 /checksum/SHA256/reset/152 1635s ok 1081 /checksum/SHA256/reset/153 1635s ok 1082 /checksum/SHA256/reset/154 1635s ok 1083 /checksum/SHA256/reset/155 1635s ok 1084 /checksum/SHA256/reset/156 1635s ok 1085 /checksum/SHA256/reset/157 1635s ok 1086 /checksum/SHA256/reset/158 1635s ok 1087 /checksum/SHA256/reset/159 1635s ok 1088 /checksum/SHA256/reset/160 1635s ok 1089 /checksum/SHA256/reset/161 1635s ok 1090 /checksum/SHA256/reset/162 1635s ok 1091 /checksum/SHA256/reset/163 1635s ok 1092 /checksum/SHA256/reset/164 1635s ok 1093 /checksum/SHA256/reset/165 1635s ok 1094 /checksum/SHA256/reset/166 1635s ok 1095 /checksum/SHA256/reset/167 1635s ok 1096 /checksum/SHA256/reset/168 1635s ok 1097 /checksum/SHA256/reset/169 1635s ok 1098 /checksum/SHA256/reset/170 1635s ok 1099 /checksum/SHA256/reset/171 1635s ok 1100 /checksum/SHA256/reset/172 1635s ok 1101 /checksum/SHA256/reset/173 1635s ok 1102 /checksum/SHA256/reset/174 1635s ok 1103 /checksum/SHA256/reset/175 1635s ok 1104 /checksum/SHA256/reset/176 1635s ok 1105 /checksum/SHA256/reset/177 1635s ok 1106 /checksum/SHA256/reset/178 1635s ok 1107 /checksum/SHA256/reset/179 1635s ok 1108 /checksum/SHA256/reset/180 1635s ok 1109 /checksum/SHA256/reset/181 1635s ok 1110 /checksum/SHA256/reset/182 1635s ok 1111 /checksum/SHA256/reset/183 1635s # End of reset tests 1635s # End of SHA256 tests 1635s # Start of SHA384 tests 1635s ok 1112 /checksum/SHA384/0 1635s ok 1113 /checksum/SHA384/1 1635s ok 1114 /checksum/SHA384/2 1635s ok 1115 /checksum/SHA384/3 1635s ok 1116 /checksum/SHA384/4 1635s ok 1117 /checksum/SHA384/5 1635s ok 1118 /checksum/SHA384/6 1635s ok 1119 /checksum/SHA384/7 1635s ok 1120 /checksum/SHA384/8 1635s ok 1121 /checksum/SHA384/9 1635s ok 1122 /checksum/SHA384/10 1635s ok 1123 /checksum/SHA384/11 1635s ok 1124 /checksum/SHA384/12 1635s ok 1125 /checksum/SHA384/13 1635s ok 1126 /checksum/SHA384/14 1635s ok 1127 /checksum/SHA384/15 1635s ok 1128 /checksum/SHA384/16 1635s ok 1129 /checksum/SHA384/17 1635s ok 1130 /checksum/SHA384/18 1635s ok 1131 /checksum/SHA384/19 1635s ok 1132 /checksum/SHA384/20 1635s ok 1133 /checksum/SHA384/21 1635s ok 1134 /checksum/SHA384/22 1635s ok 1135 /checksum/SHA384/23 1635s ok 1136 /checksum/SHA384/24 1635s ok 1137 /checksum/SHA384/25 1635s ok 1138 /checksum/SHA384/26 1635s ok 1139 /checksum/SHA384/27 1635s ok 1140 /checksum/SHA384/28 1635s ok 1141 /checksum/SHA384/29 1635s ok 1142 /checksum/SHA384/30 1635s ok 1143 /checksum/SHA384/31 1635s ok 1144 /checksum/SHA384/32 1635s ok 1145 /checksum/SHA384/33 1635s ok 1146 /checksum/SHA384/34 1635s ok 1147 /checksum/SHA384/35 1635s ok 1148 /checksum/SHA384/36 1635s ok 1149 /checksum/SHA384/37 1635s ok 1150 /checksum/SHA384/38 1635s ok 1151 /checksum/SHA384/39 1635s ok 1152 /checksum/SHA384/40 1635s ok 1153 /checksum/SHA384/41 1635s ok 1154 /checksum/SHA384/42 1635s ok 1155 /checksum/SHA384/43 1635s ok 1156 /checksum/SHA384/44 1635s ok 1157 /checksum/SHA384/45 1635s ok 1158 /checksum/SHA384/46 1635s ok 1159 /checksum/SHA384/47 1635s ok 1160 /checksum/SHA384/48 1635s ok 1161 /checksum/SHA384/49 1635s ok 1162 /checksum/SHA384/50 1635s ok 1163 /checksum/SHA384/51 1635s ok 1164 /checksum/SHA384/52 1635s ok 1165 /checksum/SHA384/53 1635s ok 1166 /checksum/SHA384/54 1635s ok 1167 /checksum/SHA384/55 1635s ok 1168 /checksum/SHA384/56 1635s ok 1169 /checksum/SHA384/57 1635s ok 1170 /checksum/SHA384/58 1635s ok 1171 /checksum/SHA384/59 1635s ok 1172 /checksum/SHA384/60 1635s ok 1173 /checksum/SHA384/61 1635s ok 1174 /checksum/SHA384/62 1635s ok 1175 /checksum/SHA384/63 1635s ok 1176 /checksum/SHA384/64 1635s ok 1177 /checksum/SHA384/65 1635s ok 1178 /checksum/SHA384/66 1635s ok 1179 /checksum/SHA384/67 1635s ok 1180 /checksum/SHA384/68 1635s ok 1181 /checksum/SHA384/69 1635s ok 1182 /checksum/SHA384/70 1635s ok 1183 /checksum/SHA384/71 1635s ok 1184 /checksum/SHA384/72 1635s ok 1185 /checksum/SHA384/73 1635s ok 1186 /checksum/SHA384/74 1635s ok 1187 /checksum/SHA384/75 1635s ok 1188 /checksum/SHA384/76 1635s ok 1189 /checksum/SHA384/77 1635s ok 1190 /checksum/SHA384/78 1635s ok 1191 /checksum/SHA384/79 1635s ok 1192 /checksum/SHA384/80 1635s ok 1193 /checksum/SHA384/81 1635s ok 1194 /checksum/SHA384/82 1635s ok 1195 /checksum/SHA384/83 1635s ok 1196 /checksum/SHA384/84 1635s ok 1197 /checksum/SHA384/85 1635s ok 1198 /checksum/SHA384/86 1635s ok 1199 /checksum/SHA384/87 1635s ok 1200 /checksum/SHA384/88 1635s ok 1201 /checksum/SHA384/89 1635s ok 1202 /checksum/SHA384/90 1635s ok 1203 /checksum/SHA384/91 1635s ok 1204 /checksum/SHA384/92 1635s ok 1205 /checksum/SHA384/93 1635s ok 1206 /checksum/SHA384/94 1635s ok 1207 /checksum/SHA384/95 1635s ok 1208 /checksum/SHA384/96 1635s ok 1209 /checksum/SHA384/97 1635s ok 1210 /checksum/SHA384/98 1635s ok 1211 /checksum/SHA384/99 1635s ok 1212 /checksum/SHA384/100 1635s ok 1213 /checksum/SHA384/101 1635s ok 1214 /checksum/SHA384/102 1635s ok 1215 /checksum/SHA384/103 1635s ok 1216 /checksum/SHA384/104 1635s ok 1217 /checksum/SHA384/105 1635s ok 1218 /checksum/SHA384/106 1635s ok 1219 /checksum/SHA384/107 1635s ok 1220 /checksum/SHA384/108 1635s ok 1221 /checksum/SHA384/109 1635s ok 1222 /checksum/SHA384/110 1635s ok 1223 /checksum/SHA384/111 1635s ok 1224 /checksum/SHA384/112 1635s ok 1225 /checksum/SHA384/113 1635s ok 1226 /checksum/SHA384/114 1635s ok 1227 /checksum/SHA384/115 1635s ok 1228 /checksum/SHA384/116 1635s ok 1229 /checksum/SHA384/117 1635s ok 1230 /checksum/SHA384/118 1635s ok 1231 /checksum/SHA384/119 1635s ok 1232 /checksum/SHA384/120 1635s ok 1233 /checksum/SHA384/121 1635s ok 1234 /checksum/SHA384/122 1635s ok 1235 /checksum/SHA384/123 1635s ok 1236 /checksum/SHA384/124 1635s ok 1237 /checksum/SHA384/125 1635s ok 1238 /checksum/SHA384/126 1635s ok 1239 /checksum/SHA384/127 1635s ok 1240 /checksum/SHA384/128 1635s ok 1241 /checksum/SHA384/129 1635s ok 1242 /checksum/SHA384/130 1635s ok 1243 /checksum/SHA384/131 1635s ok 1244 /checksum/SHA384/132 1635s ok 1245 /checksum/SHA384/133 1635s ok 1246 /checksum/SHA384/134 1635s ok 1247 /checksum/SHA384/135 1635s ok 1248 /checksum/SHA384/136 1635s ok 1249 /checksum/SHA384/137 1635s ok 1250 /checksum/SHA384/138 1635s ok 1251 /checksum/SHA384/139 1635s ok 1252 /checksum/SHA384/140 1635s ok 1253 /checksum/SHA384/141 1635s ok 1254 /checksum/SHA384/142 1635s ok 1255 /checksum/SHA384/143 1635s ok 1256 /checksum/SHA384/144 1635s ok 1257 /checksum/SHA384/145 1635s ok 1258 /checksum/SHA384/146 1635s ok 1259 /checksum/SHA384/147 1635s ok 1260 /checksum/SHA384/148 1635s ok 1261 /checksum/SHA384/149 1635s ok 1262 /checksum/SHA384/150 1635s ok 1263 /checksum/SHA384/151 1635s ok 1264 /checksum/SHA384/152 1635s ok 1265 /checksum/SHA384/153 1635s ok 1266 /checksum/SHA384/154 1635s ok 1267 /checksum/SHA384/155 1635s ok 1268 /checksum/SHA384/156 1635s ok 1269 /checksum/SHA384/157 1635s ok 1270 /checksum/SHA384/158 1635s ok 1271 /checksum/SHA384/159 1635s ok 1272 /checksum/SHA384/160 1635s ok 1273 /checksum/SHA384/161 1635s ok 1274 /checksum/SHA384/162 1635s ok 1275 /checksum/SHA384/163 1635s ok 1276 /checksum/SHA384/164 1635s ok 1277 /checksum/SHA384/165 1635s ok 1278 /checksum/SHA384/166 1635s ok 1279 /checksum/SHA384/167 1635s ok 1280 /checksum/SHA384/168 1635s ok 1281 /checksum/SHA384/169 1635s ok 1282 /checksum/SHA384/170 1635s ok 1283 /checksum/SHA384/171 1635s ok 1284 /checksum/SHA384/172 1635s ok 1285 /checksum/SHA384/173 1635s ok 1286 /checksum/SHA384/174 1635s ok 1287 /checksum/SHA384/175 1635s ok 1288 /checksum/SHA384/176 1635s ok 1289 /checksum/SHA384/177 1635s ok 1290 /checksum/SHA384/178 1635s ok 1291 /checksum/SHA384/179 1635s ok 1292 /checksum/SHA384/180 1635s ok 1293 /checksum/SHA384/181 1635s ok 1294 /checksum/SHA384/182 1635s ok 1295 /checksum/SHA384/183 1635s ok 1296 /checksum/SHA384/string 1635s ok 1297 /checksum/SHA384/bytes 1635s # Start of reset tests 1635s ok 1298 /checksum/SHA384/reset/0 1635s ok 1299 /checksum/SHA384/reset/1 1635s ok 1300 /checksum/SHA384/reset/2 1635s ok 1301 /checksum/SHA384/reset/3 1635s ok 1302 /checksum/SHA384/reset/4 1635s ok 1303 /checksum/SHA384/reset/5 1635s ok 1304 /checksum/SHA384/reset/6 1635s ok 1305 /checksum/SHA384/reset/7 1635s ok 1306 /checksum/SHA384/reset/8 1635s ok 1307 /checksum/SHA384/reset/9 1635s ok 1308 /checksum/SHA384/reset/10 1635s ok 1309 /checksum/SHA384/reset/11 1635s ok 1310 /checksum/SHA384/reset/12 1635s ok 1311 /checksum/SHA384/reset/13 1635s ok 1312 /checksum/SHA384/reset/14 1635s ok 1313 /checksum/SHA384/reset/15 1635s ok 1314 /checksum/SHA384/reset/16 1635s ok 1315 /checksum/SHA384/reset/17 1635s ok 1316 /checksum/SHA384/reset/18 1635s ok 1317 /checksum/SHA384/reset/19 1635s ok 1318 /checksum/SHA384/reset/20 1635s ok 1319 /checksum/SHA384/reset/21 1635s ok 1320 /checksum/SHA384/reset/22 1635s ok 1321 /checksum/SHA384/reset/23 1635s ok 1322 /checksum/SHA384/reset/24 1635s ok 1323 /checksum/SHA384/reset/25 1635s ok 1324 /checksum/SHA384/reset/26 1635s ok 1325 /checksum/SHA384/reset/27 1635s ok 1326 /checksum/SHA384/reset/28 1635s ok 1327 /checksum/SHA384/reset/29 1635s ok 1328 /checksum/SHA384/reset/30 1635s ok 1329 /checksum/SHA384/reset/31 1635s ok 1330 /checksum/SHA384/reset/32 1635s ok 1331 /checksum/SHA384/reset/33 1635s ok 1332 /checksum/SHA384/reset/34 1635s ok 1333 /checksum/SHA384/reset/35 1635s ok 1334 /checksum/SHA384/reset/36 1635s ok 1335 /checksum/SHA384/reset/37 1635s ok 1336 /checksum/SHA384/reset/38 1635s ok 1337 /checksum/SHA384/reset/39 1635s ok 1338 /checksum/SHA384/reset/40 1635s ok 1339 /checksum/SHA384/reset/41 1635s ok 1340 /checksum/SHA384/reset/42 1635s ok 1341 /checksum/SHA384/reset/43 1635s ok 1342 /checksum/SHA384/reset/44 1635s ok 1343 /checksum/SHA384/reset/45 1635s ok 1344 /checksum/SHA384/reset/46 1635s ok 1345 /checksum/SHA384/reset/47 1635s ok 1346 /checksum/SHA384/reset/48 1635s ok 1347 /checksum/SHA384/reset/49 1635s ok 1348 /checksum/SHA384/reset/50 1635s ok 1349 /checksum/SHA384/reset/51 1635s ok 1350 /checksum/SHA384/reset/52 1635s ok 1351 /checksum/SHA384/reset/53 1635s ok 1352 /checksum/SHA384/reset/54 1635s ok 1353 /checksum/SHA384/reset/55 1635s ok 1354 /checksum/SHA384/reset/56 1635s ok 1355 /checksum/SHA384/reset/57 1635s ok 1356 /checksum/SHA384/reset/58 1635s ok 1357 /checksum/SHA384/reset/59 1635s ok 1358 /checksum/SHA384/reset/60 1635s ok 1359 /checksum/SHA384/reset/61 1635s ok 1360 /checksum/SHA384/reset/62 1635s ok 1361 /checksum/SHA384/reset/63 1635s ok 1362 /checksum/SHA384/reset/64 1635s ok 1363 /checksum/SHA384/reset/65 1635s ok 1364 /checksum/SHA384/reset/66 1635s ok 1365 /checksum/SHA384/reset/67 1635s ok 1366 /checksum/SHA384/reset/68 1635s ok 1367 /checksum/SHA384/reset/69 1635s ok 1368 /checksum/SHA384/reset/70 1635s ok 1369 /checksum/SHA384/reset/71 1635s ok 1370 /checksum/SHA384/reset/72 1635s ok 1371 /checksum/SHA384/reset/73 1635s ok 1372 /checksum/SHA384/reset/74 1635s ok 1373 /checksum/SHA384/reset/75 1635s ok 1374 /checksum/SHA384/reset/76 1635s ok 1375 /checksum/SHA384/reset/77 1635s ok 1376 /checksum/SHA384/reset/78 1635s ok 1377 /checksum/SHA384/reset/79 1635s ok 1378 /checksum/SHA384/reset/80 1635s ok 1379 /checksum/SHA384/reset/81 1635s ok 1380 /checksum/SHA384/reset/82 1635s ok 1381 /checksum/SHA384/reset/83 1635s ok 1382 /checksum/SHA384/reset/84 1635s ok 1383 /checksum/SHA384/reset/85 1635s ok 1384 /checksum/SHA384/reset/86 1635s ok 1385 /checksum/SHA384/reset/87 1635s ok 1386 /checksum/SHA384/reset/88 1635s ok 1387 /checksum/SHA384/reset/89 1635s ok 1388 /checksum/SHA384/reset/90 1635s ok 1389 /checksum/SHA384/reset/91 1635s ok 1390 /checksum/SHA384/reset/92 1635s ok 1391 /checksum/SHA384/reset/93 1635s ok 1392 /checksum/SHA384/reset/94 1635s ok 1393 /checksum/SHA384/reset/95 1635s ok 1394 /checksum/SHA384/reset/96 1635s ok 1395 /checksum/SHA384/reset/97 1635s ok 1396 /checksum/SHA384/reset/98 1635s ok 1397 /checksum/SHA384/reset/99 1635s ok 1398 /checksum/SHA384/reset/100 1635s ok 1399 /checksum/SHA384/reset/101 1635s ok 1400 /checksum/SHA384/reset/102 1635s ok 1401 /checksum/SHA384/reset/103 1635s ok 1402 /checksum/SHA384/reset/104 1635s ok 1403 /checksum/SHA384/reset/105 1635s ok 1404 /checksum/SHA384/reset/106 1635s ok 1405 /checksum/SHA384/reset/107 1635s ok 1406 /checksum/SHA384/reset/108 1635s ok 1407 /checksum/SHA384/reset/109 1635s ok 1408 /checksum/SHA384/reset/110 1635s ok 1409 /checksum/SHA384/reset/111 1635s ok 1410 /checksum/SHA384/reset/112 1635s ok 1411 /checksum/SHA384/reset/113 1635s ok 1412 /checksum/SHA384/reset/114 1635s ok 1413 /checksum/SHA384/reset/115 1635s ok 1414 /checksum/SHA384/reset/116 1635s ok 1415 /checksum/SHA384/reset/117 1635s ok 1416 /checksum/SHA384/reset/118 1635s ok 1417 /checksum/SHA384/reset/119 1635s ok 1418 /checksum/SHA384/reset/120 1635s ok 1419 /checksum/SHA384/reset/121 1635s ok 1420 /checksum/SHA384/reset/122 1635s ok 1421 /checksum/SHA384/reset/123 1635s ok 1422 /checksum/SHA384/reset/124 1635s ok 1423 /checksum/SHA384/reset/125 1635s ok 1424 /checksum/SHA384/reset/126 1635s ok 1425 /checksum/SHA384/reset/127 1635s ok 1426 /checksum/SHA384/reset/128 1635s ok 1427 /checksum/SHA384/reset/129 1635s ok 1428 /checksum/SHA384/reset/130 1635s ok 1429 /checksum/SHA384/reset/131 1635s ok 1430 /checksum/SHA384/reset/132 1635s ok 1431 /checksum/SHA384/reset/133 1635s ok 1432 /checksum/SHA384/reset/134 1635s ok 1433 /checksum/SHA384/reset/135 1635s ok 1434 /checksum/SHA384/reset/136 1635s ok 1435 /checksum/SHA384/reset/137 1635s ok 1436 /checksum/SHA384/reset/138 1635s ok 1437 /checksum/SHA384/reset/139 1635s ok 1438 /checksum/SHA384/reset/140 1635s ok 1439 /checksum/SHA384/reset/141 1635s ok 1440 /checksum/SHA384/reset/142 1635s ok 1441 /checksum/SHA384/reset/143 1635s ok 1442 /checksum/SHA384/reset/144 1635s ok 1443 /checksum/SHA384/reset/145 1635s ok 1444 /checksum/SHA384/reset/146 1635s ok 1445 /checksum/SHA384/reset/147 1635s ok 1446 /checksum/SHA384/reset/148 1635s ok 1447 /checksum/SHA384/reset/149 1635s ok 1448 /checksum/SHA384/reset/150 1635s ok 1449 /checksum/SHA384/reset/151 1635s ok 1450 /checksum/SHA384/reset/152 1635s ok 1451 /checksum/SHA384/reset/153 1635s ok 1452 /checksum/SHA384/reset/154 1635s ok 1453 /checksum/SHA384/reset/155 1635s ok 1454 /checksum/SHA384/reset/156 1635s ok 1455 /checksum/SHA384/reset/157 1635s ok 1456 /checksum/SHA384/reset/158 1635s ok 1457 /checksum/SHA384/reset/159 1635s ok 1458 /checksum/SHA384/reset/160 1635s ok 1459 /checksum/SHA384/reset/161 1635s ok 1460 /checksum/SHA384/reset/162 1635s ok 1461 /checksum/SHA384/reset/163 1635s ok 1462 /checksum/SHA384/reset/164 1635s ok 1463 /checksum/SHA384/reset/165 1635s ok 1464 /checksum/SHA384/reset/166 1635s ok 1465 /checksum/SHA384/reset/167 1635s ok 1466 /checksum/SHA384/reset/168 1635s ok 1467 /checksum/SHA384/reset/169 1635s ok 1468 /checksum/SHA384/reset/170 1635s ok 1469 /checksum/SHA384/reset/171 1635s ok 1470 /checksum/SHA384/reset/172 1635s ok 1471 /checksum/SHA384/reset/173 1635s ok 1472 /checksum/SHA384/reset/174 1635s ok 1473 /checksum/SHA384/reset/175 1635s ok 1474 /checksum/SHA384/reset/176 1635s ok 1475 /checksum/SHA384/reset/177 1635s ok 1476 /checksum/SHA384/reset/178 1635s ok 1477 /checksum/SHA384/reset/179 1635s ok 1478 /checksum/SHA384/reset/180 1635s ok 1479 /checksum/SHA384/reset/181 1635s ok 1480 /checksum/SHA384/reset/182 1635s ok 1481 /checksum/SHA384/reset/183 1635s # End of reset tests 1635s # End of SHA384 tests 1635s # Start of SHA512 tests 1635s ok 1482 /checksum/SHA512/0 1635s ok 1483 /checksum/SHA512/1 1635s ok 1484 /checksum/SHA512/2 1635s ok 1485 /checksum/SHA512/3 1635s ok 1486 /checksum/SHA512/4 1635s ok 1487 /checksum/SHA512/5 1635s ok 1488 /checksum/SHA512/6 1635s ok 1489 /checksum/SHA512/7 1635s ok 1490 /checksum/SHA512/8 1635s ok 1491 /checksum/SHA512/9 1635s ok 1492 /checksum/SHA512/10 1635s ok 1493 /checksum/SHA512/11 1635s ok 1494 /checksum/SHA512/12 1635s ok 1495 /checksum/SHA512/13 1635s ok 1496 /checksum/SHA512/14 1635s ok 1497 /checksum/SHA512/15 1635s ok 1498 /checksum/SHA512/16 1635s ok 1499 /checksum/SHA512/17 1635s ok 1500 /checksum/SHA512/18 1635s ok 1501 /checksum/SHA512/19 1635s ok 1502 /checksum/SHA512/20 1635s ok 1503 /checksum/SHA512/21 1635s ok 1504 /checksum/SHA512/22 1635s ok 1505 /checksum/SHA512/23 1635s ok 1506 /checksum/SHA512/24 1635s ok 1507 /checksum/SHA512/25 1635s ok 1508 /checksum/SHA512/26 1635s ok 1509 /checksum/SHA512/27 1635s ok 1510 /checksum/SHA512/28 1635s ok 1511 /checksum/SHA512/29 1635s ok 1512 /checksum/SHA512/30 1635s ok 1513 /checksum/SHA512/31 1635s ok 1514 /checksum/SHA512/32 1635s ok 1515 /checksum/SHA512/33 1635s ok 1516 /checksum/SHA512/34 1635s ok 1517 /checksum/SHA512/35 1635s ok 1518 /checksum/SHA512/36 1635s ok 1519 /checksum/SHA512/37 1635s ok 1520 /checksum/SHA512/38 1635s ok 1521 /checksum/SHA512/39 1635s ok 1522 /checksum/SHA512/40 1635s ok 1523 /checksum/SHA512/41 1635s ok 1524 /checksum/SHA512/42 1635s ok 1525 /checksum/SHA512/43 1635s ok 1526 /checksum/SHA512/44 1635s ok 1527 /checksum/SHA512/45 1635s ok 1528 /checksum/SHA512/46 1635s ok 1529 /checksum/SHA512/47 1635s ok 1530 /checksum/SHA512/48 1635s ok 1531 /checksum/SHA512/49 1635s ok 1532 /checksum/SHA512/50 1635s ok 1533 /checksum/SHA512/51 1635s ok 1534 /checksum/SHA512/52 1635s ok 1535 /checksum/SHA512/53 1635s ok 1536 /checksum/SHA512/54 1635s ok 1537 /checksum/SHA512/55 1635s ok 1538 /checksum/SHA512/56 1635s ok 1539 /checksum/SHA512/57 1635s ok 1540 /checksum/SHA512/58 1635s ok 1541 /checksum/SHA512/59 1635s ok 1542 /checksum/SHA512/60 1635s ok 1543 /checksum/SHA512/61 1635s ok 1544 /checksum/SHA512/62 1635s ok 1545 /checksum/SHA512/63 1635s ok 1546 /checksum/SHA512/64 1635s ok 1547 /checksum/SHA512/65 1635s ok 1548 /checksum/SHA512/66 1635s ok 1549 /checksum/SHA512/67 1635s ok 1550 /checksum/SHA512/68 1635s ok 1551 /checksum/SHA512/69 1635s ok 1552 /checksum/SHA512/70 1635s ok 1553 /checksum/SHA512/71 1635s ok 1554 /checksum/SHA512/72 1635s ok 1555 /checksum/SHA512/73 1635s ok 1556 /checksum/SHA512/74 1635s ok 1557 /checksum/SHA512/75 1635s ok 1558 /checksum/SHA512/76 1635s ok 1559 /checksum/SHA512/77 1635s ok 1560 /checksum/SHA512/78 1635s ok 1561 /checksum/SHA512/79 1635s ok 1562 /checksum/SHA512/80 1635s ok 1563 /checksum/SHA512/81 1635s ok 1564 /checksum/SHA512/82 1635s ok 1565 /checksum/SHA512/83 1635s ok 1566 /checksum/SHA512/84 1635s ok 1567 /checksum/SHA512/85 1635s ok 1568 /checksum/SHA512/86 1635s ok 1569 /checksum/SHA512/87 1635s ok 1570 /checksum/SHA512/88 1635s ok 1571 /checksum/SHA512/89 1635s ok 1572 /checksum/SHA512/90 1635s ok 1573 /checksum/SHA512/91 1635s ok 1574 /checksum/SHA512/92 1635s ok 1575 /checksum/SHA512/93 1635s ok 1576 /checksum/SHA512/94 1635s ok 1577 /checksum/SHA512/95 1635s ok 1578 /checksum/SHA512/96 1635s ok 1579 /checksum/SHA512/97 1635s ok 1580 /checksum/SHA512/98 1635s ok 1581 /checksum/SHA512/99 1635s ok 1582 /checksum/SHA512/100 1635s ok 1583 /checksum/SHA512/101 1635s ok 1584 /checksum/SHA512/102 1635s ok 1585 /checksum/SHA512/103 1635s ok 1586 /checksum/SHA512/104 1635s ok 1587 /checksum/SHA512/105 1635s ok 1588 /checksum/SHA512/106 1635s ok 1589 /checksum/SHA512/107 1635s ok 1590 /checksum/SHA512/108 1635s ok 1591 /checksum/SHA512/109 1635s ok 1592 /checksum/SHA512/110 1635s ok 1593 /checksum/SHA512/111 1635s ok 1594 /checksum/SHA512/112 1635s ok 1595 /checksum/SHA512/113 1635s ok 1596 /checksum/SHA512/114 1635s ok 1597 /checksum/SHA512/115 1635s ok 1598 /checksum/SHA512/116 1635s ok 1599 /checksum/SHA512/117 1635s ok 1600 /checksum/SHA512/118 1635s ok 1601 /checksum/SHA512/119 1635s ok 1602 /checksum/SHA512/120 1635s ok 1603 /checksum/SHA512/121 1635s ok 1604 /checksum/SHA512/122 1635s ok 1605 /checksum/SHA512/123 1635s ok 1606 /checksum/SHA512/124 1635s ok 1607 /checksum/SHA512/125 1635s ok 1608 /checksum/SHA512/126 1635s ok 1609 /checksum/SHA512/127 1635s ok 1610 /checksum/SHA512/128 1635s ok 1611 /checksum/SHA512/129 1635s ok 1612 /checksum/SHA512/130 1635s ok 1613 /checksum/SHA512/131 1635s ok 1614 /checksum/SHA512/132 1635s ok 1615 /checksum/SHA512/133 1635s ok 1616 /checksum/SHA512/134 1635s ok 1617 /checksum/SHA512/135 1635s ok 1618 /checksum/SHA512/136 1635s ok 1619 /checksum/SHA512/137 1635s ok 1620 /checksum/SHA512/138 1635s ok 1621 /checksum/SHA512/139 1635s ok 1622 /checksum/SHA512/140 1635s ok 1623 /checksum/SHA512/141 1635s ok 1624 /checksum/SHA512/142 1635s ok 1625 /checksum/SHA512/143 1635s ok 1626 /checksum/SHA512/144 1635s ok 1627 /checksum/SHA512/145 1635s ok 1628 /checksum/SHA512/146 1635s ok 1629 /checksum/SHA512/147 1635s ok 1630 /checksum/SHA512/148 1635s ok 1631 /checksum/SHA512/149 1635s ok 1632 /checksum/SHA512/150 1635s ok 1633 /checksum/SHA512/151 1635s ok 1634 /checksum/SHA512/152 1635s ok 1635 /checksum/SHA512/153 1635s ok 1636 /checksum/SHA512/154 1635s ok 1637 /checksum/SHA512/155 1635s ok 1638 /checksum/SHA512/156 1635s ok 1639 /checksum/SHA512/157 1635s ok 1640 /checksum/SHA512/158 1635s ok 1641 /checksum/SHA512/159 1635s ok 1642 /checksum/SHA512/160 1635s ok 1643 /checksum/SHA512/161 1635s ok 1644 /checksum/SHA512/162 1635s ok 1645 /checksum/SHA512/163 1635s ok 1646 /checksum/SHA512/164 1635s ok 1647 /checksum/SHA512/165 1635s ok 1648 /checksum/SHA512/166 1635s ok 1649 /checksum/SHA512/167 1635s ok 1650 /checksum/SHA512/168 1635s ok 1651 /checksum/SHA512/169 1635s ok 1652 /checksum/SHA512/170 1635s ok 1653 /checksum/SHA512/171 1635s ok 1654 /checksum/SHA512/172 1635s ok 1655 /checksum/SHA512/173 1635s ok 1656 /checksum/SHA512/174 1635s ok 1657 /checksum/SHA512/175 1635s ok 1658 /checksum/SHA512/176 1635s ok 1659 /checksum/SHA512/177 1635s ok 1660 /checksum/SHA512/178 1635s ok 1661 /checksum/SHA512/179 1635s ok 1662 /checksum/SHA512/180 1635s ok 1663 /checksum/SHA512/181 1635s ok 1664 /checksum/SHA512/182 1635s ok 1665 /checksum/SHA512/183 1635s ok 1666 /checksum/SHA512/string 1635s ok 1667 /checksum/SHA512/bytes 1635s # Start of reset tests 1635s ok 1668 /checksum/SHA512/reset/0 1635s ok 1669 /checksum/SHA512/reset/1 1635s ok 1670 /checksum/SHA512/reset/2 1635s ok 1671 /checksum/SHA512/reset/3 1635s ok 1672 /checksum/SHA512/reset/4 1635s ok 1673 /checksum/SHA512/reset/5 1635s ok 1674 /checksum/SHA512/reset/6 1635s ok 1675 /checksum/SHA512/reset/7 1635s ok 1676 /checksum/SHA512/reset/8 1635s ok 1677 /checksum/SHA512/reset/9 1635s ok 1678 /checksum/SHA512/reset/10 1635s ok 1679 /checksum/SHA512/reset/11 1635s ok 1680 /checksum/SHA512/reset/12 1635s ok 1681 /checksum/SHA512/reset/13 1635s ok 1682 /checksum/SHA512/reset/14 1635s ok 1683 /checksum/SHA512/reset/15 1635s ok 1684 /checksum/SHA512/reset/16 1635s ok 1685 /checksum/SHA512/reset/17 1635s ok 1686 /checksum/SHA512/reset/18 1635s ok 1687 /checksum/SHA512/reset/19 1635s ok 1688 /checksum/SHA512/reset/20 1635s ok 1689 /checksum/SHA512/reset/21 1635s ok 1690 /checksum/SHA512/reset/22 1635s ok 1691 /checksum/SHA512/reset/23 1635s ok 1692 /checksum/SHA512/reset/24 1635s ok 1693 /checksum/SHA512/reset/25 1635s ok 1694 /checksum/SHA512/reset/26 1635s ok 1695 /checksum/SHA512/reset/27 1635s ok 1696 /checksum/SHA512/reset/28 1635s ok 1697 /checksum/SHA512/reset/29 1635s ok 1698 /checksum/SHA512/reset/30 1635s ok 1699 /checksum/SHA512/reset/31 1635s ok 1700 /checksum/SHA512/reset/32 1635s ok 1701 /checksum/SHA512/reset/33 1635s ok 1702 /checksum/SHA512/reset/34 1635s ok 1703 /checksum/SHA512/reset/35 1635s ok 1704 /checksum/SHA512/reset/36 1635s ok 1705 /checksum/SHA512/reset/37 1635s ok 1706 /checksum/SHA512/reset/38 1635s ok 1707 /checksum/SHA512/reset/39 1635s ok 1708 /checksum/SHA512/reset/40 1635s ok 1709 /checksum/SHA512/reset/41 1635s ok 1710 /checksum/SHA512/reset/42 1635s ok 1711 /checksum/SHA512/reset/43 1635s ok 1712 /checksum/SHA512/reset/44 1635s ok 1713 /checksum/SHA512/reset/45 1635s ok 1714 /checksum/SHA512/reset/46 1635s ok 1715 /checksum/SHA512/reset/47 1635s ok 1716 /checksum/SHA512/reset/48 1635s ok 1717 /checksum/SHA512/reset/49 1635s ok 1718 /checksum/SHA512/reset/50 1635s ok 1719 /checksum/SHA512/reset/51 1635s ok 1720 /checksum/SHA512/reset/52 1635s ok 1721 /checksum/SHA512/reset/53 1635s ok 1722 /checksum/SHA512/reset/54 1635s ok 1723 /checksum/SHA512/reset/55 1635s ok 1724 /checksum/SHA512/reset/56 1635s ok 1725 /checksum/SHA512/reset/57 1635s ok 1726 /checksum/SHA512/reset/58 1635s ok 1727 /checksum/SHA512/reset/59 1635s ok 1728 /checksum/SHA512/reset/60 1635s ok 1729 /checksum/SHA512/reset/61 1635s ok 1730 /checksum/SHA512/reset/62 1635s ok 1731 /checksum/SHA512/reset/63 1635s ok 1732 /checksum/SHA512/reset/64 1635s ok 1733 /checksum/SHA512/reset/65 1635s ok 1734 /checksum/SHA512/reset/66 1635s ok 1735 /checksum/SHA512/reset/67 1635s ok 1736 /checksum/SHA512/reset/68 1635s ok 1737 /checksum/SHA512/reset/69 1635s ok 1738 /checksum/SHA512/reset/70 1635s ok 1739 /checksum/SHA512/reset/71 1635s ok 1740 /checksum/SHA512/reset/72 1635s ok 1741 /checksum/SHA512/reset/73 1635s ok 1742 /checksum/SHA512/reset/74 1635s ok 1743 /checksum/SHA512/reset/75 1635s ok 1744 /checksum/SHA512/reset/76 1635s ok 1745 /checksum/SHA512/reset/77 1635s ok 1746 /checksum/SHA512/reset/78 1635s ok 1747 /checksum/SHA512/reset/79 1635s ok 1748 /checksum/SHA512/reset/80 1635s ok 1749 /checksum/SHA512/reset/81 1635s ok 1750 /checksum/SHA512/reset/82 1635s ok 1751 /checksum/SHA512/reset/83 1635s ok 1752 /checksum/SHA512/reset/84 1635s ok 1753 /checksum/SHA512/reset/85 1635s ok 1754 /checksum/SHA512/reset/86 1635s ok 1755 /checksum/SHA512/reset/87 1635s ok 1756 /checksum/SHA512/reset/88 1635s ok 1757 /checksum/SHA512/reset/89 1635s ok 1758 /checksum/SHA512/reset/90 1635s ok 1759 /checksum/SHA512/reset/91 1635s ok 1760 /checksum/SHA512/reset/92 1635s ok 1761 /checksum/SHA512/reset/93 1635s ok 1762 /checksum/SHA512/reset/94 1635s ok 1763 /checksum/SHA512/reset/95 1635s ok 1764 /checksum/SHA512/reset/96 1635s ok 1765 /checksum/SHA512/reset/97 1635s ok 1766 /checksum/SHA512/reset/98 1635s ok 1767 /checksum/SHA512/reset/99 1635s ok 1768 /checksum/SHA512/reset/100 1635s ok 1769 /checksum/SHA512/reset/101 1635s ok 1770 /checksum/SHA512/reset/102 1635s ok 1771 /checksum/SHA512/reset/103 1635s ok 1772 /checksum/SHA512/reset/104 1635s ok 1773 /checksum/SHA512/reset/105 1635s ok 1774 /checksum/SHA512/reset/106 1635s ok 1775 /checksum/SHA512/reset/107 1635s ok 1776 /checksum/SHA512/reset/108 1635s ok 1777 /checksum/SHA512/reset/109 1635s ok 1778 /checksum/SHA512/reset/110 1635s ok 1779 /checksum/SHA512/reset/111 1635s ok 1780 /checksum/SHA512/reset/112 1635s ok 1781 /checksum/SHA512/reset/113 1635s ok 1782 /checksum/SHA512/reset/114 1635s ok 1783 /checksum/SHA512/reset/115 1635s ok 1784 /checksum/SHA512/reset/116 1635s ok 1785 /checksum/SHA512/reset/117 1635s ok 1786 /checksum/SHA512/reset/118 1635s ok 1787 /checksum/SHA512/reset/119 1635s ok 1788 /checksum/SHA512/reset/120 1635s ok 1789 /checksum/SHA512/reset/121 1635s ok 1790 /checksum/SHA512/reset/122 1635s ok 1791 /checksum/SHA512/reset/123 1635s ok 1792 /checksum/SHA512/reset/124 1635s ok 1793 /checksum/SHA512/reset/125 1635s ok 1794 /checksum/SHA512/reset/126 1635s ok 1795 /checksum/SHA512/reset/127 1635s ok 1796 /checksum/SHA512/reset/128 1635s ok 1797 /checksum/SHA512/reset/129 1635s ok 1798 /checksum/SHA512/reset/130 1635s ok 1799 /checksum/SHA512/reset/131 1635s ok 1800 /checksum/SHA512/reset/132 1635s ok 1801 /checksum/SHA512/reset/133 1635s ok 1802 /checksum/SHA512/reset/134 1635s ok 1803 /checksum/SHA512/reset/135 1635s ok 1804 /checksum/SHA512/reset/136 1635s ok 1805 /checksum/SHA512/reset/137 1635s ok 1806 /checksum/SHA512/reset/138 1635s ok 1807 /checksum/SHA512/reset/139 1635s ok 1808 /checksum/SHA512/reset/140 1635s ok 1809 /checksum/SHA512/reset/141 1635s ok 1810 /checksum/SHA512/reset/142 1635s ok 1811 /checksum/SHA512/reset/143 1635s ok 1812 /checksum/SHA512/reset/144 1635s ok 1813 /checksum/SHA512/reset/145 1635s ok 1814 /checksum/SHA512/reset/146 1635s ok 1815 /checksum/SHA512/reset/147 1635s ok 1816 /checksum/SHA512/reset/148 1635s ok 1817 /checksum/SHA512/reset/149 1635s ok 1818 /checksum/SHA512/reset/150 1635s ok 1819 /checksum/SHA512/reset/151 1635s ok 1820 /checksum/SHA512/reset/152 1635s ok 1821 /checksum/SHA512/reset/153 1635s ok 1822 /checksum/SHA512/reset/154 1635s ok 1823 /checksum/SHA512/reset/155 1635s ok 1824 /checksum/SHA512/reset/156 1635s ok 1825 /checksum/SHA512/reset/157 1635s ok 1826 /checksum/SHA512/reset/158 1635s ok 1827 /checksum/SHA512/reset/159 1635s ok 1828 /checksum/SHA512/reset/160 1635s ok 1829 /checksum/SHA512/reset/161 1635s ok 1830 /checksum/SHA512/reset/162 1635s ok 1831 /checksum/SHA512/reset/163 1635s ok 1832 /checksum/SHA512/reset/164 1635s ok 1833 /checksum/SHA512/reset/165 1635s ok 1834 /checksum/SHA512/reset/166 1635s ok 1835 /checksum/SHA512/reset/167 1635s ok 1836 /checksum/SHA512/reset/168 1635s ok 1837 /checksum/SHA512/reset/169 1635s ok 1838 /checksum/SHA512/reset/170 1635s ok 1839 /checksum/SHA512/reset/171 1635s ok 1840 /checksum/SHA512/reset/172 1635s ok 1841 /checksum/SHA512/reset/173 1635s ok 1842 /checksum/SHA512/reset/174 1635s ok 1843 /checksum/SHA512/reset/175 1635s ok 1844 /checksum/SHA512/reset/176 1635s ok 1845 /checksum/SHA512/reset/177 1635s ok 1846 /checksum/SHA512/reset/178 1635s ok 1847 /checksum/SHA512/reset/179 1635s ok 1848 /checksum/SHA512/reset/180 1635s ok 1849 /checksum/SHA512/reset/181 1635s ok 1850 /checksum/SHA512/reset/182 1635s ok 1851 /checksum/SHA512/reset/183 1635s # End of reset tests 1635s # End of SHA512 tests 1635s # End of checksum tests 1635s ok - glib/checksum.test 1635s # Running test: glib/resources.test 1635s TAP version 14 1635s # random seed: R02Sfcb4dfdfd05da5e93dbdf585ab84e09b 1635s 1..17 1635s # Start of resource tests 1635s ok 1 /resource/file 1635s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1635s ok 2 /resource/file-path 1635s ok 3 /resource/data 1635s ok 4 /resource/data_unaligned 1635s ok 5 /resource/data-corrupt 1635s ok 6 /resource/data-empty 1635s ok 7 /resource/registered 1635s ok 8 /resource/manual 1635s ok 9 /resource/manual2 1635s ok 10 /resource/automatic 1635s ok 11 /resource/module 1635s ok 12 /resource/binary-linked 1635s ok 13 /resource/64k 1635s GLib-GIO-Message: 05:57:23.931: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1635s ok 14 /resource/overlay 1635s ok 15 /resource/digits 1635s # Start of uri tests 1635s ok 16 /resource/uri/query-info 1635s ok 17 /resource/uri/file 1635s # End of uri tests 1635s # End of resource tests 1635s ok - glib/resources.test 1635s # Running test: glib/gdbus-non-socket.test 1635s TAP version 14 1635s # random seed: R02S90faeebe5431b84adbff6fb898b979e4 1635s 1..1 1635s # Start of gdbus tests 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_4KTOZ2/gdbus/non-socket/.dirs/runtime 1635s ok 1 /gdbus/non-socket 1635s # End of gdbus tests 1635s ok - glib/gdbus-non-socket.test 1635s # Running test: glib/list.test 1636s TAP version 14 1636s # random seed: R02S4a0243b283600d4756da525676acd29a 1636s 1..20 1636s # Start of list tests 1636s ok 1 /list/sort 1636s ok 2 /list/sort-with-data 1636s ok 3 /list/insert-before-link 1636s ok 4 /list/insert-sorted 1636s ok 5 /list/insert-sorted-with-data 1636s ok 6 /list/reverse 1636s ok 7 /list/nth 1636s ok 8 /list/concat 1636s ok 9 /list/remove 1636s ok 10 /list/remove-all 1636s ok 11 /list/first-last 1636s ok 12 /list/insert 1636s ok 13 /list/free-full 1636s ok 14 /list/copy 1636s ok 15 /list/copy-deep 1636s ok 16 /list/delete-link 1636s ok 17 /list/prepend 1636s ok 18 /list/position 1636s ok 19 /list/double-free 1636s # Start of sort tests 1636s ok 20 /list/sort/stable 1636s # End of sort tests 1636s # End of list tests 1636s ok - glib/list.test 1636s # Running test: glib/deprecated-properties.test 1636s TAP version 14 1636s # random seed: R02Sb33e99188f06d1df495b5e8d1add3400 1636s 1..3 1636s # Start of deprecated-properties tests 1636s ok 1 /deprecated-properties/construct 1636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1636s ok 2 /deprecated-properties/default-construct 1636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1636s ok 3 /deprecated-properties/set 1636s # End of deprecated-properties tests 1636s ok - glib/deprecated-properties.test 1636s # Running test: glib/properties-refcount1.test 1636s TAP version 14 1636s # random seed: R02S724570bfca1cb2339c84cf4b1304019c 1636s 1..1 1636s # Start of gobject tests 1636s # Start of refcount tests 1636s # .b 1636s # .c 1636s # .d 1636s # .f 1636s # .e 1636s # .b 1636s # .c 1637s # .d 1637s # .f 1637s # .e 1637s # .b 1637s # .c 1637s # .f 1637s # .d 1637s # .e 1637s # .b 1637s # .c 1637s # .f 1637s # .d 1638s # .b 1638s # .e 1638s # .c 1638s # .f 1638s # .d 1638s # .b 1638s # .e 1638s # .c 1638s # .d 1638s # .f 1638s # .b 1639s ok 1 /gobject/refcount/properties-1 1639s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1639s # End of refcount tests 1639s # End of gobject tests 1639s ok - glib/properties-refcount1.test 1639s # Running test: glib/gdbus-connection-loss.test 1639s TAP version 14 1639s # random seed: R02S2c9659513139423ef77e2a146e6afbc6 1639s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1639s 1..1 1639s # Start of gdbus tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_V4MXZ2/gdbus/connection-loss/.dirs/runtime 1639s ok 1 /gdbus/connection-loss 1639s # End of gdbus tests 1639s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1639s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1639s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1639s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1639s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1639s ok - glib/gdbus-connection-loss.test 1639s # Running test: glib/task.test 1639s TAP version 14 1639s # random seed: R02Sd9d4512b1057336def7c9468a1021549 1639s 1..36 1639s # Start of gtask tests 1639s ok 1 /gtask/basic 1639s ok 2 /gtask/error 1639s ok 3 /gtask/error-literal 1639s ok 4 /gtask/error-literal-from-variable 1639s ok 5 /gtask/return-from-same-iteration 1639s ok 6 /gtask/return-from-toplevel 1639s ok 7 /gtask/return-from-anon-thread 1639s ok 8 /gtask/return-from-wrong-thread 1639s ok 9 /gtask/no-callback 1639s ok 10 /gtask/report-error 1639s ok 11 /gtask/priority 1639s ok 12 /gtask/name 1639s ok 13 /gtask/static-name 1639s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1639s # Executing: glib/task.test 1639s ok 14 /gtask/asynchronous-cancellation 1639s ok 15 /gtask/check-cancellable 1639s ok 16 /gtask/return-if-cancelled 1639s ok 17 /gtask/run-in-thread 1639s ok 18 /gtask/run-in-thread-sync 1639s ok 19 /gtask/run-in-thread-priority 1639s ok 20 /gtask/run-in-thread-nested 1640s ok 21 /gtask/run-in-thread-overflow 1640s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1640s # GLib-GIO-DEBUG: GTask 0x9d0d9b8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1640s # GLib-GIO-DEBUG: GTask 0x9d0d010 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1640s ok 22 /gtask/return-on-cancel 1640s # GLib-GIO-DEBUG: GTask 0x9d0e538 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1640s ok 23 /gtask/return-on-cancel-sync 1640s # GLib-GIO-DEBUG: GTask 0x9d0e8d8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1640s ok 24 /gtask/return-on-cancel-atomic 1640s ok 25 /gtask/return-pointer 1640s ok 26 /gtask/return-value 1640s ok 27 /gtask/return-prefixed-error 1640s ok 28 /gtask/object-keepalive 1640s ok 29 /gtask/legacy-error 1640s ok 30 /gtask/finalize-without-return 1640s # Start of name tests 1640s ok 31 /gtask/name/macro-wrapper 1640s # End of name tests 1640s # Start of return tests 1640s ok 32 /gtask/return/error-first 1640s ok 33 /gtask/return/value-first 1640s # Start of in-idle tests 1640s ok 34 /gtask/return/in-idle/error-first 1640s ok 35 /gtask/return/in-idle/value-first 1640s # End of in-idle tests 1640s # End of return tests 1640s # Start of attach-source tests 1640s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1640s ok 36 /gtask/attach-source/set-name 1640s # End of attach-source tests 1640s # End of gtask tests 1640s ok - glib/task.test 1640s # Running test: glib/strvbuilder.test 1640s TAP version 14 1640s # random seed: R02S4b4533ce29a879e3efa52bd65073008c 1640s 1..7 1640s # Start of strvbuilder tests 1640s ok 1 /strvbuilder/empty 1640s ok 2 /strvbuilder/add 1640s ok 3 /strvbuilder/addv 1640s ok 4 /strvbuilder/add_many 1640s ok 5 /strvbuilder/take 1640s ok 6 /strvbuilder/ref 1640s ok 7 /strvbuilder/unref_to_strv 1640s # End of strvbuilder tests 1640s ok - glib/strvbuilder.test 1640s # Running test: glib/gdbus-sasl.test 1640s TAP version 14 1640s # random seed: R02Sd6a37cc05a3a2fc74e31619e3c567151 1640s 1..1 1640s # Start of gdbus tests 1640s # Start of sasl tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_OYFVZ2/gdbus/sasl/server/.dirs/runtime 1640s # New handshake: EXTERNAL with incorrect initial response 1640s # C:“AUTH EXTERNAL 30” 1640s # Expect: /^REJECTED.*$/ 1640s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1640s # New handshake: EXTERNAL without initial response, failing to authenticate 1640s # C:“AUTH EXTERNAL” 1640s # Expect: /^DATA$/ 1640s # S:“DATA” 1640s # C:“DATA 30” 1640s # Expect: /^REJECTED.*$/ 1640s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1640s # New handshake: EXTERNAL with initial response 1640s # C:“AUTH EXTERNAL 31303030” 1640s # Expect: /^OK [0-9a-f]+$/ 1640s # S:“OK fdc013e8ec800853ad8d403a677b70c8” 1640s # New handshake: EXTERNAL without initial response 1640s # C:“AUTH EXTERNAL” 1640s # Expect: /^DATA$/ 1640s # S:“DATA” 1640s # C:“DATA 31303030” 1640s # Expect: /^OK [0-9a-f]+$/ 1640s # S:“OK fdc013e8ec800853ad8d403a677b70c8” 1640s # New handshake: EXTERNAL with empty authorization identity 1640s # C:“AUTH EXTERNAL” 1640s # Expect: /^DATA$/ 1640s # S:“DATA” 1640s # C:“DATA” 1640s # Expect: /^OK [0-9a-f]+$/ 1640s # S:“OK fdc013e8ec800853ad8d403a677b70c8” 1640s # New handshake: EXTERNAL with empty authorization identity and whitespace 1640s # C:“AUTH EXTERNAL” 1640s # Expect: /^DATA$/ 1640s # S:“DATA” 1640s # C:“DATA ” 1640s # Expect: /^OK [0-9a-f]+$/ 1640s # S:“OK fdc013e8ec800853ad8d403a677b70c8” 1640s ok 1 /gdbus/sasl/server 1640s # End of sasl tests 1640s # End of gdbus tests 1640s ok - glib/gdbus-sasl.test 1640s # Running test: glib/socket-listener.test 1640s TAP version 14 1640s # random seed: R02S738bb7054bfb28b9ea68c2522f3551e6 1640s 1..1 1640s # Start of socket-listener tests 1640s ok 1 /socket-listener/event-signal 1640s # End of socket-listener tests 1640s ok - glib/socket-listener.test 1640s # Running test: glib/network-monitor-race.test 1640s TAP version 14 1640s # random seed: R02S53c747fc5fb8240b5adb02f327f23dad 1640s 1..1 1640s # Start of network-monitor tests 1640s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1642s ok 1 /network-monitor/create-in-thread 1642s # slow test /network-monitor/create-in-thread executed in 2.28 secs 1642s # End of network-monitor tests 1642s ok - glib/network-monitor-race.test 1642s # Running test: glib/object-info.test 1642s TAP version 14 1642s # random seed: R02Sa443a0a218a9a016e3b2f2e35bae1660 1642s 1..2 1642s # Start of object-info tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4DWZZ2/object-info/find-method-using-interfaces/.dirs/runtime 1642s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1642s ok 1 /object-info/find-method-using-interfaces 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4DWZZ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1642s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1642s ok 2 /object-info/find-vfunc-using-interfaces 1642s # End of object-info tests 1642s ok - glib/object-info.test 1642s # Running test: glib/hmac.test 1642s TAP version 14 1642s # random seed: R02Sa067f8a7ac5a3eb9996c162fe4d6d4c0 1642s 1..37 1642s # Start of hmac tests 1642s ok 1 /hmac/sha1-1 1642s ok 2 /hmac/sha1-2 1642s ok 3 /hmac/sha1-3 1642s ok 4 /hmac/sha1-4 1642s ok 5 /hmac/sha1-5 1642s ok 6 /hmac/sha1-6 1642s ok 7 /hmac/sha1-7 1642s ok 8 /hmac/sha256-1 1642s ok 9 /hmac/sha256-2 1642s ok 10 /hmac/sha256-3 1642s ok 11 /hmac/sha256-4 1642s ok 12 /hmac/sha256-5 1642s ok 13 /hmac/sha256-6 1642s ok 14 /hmac/sha384-1 1642s ok 15 /hmac/sha384-2 1642s ok 16 /hmac/sha384-3 1642s ok 17 /hmac/sha384-4 1642s ok 18 /hmac/sha384-5 1642s ok 19 /hmac/sha384-6 1642s ok 20 /hmac/sha512-1 1642s ok 21 /hmac/sha512-2 1642s ok 22 /hmac/sha512-3 1642s ok 23 /hmac/sha512-4 1642s ok 24 /hmac/sha512-5 1642s ok 25 /hmac/sha512-6 1642s ok 26 /hmac/md5-1 1642s ok 27 /hmac/md5-2 1642s ok 28 /hmac/md5-3 1642s ok 29 /hmac/md5-4 1642s ok 30 /hmac/md5-5 1642s ok 31 /hmac/md5-6 1642s ok 32 /hmac/md5-7 1642s ok 33 /hmac/ref-unref 1642s ok 34 /hmac/copy 1642s ok 35 /hmac/for-data 1642s ok 36 /hmac/for-string 1642s ok 37 /hmac/for-bytes 1642s # End of hmac tests 1642s ok - glib/hmac.test 1642s # Running test: glib/gdbus-test-codegen.test 1642s TAP version 14 1642s # random seed: R02S2b33e59663c2e56d8011800582abc02e 1642s 1..8 1642s # Start of gdbus tests 1642s # Start of codegen tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/annotations/.dirs/runtime 1642s ok 1 /gdbus/codegen/annotations 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/interface_stability/.dirs/runtime 1642s ok 2 /gdbus/codegen/interface_stability 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/object-manager/.dirs/runtime 1642s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1642s ok 3 /gdbus/codegen/object-manager 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/property-naming/.dirs/runtime 1642s ok 4 /gdbus/codegen/property-naming 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/autocleanups/.dirs/runtime 1642s ok 5 /gdbus/codegen/autocleanups 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/deprecations/.dirs/runtime 1642s ok 6 /gdbus/codegen/deprecations 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1642s ok 7 /gdbus/codegen/standalone-interface-info 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_G9FZZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1642s ok 8 /gdbus/codegen/unix-fd-list 1642s # End of codegen tests 1642s # End of gdbus tests 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s ok - glib/gdbus-test-codegen.test 1642s # Running test: glib/portal-support-flatpak-full.test 1642s TAP version 14 1642s # random seed: R02S293e852b27b330bc55408bb6ee8896fa 1642s 1..1 1642s # Start of portal-support tests 1642s # Start of flatpak tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/runtime 1642s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_REZKZ2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1642s ok 1 /portal-support/flatpak/full 1642s # End of flatpak tests 1642s # End of portal-support tests 1642s ok - glib/portal-support-flatpak-full.test 1642s # Running test: glib/assert-msg-test.py.test 1642s TAP version 13 1642s ok 1 __main__.TestAssertMessage.test_gassert 1642s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1642s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1642s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1642s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1642s # Error: ** 1642s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1642s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1642s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1642s 1..2 1642s ok - glib/assert-msg-test.py.test 1642s # Running test: glib/utils-isolated.test 1642s TAP version 14 1642s # random seed: R02S2afbc078a689c874a504b560bdcf2065 1642s 1..11 1642s # Start of utils-isolated tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/tmp-dir/.dirs/runtime 1642s ok 1 /utils-isolated/tmp-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/home-dir/.dirs/runtime 1642s ok 2 /utils-isolated/home-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-cache-dir/.dirs/runtime 1642s ok 3 /utils-isolated/user-cache-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-config-dirs/.dirs/runtime 1642s ok 4 /utils-isolated/system-config-dirs 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-config-dir/.dirs/runtime 1642s ok 5 /utils-isolated/user-config-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/system-data-dirs/.dirs/runtime 1642s ok 6 /utils-isolated/system-data-dirs 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-data-dir/.dirs/runtime 1642s ok 7 /utils-isolated/user-data-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-state-dir/.dirs/runtime 1642s ok 8 /utils-isolated/user-state-dir 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/user-runtime-dir/.dirs/runtime 1642s ok 9 /utils-isolated/user-runtime-dir 1642s # Start of cleanup tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1642s Unable to clean up temporary directory /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1642s Unable to clean up temporary directory /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1642s Unable to clean up temporary directory /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/handles-errors: Directory not empty 1642s ok 10 /utils-isolated/cleanup/handles-errors 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1642s Unable to clean up temporary directory /tmp/test_utils-isolated_AP4HZ2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1642s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1642s # End of cleanup tests 1642s # End of utils-isolated tests 1642s ok - glib/utils-isolated.test 1642s # Running test: glib/converter.test 1642s TAP version 14 1642s # random seed: R02S31111d05f51f56653473a1b2836bbc92 1642s 1..1 1642s # Start of converter tests 1642s ok 1 /converter/bytes 1642s # End of converter tests 1642s ok - glib/converter.test 1642s # Running test: glib/performance-threaded.test 1642s Running test "liststore-is-a" 1643s 6947 runs, min/avg/max = 0.140/0.143/0.245 ms 1643s Running test "liststore-interface-peek" 1644s # Executing: glib/performance-threaded.test 1644s 8814 runs, min/avg/max = 0.110/0.113/0.395 ms 1644s Running test "liststore-interface-peek-same" 1645s 8831 runs, min/avg/max = 0.110/0.112/0.385 ms 1645s ok - glib/performance-threaded.test 1645s # Running test: glib/rand.test 1645s TAP version 14 1645s # random seed: R02S863d34afe0f75169706e919f28021b55 1645s 1..2 1645s # Start of rand tests 1645s ok 1 /rand/test-rand 1645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1645s ok 2 /rand/double-range 1645s # End of rand tests 1645s ok - glib/rand.test 1645s # Running test: glib/fileutils.test 1645s TAP version 14 1645s # random seed: R02S85c88cb6daf7e24e941cec8bb3c3b56b 1645s 1..27 1645s # Start of fileutils tests 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/paths/.dirs/runtime 1645s ok 1 /fileutils/paths 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/build-path/.dirs/runtime 1645s ok 2 /fileutils/build-path 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/build-pathv/.dirs/runtime 1645s ok 3 /fileutils/build-pathv 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/build-filename/.dirs/runtime 1645s ok 4 /fileutils/build-filename 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/build-filenamev/.dirs/runtime 1645s ok 5 /fileutils/build-filenamev 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents/.dirs/runtime 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s ok 6 /fileutils/mkdir-with-parents 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s ok 7 /fileutils/mkdir-with-parents-permission 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/format-size-for-display/.dirs/runtime 1645s ok 8 /fileutils/format-size-for-display 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/errors/.dirs/runtime 1645s ok 9 /fileutils/errors 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/basename/.dirs/runtime 1645s ok 10 /fileutils/basename 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/get-basename/.dirs/runtime 1645s ok 11 /fileutils/get-basename 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/dirname/.dirs/runtime 1645s ok 12 /fileutils/dirname 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/dir-make-tmp/.dirs/runtime 1645s ok 13 /fileutils/dir-make-tmp 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/file-open-tmp/.dirs/runtime 1645s ok 14 /fileutils/file-open-tmp 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/file-test/.dirs/runtime 1645s ok 15 /fileutils/file-test 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/mkstemp/.dirs/runtime 1645s ok 16 /fileutils/mkstemp 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/mkdtemp/.dirs/runtime 1645s ok 17 /fileutils/mkdtemp 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/get-contents/.dirs/runtime 1645s ok 18 /fileutils/get-contents 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/get-contents-large-file/.dirs/runtime 1645s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/set-contents/.dirs/runtime 1645s ok 20 /fileutils/set-contents 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/.dirs/runtime 1645s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1645s # Flags 0 and test 0 1645s # Flags 0 and test 1 1645s # Flags 0 and test 2 1645s # Flags 0 and test 3 1645s # Flags 0 and test 4 1645s # Flags 0 and test 5 1645s # Flags 1 and test 0 1645s # Flags 1 and test 1 1645s # Flags 1 and test 2 1645s # Flags 1 and test 3 1645s # Flags 1 and test 4 1645s # Flags 1 and test 5 1645s # Flags 2 and test 0 1645s # Flags 2 and test 1 1645s # Flags 2 and test 2 1645s # Flags 2 and test 3 1645s # Flags 2 and test 4 1645s # Flags 2 and test 5 1645s # Flags 3 and test 0 1645s # Flags 3 and test 1 1645s # Flags 3 and test 2 1645s # Flags 3 and test 3 1645s # Flags 3 and test 4 1645s # Flags 3 and test 5 1645s # Flags 4 and test 0 1645s # Flags 4 and test 1 1645s # Flags 4 and test 2 1645s # Flags 4 and test 3 1645s # Flags 4 and test 4 1645s # Flags 4 and test 5 1645s # Flags 5 and test 0 1645s # Flags 5 and test 1 1645s # Flags 5 and test 2 1645s # Flags 5 and test 3 1645s # Flags 5 and test 4 1645s # Flags 5 and test 5 1645s # Flags 6 and test 0 1645s # Flags 6 and test 1 1645s # Flags 6 and test 2 1645s # Flags 6 and test 3 1645s # Flags 6 and test 4 1645s # Flags 6 and test 5 1645s ok 21 /fileutils/set-contents-full 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/read-link/.dirs/runtime 1645s ok 22 /fileutils/read-link 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/stdio-wrappers/.dirs/runtime 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s ok 23 /fileutils/stdio-wrappers 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/fopen-modes/.dirs/runtime 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1645s # Testing fopen() mode 'w' 1645s # Testing fopen() mode 'r' 1645s # Testing fopen() mode 'a' 1645s # Testing fopen() mode 'w+' 1645s # Testing fopen() mode 'r+' 1645s # Testing fopen() mode 'a+' 1645s # Testing fopen() mode 'wb' 1645s # Testing fopen() mode 'rb' 1645s # Testing fopen() mode 'ab' 1645s # Testing fopen() mode 'w+b' 1645s # Testing fopen() mode 'r+b' 1645s # Testing fopen() mode 'a+b' 1645s # Testing fopen() mode 'wb+' 1645s # Testing fopen() mode 'rb+' 1645s # Testing fopen() mode 'ab+' 1645s ok 24 /fileutils/fopen-modes 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/clear-fd/.dirs/runtime 1645s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1645s # Will be closed by autocleanup: 3, -42 1645s # Testing error handling 1645s ok 25 /fileutils/clear-fd 1645s # Start of set-contents-full tests 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1645s ok 26 /fileutils/set-contents-full/read-only-file 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_XFORZ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1645s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1645s # Flags 0 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 1 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 2 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 3 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 4 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 5 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s # Flags 6 1645s # We do not have CAP_DAC_OVERRIDE or equivalent 1645s ok 27 /fileutils/set-contents-full/read-only-directory 1645s # End of set-contents-full tests 1645s # Start of clear-fd tests 1645s # Start of subprocess tests 1645s # End of subprocess tests 1645s # End of clear-fd tests 1645s # End of fileutils tests 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-0C2OZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-MDXOZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-KUYOZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-MOTOZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-D3UOZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-YO4PZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2/glib-file-set-contents-full-rodir-595PZ2: Directory not empty 1645s Unable to clean up temporary directory /tmp/test_fileutils_XFORZ2: Directory not empty 1645s ok - glib/fileutils.test 1645s # Running test: glib/thread-pool.test 1645s TAP version 14 1645s # random seed: R02Se59a77673fcef6c50fa68e8a93ccfbfb 1645s 1..5 1645s # Start of thread_pool tests 1645s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1645s ok 1 /thread_pool/shared 1645s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1645s ok 2 /thread_pool/exclusive 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1645s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1645s ok 3 /thread_pool/create_shared_after_exclusive 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1645s ok 4 /thread_pool/create_full 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1645s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1646s ok 5 /thread_pool/create_exclusive_after_shared 1646s # End of thread_pool tests 1646s ok - glib/thread-pool.test 1646s # Running test: glib/include.test 1646s TAP version 14 1646s # random seed: R02Sbde0873e0845a5e93c45e15409a7ef95 1646s 1..1 1646s # Start of include tests 1646s ok 1 /include/rwlock 1646s # End of include tests 1646s ok - glib/include.test 1646s # Running test: glib/pathbuf.test 1646s TAP version 14 1646s # random seed: R02S3f1d22f34ba93011d56ff1bb2507de09 1646s 1..3 1646s # Start of pathbuf tests 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_RAZNZ2/pathbuf/init/.dirs/runtime 1646s # Initializing empty path buf 1646s # Initializing with empty path 1646s # Initializing with full path 1646s # Initializing with no path 1646s # Allocating GPathBuf on the heap 1646s ok 1 /pathbuf/init 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_RAZNZ2/pathbuf/push-pop/.dirs/runtime 1646s # Pushing relative path component 1646s # Pushing absolute path component 1646s # Popping a path component 1646s # Can't pop the last element of a path buffer 1646s ok 2 /pathbuf/push-pop 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_RAZNZ2/pathbuf/filename-extension/.dirs/runtime 1646s ok 3 /pathbuf/filename-extension 1646s # End of pathbuf tests 1646s ok - glib/pathbuf.test 1646s # Running test: glib/bindinggroup.test 1646s TAP version 14 1646s # random seed: R02S9a5a36fb7dd50855926d697f3cb5b2de 1646s 1..11 1646s # Start of GObject tests 1646s # Start of BindingGroup tests 1646s ok 1 /GObject/BindingGroup/invalid 1646s ok 2 /GObject/BindingGroup/default 1646s ok 3 /GObject/BindingGroup/bidirectional 1646s ok 4 /GObject/BindingGroup/transform 1646s ok 5 /GObject/BindingGroup/transform-closures 1646s ok 6 /GObject/BindingGroup/same-object 1646s ok 7 /GObject/BindingGroup/weak-ref-source 1646s ok 8 /GObject/BindingGroup/weak-ref-target 1646s ok 9 /GObject/BindingGroup/properties 1646s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1646s ok 11 /GObject/BindingGroup/empty-closures 1646s # End of BindingGroup tests 1646s # End of GObject tests 1646s ok - glib/bindinggroup.test 1646s # Running test: glib/utf8-pointer.test 1646s TAP version 14 1646s # random seed: R02S7bb81b8c46f826283c2dce36984d1c6e 1646s 1..3 1646s # Start of utf8 tests 1647s ok 1 /utf8/offsets 1647s # slow test /utf8/offsets executed in 0.99 secs 1647s ok 2 /utf8/lengths 1647s ok 3 /utf8/find 1647s # End of utf8 tests 1647s ok - glib/utf8-pointer.test 1647s # Running test: glib/memory-monitor-dbus.test 1647s TAP version 13 1647s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1647s 1..1 1647s ok - glib/memory-monitor-dbus.test 1647s # Running test: glib/unicode.test 1647s TAP version 14 1647s # random seed: R02S0e19fd395e9fb727d88fe0babf5122d1 1647s 1..39 1647s # Start of unicode tests 1647s ok 1 /unicode/alnum 1647s ok 2 /unicode/alpha 1647s ok 3 /unicode/break-type 1647s ok 4 /unicode/canonical-decomposition 1647s ok 5 /unicode/casefold 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s # Cannot set locale to lt_LT, skipping 1647s ok 6 /unicode/casemap_and_casefold 1647s ok 7 /unicode/cases 1647s ok 8 /unicode/character-type 1647s ok 9 /unicode/cntrl 1647s ok 10 /unicode/combining-class 1647s ok 11 /unicode/compose 1647s ok 12 /unicode/decompose 1647s ok 13 /unicode/decompose-tail 1647s ok 14 /unicode/defined 1647s ok 15 /unicode/digit 1647s ok 16 /unicode/digit-value 1647s ok 17 /unicode/fully-decompose-canonical 1647s ok 18 /unicode/fully-decompose-len 1647s ok 19 /unicode/normalization 1647s ok 20 /unicode/graph 1647s # Testing script Zyyy (code 1517910393) 1647s # Testing script Zinh (code 1516858984) 1647s # Testing script Zmth (code 1517122664) 1647s # Testing script Arab (code 1098015074) 1647s # Testing script Armn (code 1098018158) 1647s # Testing script Beng (code 1113943655) 1647s # Testing script Bopo (code 1114599535) 1647s # Testing script Cher (code 1130915186) 1647s # Testing script Copt (code 1131376756) 1647s # Testing script Cyrl (code 1132032620) 1647s # Testing script Dsrt (code 1148416628) 1647s # Testing script Deva (code 1147500129) 1647s # Testing script Ethi (code 1165256809) 1647s # Testing script Geor (code 1197830002) 1647s # Testing script Goth (code 1198486632) 1647s # Testing script Grek (code 1198679403) 1647s # Testing script Gujr (code 1198877298) 1647s # Testing script Guru (code 1198879349) 1647s # Testing script Hani (code 1214344809) 1647s # Testing script Hang (code 1214344807) 1647s # Testing script Hebr (code 1214603890) 1647s # Testing script Hira (code 1214870113) 1647s # Testing script Knda (code 1265525857) 1647s # Testing script Kana (code 1264676449) 1647s # Testing script Khmr (code 1265134962) 1647s # Testing script Laoo (code 1281453935) 1647s # Testing script Latn (code 1281455214) 1647s # Testing script Mlym (code 1298954605) 1647s # Testing script Mong (code 1299148391) 1647s # Testing script Mymr (code 1299803506) 1647s # Testing script Ogam (code 1332175213) 1647s # Testing script Ital (code 1232363884) 1647s # Testing script Orya (code 1332902241) 1647s # Testing script Runr (code 1383427698) 1647s # Testing script Sinh (code 1399418472) 1647s # Testing script Syrc (code 1400468067) 1647s # Testing script Taml (code 1415671148) 1647s # Testing script Telu (code 1415933045) 1647s # Testing script Thaa (code 1416126817) 1647s # Testing script Thai (code 1416126825) 1647s # Testing script Tibt (code 1416192628) 1647s # Testing script Cans (code 1130458739) 1647s # Testing script Yiii (code 1500080489) 1647s # Testing script Tglg (code 1416064103) 1647s # Testing script Hano (code 1214344815) 1647s # Testing script Buhd (code 1114990692) 1647s # Testing script Tagb (code 1415669602) 1647s # Testing script Brai (code 1114792297) 1647s # Testing script Cprt (code 1131442804) 1647s # Testing script Limb (code 1281977698) 1647s # Testing script Osma (code 1332964705) 1647s # Testing script Shaw (code 1399349623) 1647s # Testing script Linb (code 1281977954) 1647s # Testing script Tale (code 1415670885) 1647s # Testing script Ugar (code 1432838514) 1647s # Testing script Talu (code 1415670901) 1647s # Testing script Bugi (code 1114990441) 1647s # Testing script Glag (code 1198285159) 1647s # Testing script Tfng (code 1415999079) 1647s # Testing script Sylo (code 1400466543) 1647s # Testing script Xpeo (code 1483761007) 1647s # Testing script Khar (code 1265131890) 1647s # Testing script Zzzz (code 1517976186) 1647s # Testing script Bali (code 1113681001) 1647s # Testing script Xsux (code 1483961720) 1647s # Testing script Phnx (code 1349021304) 1647s # Testing script Phag (code 1349017959) 1647s # Testing script Nkoo (code 1315663727) 1647s # Testing script Kali (code 1264675945) 1647s # Testing script Lepc (code 1281716323) 1647s # Testing script Rjng (code 1382706791) 1647s # Testing script Sund (code 1400204900) 1647s # Testing script Saur (code 1398895986) 1647s # Testing script Cham (code 1130914157) 1647s # Testing script Olck (code 1332503403) 1647s # Testing script Vaii (code 1449224553) 1647s # Testing script Cari (code 1130459753) 1647s # Testing script Lyci (code 1283023721) 1647s # Testing script Lydi (code 1283023977) 1647s # Testing script Avst (code 1098281844) 1647s # Testing script Bamu (code 1113681269) 1647s # Testing script Egyp (code 1164409200) 1647s # Testing script Armi (code 1098018153) 1647s # Testing script Phli (code 1349020777) 1647s # Testing script Prti (code 1349678185) 1647s # Testing script Java (code 1247901281) 1647s # Testing script Kthi (code 1265920105) 1647s # Testing script Lisu (code 1281979253) 1647s # Testing script Mtei (code 1299473769) 1647s # Testing script Sarb (code 1398895202) 1647s # Testing script Orkh (code 1332898664) 1647s # Testing script Samr (code 1398893938) 1647s # Testing script Lana (code 1281453665) 1647s # Testing script Tavt (code 1415673460) 1647s # Testing script Batk (code 1113683051) 1647s # Testing script Brah (code 1114792296) 1647s # Testing script Mand (code 1298230884) 1647s # Testing script Cakm (code 1130457965) 1647s # Testing script Merc (code 1298494051) 1647s # Testing script Mero (code 1298494063) 1647s # Testing script Plrd (code 1349284452) 1647s # Testing script Shrd (code 1399353956) 1647s # Testing script Sora (code 1399812705) 1647s # Testing script Takr (code 1415670642) 1647s # Testing script Bass (code 1113682803) 1647s # Testing script Aghb (code 1097295970) 1647s # Testing script Dupl (code 1148547180) 1647s # Testing script Elba (code 1164730977) 1647s # Testing script Gran (code 1198678382) 1647s # Testing script Khoj (code 1265135466) 1647s # Testing script Sind (code 1399418468) 1647s # Testing script Lina (code 1281977953) 1647s # Testing script Mahj (code 1298229354) 1647s # Testing script Mani (code 1298230889) 1647s # Testing script Mend (code 1298493028) 1647s # Testing script Modi (code 1299145833) 1647s # Testing script Mroo (code 1299345263) 1647s # Testing script Nbat (code 1315070324) 1647s # Testing script Narb (code 1315009122) 1647s # Testing script Perm (code 1348825709) 1647s # Testing script Hmng (code 1215131239) 1647s # Testing script Palm (code 1348562029) 1647s # Testing script Pauc (code 1348564323) 1647s # Testing script Phlp (code 1349020784) 1647s # Testing script Sidd (code 1399415908) 1647s # Testing script Tirh (code 1416196712) 1647s # Testing script Wara (code 1466004065) 1647s # Testing script Ahom (code 1097363309) 1647s # Testing script Hluw (code 1215067511) 1647s # Testing script Hatr (code 1214346354) 1647s # Testing script Mult (code 1299541108) 1647s # Testing script Hung (code 1215655527) 1647s # Testing script Sgnw (code 1399287415) 1647s # Testing script Adlm (code 1097100397) 1647s # Testing script Bhks (code 1114139507) 1647s # Testing script Marc (code 1298231907) 1647s # Testing script Newa (code 1315272545) 1647s # Testing script Osge (code 1332963173) 1647s # Testing script Tang (code 1415671399) 1647s # Testing script Gonm (code 1198485101) 1647s # Testing script Nshu (code 1316186229) 1647s # Testing script Soyo (code 1399814511) 1647s # Testing script Zanb (code 1516334690) 1647s # Testing script Dogr (code 1148151666) 1647s # Testing script Gong (code 1198485095) 1647s # Testing script Rohg (code 1383032935) 1647s # Testing script Maka (code 1298230113) 1647s # Testing script Medf (code 1298490470) 1647s # Testing script Sogo (code 1399809903) 1647s # Testing script Sogd (code 1399809892) 1647s # Testing script Elym (code 1164736877) 1647s # Testing script Nand (code 1315008100) 1647s # Testing script Hmnp (code 1215131248) 1647s # Testing script Wcho (code 1466132591) 1647s # Testing script Chrs (code 1130918515) 1647s # Testing script Diak (code 1147756907) 1647s # Testing script Kits (code 1265202291) 1647s # Testing script Yezi (code 1499822697) 1647s # Testing script Cpmn (code 1131441518) 1647s # Testing script Ougr (code 1333094258) 1647s # Testing script Tnsa (code 1416524641) 1647s # Testing script Toto (code 1416590447) 1647s # Testing script Vith (code 1449751656) 1647s # Testing script Kawi (code 1264678761) 1647s # Testing script Nagm (code 1315006317) 1647s ok 21 /unicode/iso15924 1647s ok 22 /unicode/lower 1647s ok 23 /unicode/mark 1647s ok 24 /unicode/mirror 1647s ok 25 /unicode/print 1647s ok 26 /unicode/punctuation 1647s ok 27 /unicode/script 1647s ok 28 /unicode/space 1647s ok 29 /unicode/strdown 1647s ok 30 /unicode/strup 1647s ok 31 /unicode/turkish-strupdown 1647s ok 32 /unicode/title 1647s ok 33 /unicode/upper 1647s ok 34 /unicode/validate 1647s ok 35 /unicode/wide 1647s ok 36 /unicode/xdigit 1647s ok 37 /unicode/xdigit-value 1647s ok 38 /unicode/zero-width 1647s ok 39 /unicode/normalize 1647s # End of unicode tests 1647s ok - glib/unicode.test 1647s # Running test: glib/pattern.test 1647s TAP version 14 1647s # random seed: R02S02a196a8b206b1eb37ca2a382a17a259 1647s 1..90 1647s # Start of pattern tests 1647s # Start of compile tests 1647s ok 1 /pattern/compile/0 1647s ok 2 /pattern/compile/1 1647s ok 3 /pattern/compile/2 1647s ok 4 /pattern/compile/3 1647s ok 5 /pattern/compile/4 1647s ok 6 /pattern/compile/5 1647s ok 7 /pattern/compile/6 1647s ok 8 /pattern/compile/7 1647s ok 9 /pattern/compile/8 1647s ok 10 /pattern/compile/9 1647s ok 11 /pattern/compile/10 1647s ok 12 /pattern/compile/11 1647s ok 13 /pattern/compile/12 1647s ok 14 /pattern/compile/13 1647s # End of compile tests 1647s # Start of copy tests 1647s ok 15 /pattern/copy/0 1647s ok 16 /pattern/copy/1 1647s ok 17 /pattern/copy/2 1647s ok 18 /pattern/copy/3 1647s ok 19 /pattern/copy/4 1647s ok 20 /pattern/copy/5 1647s ok 21 /pattern/copy/6 1647s ok 22 /pattern/copy/7 1647s ok 23 /pattern/copy/8 1647s ok 24 /pattern/copy/9 1647s ok 25 /pattern/copy/10 1647s ok 26 /pattern/copy/11 1647s ok 27 /pattern/copy/12 1647s ok 28 /pattern/copy/13 1647s # End of copy tests 1647s # Start of match tests 1647s ok 29 /pattern/match/0 1647s ok 30 /pattern/match/1 1647s ok 31 /pattern/match/2 1647s ok 32 /pattern/match/3 1647s ok 33 /pattern/match/4 1647s ok 34 /pattern/match/5 1647s ok 35 /pattern/match/6 1647s ok 36 /pattern/match/7 1647s ok 37 /pattern/match/8 1647s ok 38 /pattern/match/9 1647s ok 39 /pattern/match/10 1647s ok 40 /pattern/match/11 1647s ok 41 /pattern/match/12 1647s ok 42 /pattern/match/13 1647s ok 43 /pattern/match/14 1647s ok 44 /pattern/match/15 1647s ok 45 /pattern/match/16 1647s ok 46 /pattern/match/17 1647s ok 47 /pattern/match/18 1647s ok 48 /pattern/match/19 1647s ok 49 /pattern/match/20 1647s ok 50 /pattern/match/21 1647s ok 51 /pattern/match/22 1647s ok 52 /pattern/match/23 1647s ok 53 /pattern/match/24 1647s ok 54 /pattern/match/25 1647s ok 55 /pattern/match/26 1647s ok 56 /pattern/match/27 1647s ok 57 /pattern/match/28 1647s ok 58 /pattern/match/29 1647s ok 59 /pattern/match/30 1647s ok 60 /pattern/match/31 1647s ok 61 /pattern/match/32 1647s ok 62 /pattern/match/33 1647s ok 63 /pattern/match/34 1647s ok 64 /pattern/match/35 1647s ok 65 /pattern/match/36 1647s ok 66 /pattern/match/37 1647s ok 67 /pattern/match/38 1647s ok 68 /pattern/match/39 1647s ok 69 /pattern/match/40 1647s ok 70 /pattern/match/41 1647s ok 71 /pattern/match/42 1647s ok 72 /pattern/match/43 1647s ok 73 /pattern/match/44 1647s ok 74 /pattern/match/45 1647s ok 75 /pattern/match/46 1647s ok 76 /pattern/match/47 1647s ok 77 /pattern/match/48 1647s ok 78 /pattern/match/49 1647s ok 79 /pattern/match/50 1647s # End of match tests 1647s # Start of equal tests 1647s ok 80 /pattern/equal/0 1647s ok 81 /pattern/equal/1 1647s ok 82 /pattern/equal/2 1647s ok 83 /pattern/equal/3 1647s ok 84 /pattern/equal/4 1647s ok 85 /pattern/equal/5 1647s ok 86 /pattern/equal/6 1647s ok 87 /pattern/equal/7 1647s ok 88 /pattern/equal/8 1647s ok 89 /pattern/equal/9 1647s ok 90 /pattern/equal/10 1647s # End of equal tests 1647s # End of pattern tests 1647s ok - glib/pattern.test 1647s # Running test: glib/threadtests.test 1647s TAP version 14 1647s # random seed: R02S8a48ce49e89baa1fbf865bf19d2ef34f 1647s 1..5 1647s # Start of GObject tests 1647s ok 1 /GObject/threaded-object-init 1648s ok 2 /GObject/threaded-weak-ref 1648s # slow test /GObject/threaded-weak-ref executed in 1.01 secs 1648s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1648s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1648s # Start of threaded-weak-ref tests 1648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1648s # /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. 1648s ok 5 /GObject/threaded-weak-ref/on-finalization 1648s # End of threaded-weak-ref tests 1648s # End of GObject tests 1648s ok - glib/threadtests.test 1648s # Running test: glib/socket-service.test 1648s TAP version 14 1648s # random seed: R02Sa89e663192cbe8adf7e85b9cc88f1815 1648s 1..4 1648s # Start of socket-service tests 1648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x567fdd0 and GSocketClientAsyncConnectData 0x567b660 1648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1648s ok 1 /socket-service/start-stop 1648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5681068 and GSocketClientAsyncConnectData 0x5680ee0 1648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5681438 for GSocketClientAsyncConnectData 0x567b660 1648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5680458 for GSocketClientAsyncConnectData 0x5680ee0 1648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1648s ok 2 /socket-service/read_write_async 1648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5680e78 and GSocketClientAsyncConnectData 0x5683410 1648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5681ed0 for GSocketClientAsyncConnectData 0x5683410 1648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1648s ok 3 /socket-service/read_writev_async 1648s # Start of threaded tests 1648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5683bd8 and GSocketClientAsyncConnectData 0x567fdc8 1648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5683b50 for GSocketClientAsyncConnectData 0x567fdc8 1648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1648s ok 4 /socket-service/threaded/712570 1648s # End of threaded tests 1648s # End of socket-service tests 1648s ok - glib/socket-service.test 1648s # Running test: glib/properties-introspection.test 1648s TAP version 14 1648s # random seed: R02Sc9b552ced433681f2aa91cda53d84016 1648s 1..2 1648s # Start of properties tests 1648s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1648s ok 1 /properties/introspection 1648s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1648s ok 2 /properties/collision 1648s # End of properties tests 1648s ok - glib/properties-introspection.test 1648s # Running test: glib/permission.test 1648s TAP version 14 1648s # random seed: R02S6446ec112a20399b4d36ee5abb526099 1648s 1..1 1648s # Start of permission tests 1648s ok 1 /permission/simple 1648s # End of permission tests 1648s ok - glib/permission.test 1648s # Running test: glib/slice.test 1648s TAP version 14 1648s # random seed: R02Sec8a2b4ec3271a649e8a6b848f28321e 1648s 1..3 1648s # Start of slice tests 1648s ok 1 /slice/copy 1648s ok 2 /slice/chain 1649s # Executing: glib/slice.test 1649s ok 3 /slice/allocate 1649s # slow test /slice/allocate executed in 1.14 secs 1649s # End of slice tests 1649s ok - glib/slice.test 1649s # Running test: glib/power-profile-monitor-portal.test 1650s TAP version 13 1650s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1650s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1650s 1..2 1650s ok - glib/power-profile-monitor-portal.test 1650s # Running test: glib/gthash.test 1650s TAP version 14 1650s # random seed: R02S2a2896155ea3ec8f8a1edfa6687bc565 1650s 1..1 1650s # Start of gthash tests 1650s ok 1 /gthash/build-retrieve 1650s # End of gthash tests 1650s ok - glib/gthash.test 1650s # Running test: glib/vfs.test 1650s TAP version 14 1650s # random seed: R02S159638d235ce2073b2676ab83ca83c5b 1650s 1..3 1650s # Start of gvfs tests 1650s ok 1 /gvfs/local 1650s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1650s ok 2 /gvfs/register-scheme 1650s # Start of resource tests 1650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1650s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1650s ok 3 /gvfs/resource/malformed-escaping 1650s # End of resource tests 1650s # End of gvfs tests 1650s ok - glib/vfs.test 1650s # Running test: glib/dbus-appinfo.test 1650s TAP version 14 1650s # random seed: R02Sff82eea91f5886a88efd48500ccc0953 1650s 1..3 1650s # Start of appinfo tests 1650s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1650s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1650s ok 1 /appinfo/dbusappinfo 1650s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1650s dbus-daemon[13892]: [session uid=1000 pid=13892] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13891 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1650s # Acquired a message bus connection 1650s dbus-daemon[13892]: [session uid=1000 pid=13892] Successfully activated service 'org.freedesktop.portal.Documents' 1650s # Acquired the name org.freedesktop.portal.Documents 1650s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1650s ok 2 /appinfo/flatpak-doc-export 1650s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1650s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1650s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1650s ok 3 /appinfo/flatpak-missing-doc-export 1650s # End of appinfo tests 1650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1650s # Lost the name org.freedesktop.portal.Documents 1650s ok - glib/dbus-appinfo.test 1650s # Running test: glib/objects-refcount1.test 1650s TAP version 14 1650s # random seed: R02Sfc33b931e93bee92e71d1f0ce9180ec8 1650s 1..1 1650s # Start of gobject tests 1650s # Start of refcount tests 1650s # init 0xc7cc1e0 1650s # 1650s # init 0xc7cc330 1650s # 1654s # Executing: glib/objects-refcount1.test 1655s # dispose 0xc7cc1e0! 1655s # 1655s # dispose 0xc7cc330! 1655s # 1655s ok 1 /gobject/refcount/object-basics 1655s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1655s # End of refcount tests 1655s # End of gobject tests 1655s ok - glib/objects-refcount1.test 1655s # Running test: glib/cmph-bdz.test 1655s TAP version 14 1655s # random seed: R02Scb541c0c9123e022056614a8d20377e3 1655s 1..2 1655s # Start of cmph-bdz tests 1655s ok 1 /cmph-bdz/search 1655s ok 2 /cmph-bdz/search-packed 1655s # End of cmph-bdz tests 1655s ok - glib/cmph-bdz.test 1655s # Running test: glib/thread-deprecated.test 1655s TAP version 14 1655s # random seed: R02S3207bbbc20f8091d2bf86ef1614cc72f 1655s 1..6 1655s # Start of thread tests 1655s ok 1 /thread/mutex 1656s ok 2 /thread/static-rec-mutex 1659s # Executing: glib/thread-deprecated.test 1660s ok 3 /thread/static-private 1660s # slow test /thread/static-private executed in 4.40 secs 1664s # Executing: glib/thread-deprecated.test 1665s ok 4 /thread/static-rw-lock 1665s # slow test /thread/static-rw-lock executed in 5.00 secs 1665s ok 5 /thread/once 1669s # Executing: glib/thread-deprecated.test 1674s # Executing: glib/thread-deprecated.test 1675s ok 6 /thread/rerun-all 1675s # slow test /thread/rerun-all executed in 10.03 secs 1675s # End of thread tests 1675s ok - glib/thread-deprecated.test 1675s # Running test: glib/gdbus-connection.test 1675s TAP version 14 1675s # random seed: R02Sad8f9ad9e5eb55bb257d4a27b62c20af 1675s 1..9 1675s # Start of gdbus tests 1675s # Start of connection tests 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/bus-failure/.dirs/runtime 1675s ok 1 /gdbus/connection/bus-failure 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/basic/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 2 /gdbus/connection/basic 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/life-cycle/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 3 /gdbus/connection/life-cycle 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/send/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 4 /gdbus/connection/send 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signals/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 5 /gdbus/connection/signals 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/signal-match-rules/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 6 /gdbus/connection/signal-match-rules 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/filter/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 7 /gdbus/connection/filter 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/serials/.dirs/runtime 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 8 /gdbus/connection/serials 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_8DPIZ2/gdbus/connection/cancel/.dirs/runtime 1675s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1675s ok 9 /gdbus/connection/cancel 1675s # End of connection tests 1675s # End of gdbus tests 1675s ok - glib/gdbus-connection.test 1675s # Running test: glib/mappedfile.test 1675s TAP version 14 1675s # random seed: R02Sfe91ad429dcd15bdcc41567743889728 1675s 1..7 1675s # Start of mappedfile tests 1675s ok 1 /mappedfile/basic 1675s ok 2 /mappedfile/empty 1675s ok 3 /mappedfile/device 1675s ok 4 /mappedfile/nonexisting 1675s ok 5 /mappedfile/writable 1675s ok 6 /mappedfile/writable_fd 1675s ok 7 /mappedfile/gbytes 1675s # End of mappedfile tests 1675s ok - glib/mappedfile.test 1675s # Running test: glib/messages-low-memory.py.test 1676s TAP version 13 1676s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1676s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1676s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1676s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1676s # Return code: -6 1676s # Output: 1676s # Error: GLib-Message: 05:58:04.010: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1676s # GLib-Message: 05:58:04.010: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1676s # ../../../glib/gprintf.c:350: failed to allocate memory 1676s 1..1 1676s ok - glib/messages-low-memory.py.test 1676s # Running test: glib/atomic-c-17.test 1676s TAP version 14 1676s # random seed: R02Sdc393a9477e4a779d161290c5f8a3882 1676s 1..2 1676s # Start of atomic tests 1676s ok 1 /atomic/types 1676s ok 2 /atomic/threaded 1676s # End of atomic tests 1676s ok - glib/atomic-c-17.test 1676s # Running test: glib/gdbus-proxy.test 1676s TAP version 14 1676s # random seed: R02S155e6ce02ef20677826c0eb688aeb128 1676s 1..5 1676s # Start of gdbus tests 1676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/home 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/cache 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/system-config2 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/config 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/system-data2 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/data 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/state 1676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/.dirs/runtime 1676s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1677s ok 1 /gdbus/proxy 1677s # slow test /gdbus/proxy executed in 1.75 secs 1677s # Start of proxy tests 1677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/home 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/cache 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/system-config2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/config 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/system-data2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/data 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/state 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-properties/.dirs/runtime 1677s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1677s ok 2 /gdbus/proxy/no-properties 1677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/home 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/cache 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/config 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/data 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/state 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1677s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1677s ok 3 /gdbus/proxy/wellknown-noauto 1677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/home 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/cache 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/system-config2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/config 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/system-data2 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/data 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/state 1677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/async/.dirs/runtime 1678s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1679s # Executing: glib/gdbus-proxy.test 1679s ok 4 /gdbus/proxy/async 1679s # slow test /gdbus/proxy/async executed in 1.74 secs 1679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/home 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/cache 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/system-config2 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/config 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/system-data2 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/data 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/state 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_98ETZ2/gdbus/proxy/no-match-rule/.dirs/runtime 1679s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1679s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1681s ok 5 /gdbus/proxy/no-match-rule 1681s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 1681s # End of proxy tests 1681s # End of gdbus tests 1681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1681s ok - glib/gdbus-proxy.test 1681s # Running test: glib/signals-refcount4.test 1681s TAP version 14 1681s # random seed: R02Sda3076a716ad06e76bed5d0f58dea430 1681s 1..1 1681s # Start of gobject tests 1681s # Start of refcount tests 1681s # init 0xf352a58 1681s # 1681s # init 0xf352bb0 1681s # 1684s # Executing: glib/signals-refcount4.test 1686s # dispose 0xf352a58! 1686s # 1686s # dispose 0xf352bb0! 1686s # 1686s ok 1 /gobject/refcount/signals 1686s # slow test /gobject/refcount/signals executed in 5.00 secs 1686s # End of refcount tests 1686s # End of gobject tests 1686s ok - glib/signals-refcount4.test 1686s # Running test: glib/deftype.test 1686s ok - glib/deftype.test 1686s # Running test: glib/throws.test 1686s TAP version 14 1686s # random seed: R02S21689f94432568e63a356a8025b87193 1686s 1..3 1686s # Start of throws tests 1686s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/home 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/cache 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/system-config2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/config 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/system-data2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/data 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/state 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ODRYZ2/throws/invoke-gerror/.dirs/runtime 1686s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1686s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1686s ok 1 /throws/invoke-gerror 1686s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/home 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/cache 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/config 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/data 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/state 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ODRYZ2/throws/vfunc-can-throw-gerror/.dirs/runtime 1686s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1686s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1686s ok 2 /throws/vfunc-can-throw-gerror 1686s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/home 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/cache 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/system-config2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/config 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/system-data2 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/data 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/state 1686s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ODRYZ2/throws/callback-can-throw-gerror/.dirs/runtime 1686s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1686s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1686s ok 3 /throws/callback-can-throw-gerror 1686s # End of throws tests 1686s ok - glib/throws.test 1686s # Running test: glib/uri.test 1686s TAP version 14 1686s # random seed: R02S1e48cd3846a3ace2db37ea2ccdb11a3c 1686s 1..24 1686s # Start of uri tests 1686s ok 1 /uri/file-to-uri 1686s ok 2 /uri/file-from-uri 1686s ok 3 /uri/file-roundtrip 1686s ok 4 /uri/list 1686s # Test 0: %2Babc %4F 1686s # Test 1: %2Babc %4F 1686s # Test 2: %00abc %4F 1686s # Test 3: /cursors/none.png 1686s # Test 4: /cursors%2fbad-subdir/none.png 1686s # Test 5: %0 1686s # Test 6: %ra 1686s # Test 7: %2r 1686s # Test 8: Timm B?der 1686s # Test 9: (null) 1686s ok 5 /uri/unescape-string 1686s ok 6 /uri/unescape-segment 1686s # Test 0: abcdefgABCDEFG._~ 1686s # Test 1: :+ \\?# 1686s # Test 2: a+b:c 1686s # Test 3: a+b:c\303\234 1686s # Test 4: \374;\322 1686s # Test 5: \303\261\303( 1686s ok 7 /uri/escape-string 1686s ok 8 /uri/escape-bytes 1686s ok 9 /uri/scheme 1686s ok 10 /uri/build 1686s ok 11 /uri/split 1686s ok 12 /uri/is_valid 1686s ok 13 /uri/to-string 1686s ok 14 /uri/join 1686s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1686s # Combination 0 1686s # Combination 1 1686s # Combination 2 1686s # Combination 3 1686s # Combination 4 1686s # Combination 5 1686s # Combination 6 1686s # Combination 7 1686s # Combination 8 1686s # Combination 9 1686s # Combination 10 1686s # Combination 11 1686s # Combination 12 1686s # Combination 13 1686s # Combination 14 1686s # Combination 15 1686s # Combination 16 1686s # Combination 17 1686s # Combination 18 1686s # Combination 19 1686s # Combination 20 1686s # Combination 21 1686s # Combination 22 1686s # Combination 23 1686s # Combination 24 1686s # Combination 25 1686s # Combination 26 1686s # Combination 27 1686s # Combination 28 1686s # Combination 29 1686s # Combination 30 1686s # Combination 31 1686s # Combination 32 1686s # Combination 33 1686s # Combination 34 1686s # Combination 35 1686s # Combination 36 1686s # Combination 37 1686s # Combination 38 1686s # Combination 39 1686s # Combination 40 1686s # Combination 41 1686s # Combination 42 1686s # Combination 43 1686s # Combination 44 1686s # Combination 45 1686s # Combination 46 1686s # Combination 47 1686s # Combination 48 1686s # Combination 49 1686s # Combination 50 1686s # Combination 51 1686s # Combination 52 1686s # Combination 53 1686s # Combination 54 1686s # Combination 55 1686s # Combination 56 1686s # Combination 57 1686s # Combination 58 1686s # Combination 59 1686s # Combination 60 1686s # Combination 61 1686s # Combination 62 1686s # Combination 63 1686s # Combination 64 1686s # Combination 65 1686s # Combination 66 1686s # Combination 67 1686s # Combination 68 1686s # Combination 69 1686s # Combination 70 1686s # Combination 71 1686s # Combination 72 1686s # Combination 73 1686s # Combination 74 1686s # Combination 75 1686s # Combination 76 1686s # Combination 77 1686s # Combination 78 1686s # Combination 79 1686s # Combination 80 1686s # Combination 81 1686s # Combination 82 1686s # Combination 83 1686s # Combination 84 1686s # Combination 85 1686s # Combination 86 1686s # Combination 87 1686s # Combination 88 1686s # Combination 89 1686s # Combination 90 1686s # Combination 91 1686s # Combination 92 1686s # Combination 93 1686s # Combination 94 1686s # Combination 95 1686s # Combination 96 1686s # Combination 97 1686s # Combination 98 1686s # Combination 99 1686s # Combination 100 1686s # Combination 101 1686s # Combination 102 1686s # Combination 103 1686s # Combination 104 1686s # Combination 105 1686s # Combination 106 1686s # Combination 107 1686s # Combination 108 1686s # Combination 109 1686s # Combination 110 1686s # Combination 111 1686s # Combination 112 1686s # Combination 113 1686s # Combination 114 1686s # Combination 115 1686s # Combination 116 1686s # Combination 117 1686s # Combination 118 1686s # Combination 119 1686s # Combination 120 1686s # Combination 121 1686s # Combination 122 1686s # Combination 123 1686s # Combination 124 1686s # Combination 125 1686s # Combination 126 1686s # Combination 127 1686s # Combination 128 1686s # Combination 129 1686s # Combination 130 1686s # Combination 131 1686s # Combination 132 1686s # Combination 133 1686s # Combination 134 1686s # Combination 135 1686s # Combination 136 1686s # Combination 137 1686s # Combination 138 1686s # Combination 139 1686s # Combination 140 1686s # Combination 141 1686s # Combination 142 1686s # Combination 143 1686s # Combination 144 1686s # Combination 145 1686s # Combination 146 1686s # Combination 147 1686s # Combination 148 1686s # Combination 149 1686s # Combination 150 1686s # Combination 151 1686s # Combination 152 1686s # Combination 153 1686s # Combination 154 1686s # Combination 155 1686s # Combination 156 1686s # Combination 157 1686s # Combination 158 1686s # Combination 159 1686s # Combination 160 1686s # Combination 161 1686s # Combination 162 1686s # Combination 163 1686s # Combination 164 1686s # Combination 165 1686s # Combination 166 1686s # Combination 167 1686s # Combination 168 1686s # Combination 169 1686s # Combination 170 1686s # Combination 171 1686s # Combination 172 1686s # Combination 173 1686s # Combination 174 1686s # Combination 175 1686s # Combination 176 1686s # Combination 177 1686s # Combination 178 1686s # Combination 179 1686s # Combination 180 1686s # Combination 181 1686s # Combination 182 1686s # Combination 183 1686s # Combination 184 1686s # Combination 185 1686s # Combination 186 1686s # Combination 187 1686s # Combination 188 1686s # Combination 189 1686s # Combination 190 1686s # Combination 191 1686s # Combination 192 1686s # Combination 193 1686s # Combination 194 1686s # Combination 195 1686s # Combination 196 1686s # Combination 197 1686s # Combination 198 1686s # Combination 199 1686s # Combination 200 1686s # Combination 201 1686s # Combination 202 1686s # Combination 203 1686s # Combination 204 1686s # Combination 205 1686s # Combination 206 1686s # Combination 207 1686s # Combination 208 1686s # Combination 209 1686s # Combination 210 1686s # Combination 211 1686s # Combination 212 1686s # Combination 213 1686s # Combination 214 1686s # Combination 215 1686s # Combination 216 1686s # Combination 217 1686s # Combination 218 1686s # Combination 219 1686s # Combination 220 1686s # Combination 221 1686s # Combination 222 1686s # Combination 223 1686s # Combination 224 1686s # Combination 225 1686s # Combination 226 1686s # Combination 227 1686s # Combination 228 1686s # Combination 229 1686s # Combination 230 1686s # Combination 231 1686s # Combination 232 1686s # Combination 233 1686s # Combination 234 1686s # Combination 235 1686s # Combination 236 1686s # Combination 237 1686s # Combination 238 1686s # Combination 239 1686s # Combination 240 1686s # Combination 241 1686s # Combination 242 1686s # Combination 243 1686s # Combination 244 1686s # Combination 245 1686s # Combination 246 1686s # Combination 247 1686s # Combination 248 1686s # Combination 249 1686s # Combination 250 1686s # Combination 251 1686s # Combination 252 1686s # Combination 253 1686s # Combination 254 1686s # Combination 255 1686s ok 15 /uri/join-split-round-trip 1686s ok 16 /uri/normalize 1686s # Start of unescape-bytes tests 1686s # Test 0: %00%00 1686s # Test 1: /cursors/none.png 1686s # Test 2: /cursors%2fbad-subdir/none.png 1686s # Test 3: %% 1686s # Test 4: % 1686s ok 17 /uri/unescape-bytes/nul-terminated 1686s # Test 0: %00%00 1686s # Test 1: /cursors/none.png 1686s # Test 2: /cursors%2fbad-subdir/none.png 1686s # Test 3: %% 1686s # Test 4: % 1686s ok 18 /uri/unescape-bytes/length 1686s # End of unescape-bytes tests 1686s # Start of parsing tests 1686s # Test 0: foo: 1686s # Test 1: file:/dev/null 1686s # Test 2: file:///dev/null 1686s # Test 3: ftp://user@host/path 1686s # Test 4: ftp://user@host:9999/path 1686s # Test 5: ftp://user:password@host/path 1686s # Test 6: ftp://user:password@host:9999/path 1686s # Test 7: ftp://user:password@host 1686s # Test 8: http://us%65r@host 1686s # Test 9: http://us%40r@host 1686s # Test 10: http://us%3ar@host 1686s # Test 11: http://us%2fr@host 1686s # Test 12: http://us%3fr@host 1686s # Test 13: http://host?query 1686s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1686s # 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 1686s # Test 16: http://space/%20 1686s # Test 17: http://delims/%3C%3E%23%25%22 1686s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1686s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1686s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1686s # Test 21: http://[3ffe:2a00:100:7031::1] 1686s # Test 22: http://[1080::8:800:200C:417A]/foo 1686s # Test 23: http://[::192.9.5.5]/ipng 1686s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1686s # Test 25: http://[2010:836B:4179::836B:4179] 1686s # Test 26: http://host/path with spaces 1686s # Test 27: http://host/path 1686s # Test 28: http://host/path 1686s # Test 29: http://host 1686s # Test 30: http://host:999 1686s # Test 31: http://host/pa 1686s # th 1686s # Test 32: http: 1686s # //host/path 1686s # Test 33: http:// host/path 1686s # Test 34: http://host/path? 1686s # Test 35: http://host/path# 1686s # Test 36: http://host/path% 1686s # Test 37: http://h%ost/path 1686s # Test 38: http://host/path%% 1686s # Test 39: http://host/path%%% 1686s # Test 40: http://host/path%/x/ 1686s # Test 41: http://host/path%0x/ 1686s # Test 42: http://host/path%ax 1686s # Test 43: http://host/p?th/ 1686s # Test 44: HTTP://////////////// 1686s # Test 45: http://@host 1686s # Test 46: http://:@host 1686s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1686s # Test 48: http://example.com/.. 1686s # Test 49: foo0://host/path 1686s # Test 50: f0.o://host/path 1686s # Test 51: http++://host/path 1686s # Test 52: http-ish://host/path 1686s # Test 53: http://[fe80::dead:beef%]/ 1686s # Test 54: http://[fe80::dead:beef%em1]/ 1686s # Test 55: http://[fe80::dead:beef%em1]/ 1686s # Test 56: http://[fe80::dead:beef%25em1]/ 1686s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1686s # Test 58: http://[fe80::dead:beef%25em%31]/ 1686s # Test 59: http://[fe80::dead:beef%10]/ 1686s # Test 60: http://[fe80::dead:beef%10]/ 1686s # Test 61: http://[fe80::dead:beef%25]/ 1686s # Test 62: http://[fe80::dead:beef%25]/ 1686s # Test 63: http://[192.168.0.1%25em1]/ 1686s # Test 64: http://[fe80::dead:beef%2em1]/ 1686s # Test 65: http://[fe80::dead:beef%2em1]/ 1686s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1686s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1686s # Test 68: http://xn--mixed-?p/ 1686s ok 19 /uri/parsing/absolute 1686s ok 20 /uri/parsing/relative 1686s # End of parsing tests 1686s # Start of iter-params tests 1686s # URI 0: p1=foo&p2=bar;p3=baz 1686s # URI 1: p1=foo&p2=bar 1686s # URI 2: p1=foo&&P1=bar 1686s # URI 3: %00=foo 1686s # URI 4: p1=%00 1686s # URI 5: p1=foo&p1=bar 1686s # URI 6: p1=foo&P1=bar 1686s # URI 7: =% 1686s # URI 8: = 1686s # URI 9: foo 1686s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1686s ok 21 /uri/iter-params/nul-terminated 1686s # URI 0: p1=foo&p2=bar;p3=baz 1686s # URI 1: p1=foo&p2=bar 1686s # URI 2: p1=foo&&P1=bar 1686s # URI 3: %00=foo 1686s # URI 4: p1=%00 1686s # URI 5: p1=foo&p1=bar 1686s # URI 6: p1=foo&P1=bar 1686s # URI 7: =% 1686s # URI 8: = 1686s # URI 9: foo 1686s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1686s ok 22 /uri/iter-params/length 1686s # End of iter-params tests 1686s # Start of parse-params tests 1686s # URI 0: p1=foo&p2=bar;p3=baz 1686s # URI 1: p1=foo&p2=bar 1686s # URI 2: p1=foo&&P1=bar 1686s # URI 3: %00=foo 1686s # URI 4: p1=%00 1686s # URI 5: p1=foo&p1=bar 1686s # URI 6: p1=foo&P1=bar 1686s # URI 7: =% 1686s # URI 8: = 1686s # URI 9: foo 1686s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1686s ok 23 /uri/parse-params/nul-terminated 1686s # URI 0: p1=foo&p2=bar;p3=baz 1686s # URI 1: p1=foo&p2=bar 1686s # URI 2: p1=foo&&P1=bar 1686s # URI 3: %00=foo 1686s # URI 4: p1=%00 1686s # URI 5: p1=foo&p1=bar 1686s # URI 6: p1=foo&P1=bar 1686s # URI 7: =% 1686s # URI 8: = 1686s # URI 9: foo 1686s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1686s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1686s ok 24 /uri/parse-params/length 1686s # End of parse-params tests 1686s # End of uri tests 1686s ok - glib/uri.test 1686s # Running test: glib/power-profile-monitor.test 1686s TAP version 14 1686s # random seed: R02S6d98696fcbbd4c660dcfe50be0eed40e 1686s 1..1 1686s # Start of power-profile-monitor tests 1686s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1686s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1686s ok 1 /power-profile-monitor/default 1686s # End of power-profile-monitor tests 1686s ok - glib/power-profile-monitor.test 1686s # Running test: glib/unix-streams.test 1686s TAP version 14 1686s # random seed: R02S86f76a0457c18df5bc84a0878190883f 1686s 1..9 1686s # Start of unix-streams tests 1686s ok 1 /unix-streams/basic 1687s ok 2 /unix-streams/pipe-io-test 1687s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1687s ok 3 /unix-streams/nonblocking-io-test 1687s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1687s ok 4 /unix-streams/read_write 1687s ok 5 /unix-streams/read_writev 1687s ok 6 /unix-streams/write-wouldblock 1687s ok 7 /unix-streams/writev-wouldblock 1687s ok 8 /unix-streams/write-async-wouldblock 1687s ok 9 /unix-streams/writev-async-wouldblock 1687s # End of unix-streams tests 1687s ok - glib/unix-streams.test 1687s # Running test: glib/reference.test 1687s TAP version 14 1687s # random seed: R02S18a2ba2b75df3aafdd80cd2d8079802b 1687s 1..29 1687s # Start of type tests 1687s ok 1 /type/fundamentals 1687s ok 2 /type/qdata 1687s ok 3 /type/query 1687s ok 4 /type/class-private 1687s # End of type tests 1687s # Start of object tests 1687s ok 5 /object/clear 1687s ok 6 /object/clear-function 1687s ok 7 /object/set 1687s ok 8 /object/set-function 1687s ok 9 /object/value 1687s ok 10 /object/initially-unowned 1687s ok 11 /object/weak-pointer 1687s ok 12 /object/weak-ref 1687s ok 13 /object/toggle-ref 1687s ok 14 /object/qdata 1687s ok 15 /object/qdata2 1687s # Start of set tests 1687s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1687s ok 16 /object/set/derived-type 1687s # End of set tests 1687s # Start of weak-pointer tests 1687s ok 17 /object/weak-pointer/clear 1687s ok 18 /object/weak-pointer/clear-function 1687s ok 19 /object/weak-pointer/set 1687s ok 20 /object/weak-pointer/set-function 1687s # End of weak-pointer tests 1687s # Start of weak-ref tests 1687s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1687s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1687s ok 21 /object/weak-ref/on-dispose 1687s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1687s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1687s ok 22 /object/weak-ref/on-run-dispose 1687s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1687s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1687s ok 23 /object/weak-ref/on-toggle-notify 1687s ok 24 /object/weak-ref/in-toggle-notify 1687s ok 25 /object/weak-ref/many 1687s # Start of concurrent tests 1687s ok 26 /object/weak-ref/concurrent/0 1687s ok 27 /object/weak-ref/concurrent/1 1687s # End of concurrent tests 1687s # End of weak-ref tests 1687s # Start of toggle-ref tests 1687s ok 28 /object/toggle-ref/ref-on-dispose 1687s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1687s # End of toggle-ref tests 1687s # End of object tests 1687s ok - glib/reference.test 1687s # Running test: glib/slist.test 1687s TAP version 14 1687s # random seed: R02S9f5024a1b9ff48b8d3ec1a75b5ac1e12 1687s 1..14 1687s # Start of slist tests 1687s ok 1 /slist/sort 1687s ok 2 /slist/sort-with-data 1687s ok 3 /slist/insert-sorted 1687s ok 4 /slist/insert-sorted-with-data 1687s ok 5 /slist/reverse 1687s ok 6 /slist/nth 1687s ok 7 /slist/remove 1687s ok 8 /slist/remove-all 1687s ok 9 /slist/insert 1687s ok 10 /slist/position 1687s ok 11 /slist/concat 1687s ok 12 /slist/copy 1687s # Start of sort tests 1687s ok 13 /slist/sort/stable 1687s # End of sort tests 1687s # Start of copy tests 1687s ok 14 /slist/copy/deep 1687s # End of copy tests 1687s # End of slist tests 1687s ok - glib/slist.test 1687s # Running test: glib/boxed.test 1687s TAP version 14 1687s # random seed: R02S5e74ab0854fe4c4046d25664556eb761 1687s 1..27 1687s # Start of boxed tests 1687s ok 1 /boxed/define 1687s ok 2 /boxed/ownership 1687s ok 3 /boxed/closure 1687s ok 4 /boxed/date 1687s ok 5 /boxed/value 1687s ok 6 /boxed/string 1687s ok 7 /boxed/hashtable 1687s ok 8 /boxed/array 1687s ok 9 /boxed/ptrarray 1687s ok 10 /boxed/regex 1687s ok 11 /boxed/varianttype 1687s ok 12 /boxed/error 1687s ok 13 /boxed/datetime 1687s ok 14 /boxed/matchinfo 1687s ok 15 /boxed/keyfile 1687s ok 16 /boxed/mainloop 1687s ok 17 /boxed/maincontext 1687s ok 18 /boxed/source 1687s ok 19 /boxed/variantbuilder 1687s ok 20 /boxed/timezone 1687s ok 21 /boxed/pollfd 1687s ok 22 /boxed/markup 1687s ok 23 /boxed/thread 1687s ok 24 /boxed/checksum 1687s ok 25 /boxed/tree 1687s ok 26 /boxed/patternspec 1687s ok 27 /boxed/rand 1687s # End of boxed tests 1687s ok - glib/boxed.test 1687s # Running test: glib/gdbus-bz627724.test 1687s TAP version 14 1687s # random seed: R02S3e3c2ed7cc006a3377129bf26e47a0d2 1687s 1..1 1687s # Start of gdbus tests 1687s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/home 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/cache 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/system-config2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/config 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/system-data2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/data 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/state 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_G42KZ2/gdbus/bz627724/.dirs/runtime 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1687s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1687s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1687s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1687s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1687s ok 1 /gdbus/bz627724 1687s # End of gdbus tests 1687s ok - glib/gdbus-bz627724.test 1687s # Running test: glib/codegen.py.test 1687s TAP version 13 1687s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1687s # tmpdir: /tmp/tmp65_3hbr9 1687s # codegen: /usr/bin/gdbus-codegen 1687s # /tmp/tmp65_3hbr9/tmp0n8_196i.xml: 1687s # 1687s # 1687s # 1687s # 1687s # 1687s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp65_3hbr9/tmp0n8_196i.xml', '--output', '-', '--header'] 1687s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1687s # Output: /* 1687s # * This file is generated by gdbus-codegen, do not modify it. 1687s # * 1687s # * The license of this code is the same as for the D-Bus interface description 1687s # * it was derived from. Note that it links to GLib, so must comply with the 1687s # * LGPL linking clauses. 1687s # */ 1687s # 1687s # #ifndef __STDOUT__ 1687s # #define __STDOUT__ 1687s # 1687s # #include 1687s # 1687s # G_BEGIN_DECLS 1687s # 1687s # 1687s # /* ------------------------------------------------------------------------ */ 1687s # /* Declarations for org.project.UsefulInterface */ 1687s # 1687s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1687s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1687s # 1687s # struct _OrgProjectUsefulInterface; 1687s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1687s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1687s # 1687s # struct _OrgProjectUsefulInterfaceIface 1687s # { 1687s # GTypeInterface parent_iface; 1687s # 1687s # gboolean (*handle_useful_method) ( 1687s # OrgProjectUsefulInterface *object, 1687s # GDBusMethodInvocation *invocation); 1687s # 1687s # }; 1687s # 1687s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1687s # 1687s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1687s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1687s # 1687s # 1687s # /* D-Bus method call completion functions: */ 1687s # void org_project_useful_interface_complete_useful_method ( 1687s # OrgProjectUsefulInterface *object, 1687s # GDBusMethodInvocation *invocation); 1687s # 1687s # 1687s # 1687s # /* D-Bus method calls: */ 1687s # void org_project_useful_interface_call_useful_method ( 1687s # OrgProjectUsefulInterface *proxy, 1687s # GCancellable *cancellable, 1687s # GAsyncReadyCallback callback, 1687s # gpointer user_data); 1687s # 1687s # gboolean org_project_useful_interface_call_useful_method_finish ( 1687s # OrgProjectUsefulInterface *proxy, 1687s # GAsyncResult *res, 1687s # GError **error); 1687s # 1687s # gboolean org_project_useful_interface_call_useful_method_sync ( 1687s # OrgProjectUsefulInterface *proxy, 1687s # GCancellable *cancellable, 1687s # GError **error); 1687s # 1687s # 1687s # 1687s # /* ---- */ 1687s # 1687s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1687s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1687s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1687s # 1687s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1687s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1687s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1687s # 1687s # struct _OrgProjectUsefulInterfaceProxy 1687s # { 1687s # /*< private >*/ 1687s # GDBusProxy parent_instance; 1687s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1687s # }; 1687s # 1687s # struct _OrgProjectUsefulInterfaceProxyClass 1687s # { 1687s # GDBusProxyClass parent_class; 1687s # }; 1687s # 1687s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1687s # 1687s # #if GLIB_CHECK_VERSION(2, 44, 0) 1687s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1687s # #endif 1687s # 1687s # void org_project_useful_interface_proxy_new ( 1687s # GDBusConnection *connection, 1687s # GDBusProxyFlags flags, 1687s # const gchar *name, 1687s # const gchar *object_path, 1687s # GCancellable *cancellable, 1687s # GAsyncReadyCallback callback, 1687s # gpointer user_data); 1687s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1687s # GAsyncResult *res, 1687s # GError **error); 1687s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1687s # GDBusConnection *connection, 1687s # GDBusProxyFlags flags, 1687s # const gchar *name, 1687s # const gchar *object_path, 1687s # GCancellable *cancellable, 1687s # GError **error); 1687s # 1687s # void org_project_useful_interface_proxy_new_for_bus ( 1687s # GBusType bus_type, 1687s # GDBusProxyFlags flags, 1687s # const gchar *name, 1687s # const gchar *object_path, 1687s # GCancellable *cancellable, 1687s # GAsyncReadyCallback callback, 1687s # gpointer user_data); 1687s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1687s # GAsyncResult *res, 1687s # GError **error); 1687s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1687s # GBusType bus_type, 1687s # GDBusProxyFlags flags, 1687s # const gchar *name, 1687s # const gchar *object_path, 1687s # GCancellable *cancellable, 1687s # GError **error); 1687s # 1687s # 1687s # /* ---- */ 1687s # 1687s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1687s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # 1688s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeleton 1688s # { 1688s # /*< private >*/ 1688s # GDBusInterfaceSkeleton parent_instance; 1688s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1688s # }; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeletonClass 1688s # { 1688s # GDBusInterfaceSkeletonClass parent_class; 1688s # }; 1688s # 1688s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1688s # 1688s # #if GLIB_CHECK_VERSION(2, 44, 0) 1688s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1688s # #endif 1688s # 1688s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1688s # 1688s # 1688s # G_END_DECLS 1688s # 1688s # #endif /* __STDOUT__ */ 1688s # /tmp/tmp65_3hbr9/tmpy3rmgrdw.xml: 1688s # 1688s # 1688s # 1688s # 1688s # 1688s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp65_3hbr9/tmpy3rmgrdw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1688s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1688s # Output: /* 1688s # * This file is generated by gdbus-codegen, do not modify it. 1688s # * 1688s # * The license of this code is the same as for the D-Bus interface description 1688s # * it was derived from. Note that it links to GLib, so must comply with the 1688s # * LGPL linking clauses. 1688s # */ 1688s # 1688s # #ifndef __STDOUT__ 1688s # #define __STDOUT__ 1688s # 1688s # #include 1688s # 1688s # G_BEGIN_DECLS 1688s # 1688s # 1688s # /* ------------------------------------------------------------------------ */ 1688s # /* Declarations for org.project.UsefulInterface */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1688s # 1688s # struct _OrgProjectUsefulInterface; 1688s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1688s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1688s # 1688s # struct _OrgProjectUsefulInterfaceIface 1688s # { 1688s # GTypeInterface parent_iface; 1688s # 1688s # gboolean (*handle_useful_method) ( 1688s # OrgProjectUsefulInterface *object, 1688s # GDBusMethodInvocation *invocation); 1688s # 1688s # }; 1688s # 1688s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1688s # 1688s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1688s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1688s # 1688s # 1688s # /* D-Bus method call completion functions: */ 1688s # void org_project_useful_interface_complete_useful_method ( 1688s # OrgProjectUsefulInterface *object, 1688s # GDBusMethodInvocation *invocation); 1688s # 1688s # 1688s # 1688s # /* D-Bus method calls: */ 1688s # void org_project_useful_interface_call_useful_method ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # 1688s # gboolean org_project_useful_interface_call_useful_method_finish ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # 1688s # gboolean org_project_useful_interface_call_useful_method_sync ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # 1688s # 1688s # /* ---- */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1688s # 1688s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1688s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1688s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1688s # 1688s # struct _OrgProjectUsefulInterfaceProxy 1688s # { 1688s # /*< private >*/ 1688s # GDBusProxy parent_instance; 1688s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1688s # }; 1688s # 1688s # struct _OrgProjectUsefulInterfaceProxyClass 1688s # { 1688s # GDBusProxyClass parent_class; 1688s # }; 1688s # 1688s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1688s # 1688s # #if GLIB_CHECK_VERSION(2, 44, 0) 1688s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1688s # #endif 1688s # 1688s # void org_project_useful_interface_proxy_new ( 1688s # GDBusConnection *connection, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1688s # GDBusConnection *connection, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # void org_project_useful_interface_proxy_new_for_bus ( 1688s # GBusType bus_type, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1688s # GBusType bus_type, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # 1688s # /* ---- */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # 1688s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeleton 1688s # { 1688s # /*< private >*/ 1688s # GDBusInterfaceSkeleton parent_instance; 1688s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1688s # }; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeletonClass 1688s # { 1688s # GDBusInterfaceSkeletonClass parent_class; 1688s # }; 1688s # 1688s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1688s # 1688s # #if GLIB_CHECK_VERSION(2, 44, 0) 1688s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1688s # #endif 1688s # 1688s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1688s # 1688s # 1688s # G_END_DECLS 1688s # 1688s # #endif /* __STDOUT__ */ 1688s # /tmp/tmp65_3hbr9/tmpsmhs12xl.xml: 1688s # 1688s # 1688s # 1688s # 1688s # 1688s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp65_3hbr9/tmpsmhs12xl.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1688s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1688s # Output: /* 1688s # * This file is generated by gdbus-codegen, do not modify it. 1688s # * 1688s # * The license of this code is the same as for the D-Bus interface description 1688s # * it was derived from. Note that it links to GLib, so must comply with the 1688s # * LGPL linking clauses. 1688s # */ 1688s # 1688s # #ifndef __STDOUT__ 1688s # #define __STDOUT__ 1688s # 1688s # #include 1688s # 1688s # G_BEGIN_DECLS 1688s # 1688s # 1688s # /* ------------------------------------------------------------------------ */ 1688s # /* Declarations for org.project.UsefulInterface */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1688s # 1688s # struct _OrgProjectUsefulInterface; 1688s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1688s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1688s # 1688s # struct _OrgProjectUsefulInterfaceIface 1688s # { 1688s # GTypeInterface parent_iface; 1688s # 1688s # gboolean (*handle_useful_method) ( 1688s # OrgProjectUsefulInterface *object, 1688s # GDBusMethodInvocation *invocation); 1688s # 1688s # }; 1688s # 1688s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1688s # 1688s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1688s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1688s # 1688s # 1688s # /* D-Bus method call completion functions: */ 1688s # void org_project_useful_interface_complete_useful_method ( 1688s # OrgProjectUsefulInterface *object, 1688s # GDBusMethodInvocation *invocation); 1688s # 1688s # 1688s # 1688s # /* D-Bus method calls: */ 1688s # void org_project_useful_interface_call_useful_method ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GDBusCallFlags call_flags, 1688s # gint timeout_msec, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # 1688s # gboolean org_project_useful_interface_call_useful_method_finish ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # 1688s # gboolean org_project_useful_interface_call_useful_method_sync ( 1688s # OrgProjectUsefulInterface *proxy, 1688s # GDBusCallFlags call_flags, 1688s # gint timeout_msec, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # 1688s # 1688s # /* ---- */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1688s # 1688s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1688s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1688s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1688s # 1688s # struct _OrgProjectUsefulInterfaceProxy 1688s # { 1688s # /*< private >*/ 1688s # GDBusProxy parent_instance; 1688s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1688s # }; 1688s # 1688s # struct _OrgProjectUsefulInterfaceProxyClass 1688s # { 1688s # GDBusProxyClass parent_class; 1688s # }; 1688s # 1688s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1688s # 1688s # #if GLIB_CHECK_VERSION(2, 44, 0) 1688s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1688s # #endif 1688s # 1688s # void org_project_useful_interface_proxy_new ( 1688s # GDBusConnection *connection, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1688s # GDBusConnection *connection, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # void org_project_useful_interface_proxy_new_for_bus ( 1688s # GBusType bus_type, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GAsyncReadyCallback callback, 1688s # gpointer user_data); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1688s # GAsyncResult *res, 1688s # GError **error); 1688s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1688s # GBusType bus_type, 1688s # GDBusProxyFlags flags, 1688s # const gchar *name, 1688s # const gchar *object_path, 1688s # GCancellable *cancellable, 1688s # GError **error); 1688s # 1688s # 1688s # /* ---- */ 1688s # 1688s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1688s # 1688s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1688s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeleton 1688s # { 1688s # /*< private >*/ 1688s # GDBusInterfaceSkeleton parent_instance; 1688s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1688s # }; 1688s # 1688s # struct _OrgProjectUsefulInterfaceSkeletonClass 1688s # { 1688s # GDBusInterfaceSkeletonClass parent_class; 1688s # }; 1688s # 1688s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1688s # 1688s # #if GLIB_CHECK_VERSION(2, 44, 0) 1688s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1688s # #endif 1688s # 1688s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1688s # 1688s # 1688s # G_END_DECLS 1688s # 1688s # #endif /* __STDOUT__ */ 1689s ok 2 __main__.TestCodegen.test_dbus_types 1689s # tmpdir: /tmp/tmph2ecu1l7 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmph2ecu1l7/tmp_x3ynr9d.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp_x3ynr9d.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpzcol2wl6.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpzcol2wl6.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpvsa9qb3n.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpvsa9qb3n.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmp86yicxhf.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp86yicxhf.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpam42944_.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpam42944_.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpj18gmxy3.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpj18gmxy3.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpulhad6rf.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpulhad6rf.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmps5nv1d06.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmps5nv1d06.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmphff45ujh.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmphff45ujh.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmp6q667x2b.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp6q667x2b.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpgb0xue06.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpgb0xue06.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmpt12zjy1a.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmpt12zjy1a.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmp1gi95hlp.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp1gi95hlp.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # /tmp/tmph2ecu1l7/tmptxei26nn.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmptxei26nn.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s # #ifdef G_OS_UNIX 1689s # # include 1689s # #endif 1689s # 1689s # #ifdef G_ENABLE_DEBUG 1689s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1689s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1689s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1689s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1689s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1689s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1689s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1689s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1689s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1689s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1689s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1689s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1689s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1689s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1689s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1689s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1689s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1689s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1689s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1689s # #else /* !G_ENABLE_DEBUG */ 1689s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1689s # * Do not access GValues directly in your code. Instead, use the 1689s # * g_value_get_*() functions 1689s # */ 1689s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1689s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1689s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1689s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1689s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1689s # #endif /* !G_ENABLE_DEBUG */ 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusArgInfo parent_struct; 1689s # gboolean use_gvariant; 1689s # } _ExtendedGDBusArgInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusMethodInfo parent_struct; 1689s # const gchar *signal_name; 1689s # gboolean pass_fdlist; 1689s # } _ExtendedGDBusMethodInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusSignalInfo parent_struct; 1689s # const gchar *signal_name; 1689s # } _ExtendedGDBusSignalInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusPropertyInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # guint use_gvariant : 1; 1689s # guint emits_changed_signal : 1; 1689s # } _ExtendedGDBusPropertyInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusInterfaceInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # } _ExtendedGDBusInterfaceInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # guint prop_id; 1689s # GValue orig_value; /* the value before the change */ 1689s # } ChangedProperty; 1689s # 1689s # static void 1689s # _changed_property_free (ChangedProperty *data) 1689s # { 1689s # g_value_unset (&data->orig_value); 1689s # g_free (data); 1689s # } 1689s # 1689s # static gboolean 1689s # _g_strv_equal0 (gchar **a, gchar **b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # guint n; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # if (g_strv_length (a) != g_strv_length (b)) 1689s # goto out; 1689s # for (n = 0; a[n] != NULL; n++) 1689s # if (g_strcmp0 (a[n], b[n]) != 0) 1689s # goto out; 1689s # ret = TRUE; 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _g_variant_equal0 (GVariant *a, GVariant *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # ret = g_variant_equal (a, b); 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # G_GNUC_UNUSED static gboolean 1689s # _g_value_equal (const GValue *a, const GValue *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1689s # switch (G_VALUE_TYPE (a)) 1689s # { 1689s # case G_TYPE_BOOLEAN: 1689s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1689s # break; 1689s # case G_TYPE_UCHAR: 1689s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1689s # break; 1689s # case G_TYPE_INT: 1689s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1689s # break; 1689s # case G_TYPE_UINT: 1689s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1689s # break; 1689s # case G_TYPE_INT64: 1689s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1689s # break; 1689s # case G_TYPE_UINT64: 1689s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1689s # break; 1689s # case G_TYPE_DOUBLE: 1689s # { 1689s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1689s # gdouble da = g_value_get_double (a); 1689s # gdouble db = g_value_get_double (b); 1689s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1689s # } 1689s # break; 1689s # case G_TYPE_STRING: 1689s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1689s # break; 1689s # case G_TYPE_VARIANT: 1689s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1689s # break; 1689s # default: 1689s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1689s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1689s # else 1689s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1689s # break; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ 1689s # * Code for interface GoodTypes 1689s # * ------------------------------------------------------------------------ 1689s # */ 1689s # 1689s # /** 1689s # * SECTION:GoodTypes 1689s # * @title: GoodTypes 1689s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1689s # * 1689s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1689s # */ 1689s # 1689s # /* ---- Introspection data for GoodTypes ---- */ 1689s # 1689s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodPropertyType", 1689s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1689s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1689s # NULL 1689s # }, 1689s # "good-property-type", 1689s # FALSE, 1689s # TRUE 1689s # }; 1689s # 1689s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1689s # { 1689s # &_good_types_property_info_good_property_type.parent_struct, 1689s # NULL 1689s # }; 1689s # 1689s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodTypes", 1689s # NULL, 1689s # NULL, 1689s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1689s # NULL 1689s # }, 1689s # "good-types", 1689s # }; 1689s # 1689s # 1689s # /** 1689s # * good_types_interface_info: 1689s # * 1689s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1689s # * 1689s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1689s # */ 1689s # GDBusInterfaceInfo * 1689s # good_types_interface_info (void) 1689s # { 1689s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1689s # } 1689s # 1689s # /** 1689s # * good_types_override_properties: 1689s # * @klass: The class structure for a #GObject derived class. 1689s # * @property_id_begin: The property id to assign to the first overridden property. 1689s # * 1689s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1689s # * The properties are overridden in the order they are defined. 1689s # * 1689s # * Returns: The last property id. 1689s # */ 1689s # guint 1689s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1689s # { 1689s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1689s # return property_id_begin - 1; 1689s # } 1689s # 1689s # 1689s # 1689s # /** 1689s # * GoodTypes: 1689s # * 1689s # * Abstract interface type for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesIface: 1689s # * @parent_iface: The parent interface. 1689s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1689s # * 1689s # * Virtual table for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # typedef GoodTypesIface GoodTypesInterface; 1689s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1689s # 1689s # static void 1689s # good_types_default_init (GoodTypesIface *iface) 1689s # { 1689s # /* GObject properties for D-Bus properties: */ 1689s # /** 1689s # * GoodTypes:good-property-type: 1689s # * 1689s # * Represents the D-Bus property "GoodPropertyType". 1689s # * 1689s # * 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. 1689s # */ 1689s # g_object_interface_install_property (iface, 1689s # 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)); 1689s # } 1689s # 1689s # /** 1689s # * good_types_get_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets the value of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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. 1689s # * 1689s # * 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. 1689s # */ 1689s # GVariant * 1689s # good_types_get_good_property_type (GoodTypes *object) 1689s # { 1689s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1689s # 1689s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1689s # } 1689s # 1689s # /** 1689s # * good_types_dup_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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(). 1689s # */ 1689s # GVariant * 1689s # good_types_dup_good_property_type (GoodTypes *object) 1689s # { 1689s # GVariant *value; 1689s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1689s # return value; 1689s # } 1689s # 1689s # /** 1689s # * good_types_set_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * @value: The value to set. 1689s # * 1689s # * Sets the "GoodPropertyType" D-Bus property to @value. 1689s # * 1689s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1689s # */ 1689s # void 1689s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1689s # { 1689s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesProxy: 1689s # * 1689s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesProxyClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesProxy. 1689s # */ 1689s # 1689s # struct _GoodTypesProxyPrivate 1689s # { 1689s # GData *qdata; 1689s # }; 1689s # 1689s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_ADD_PRIVATE (GoodTypesProxy) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_proxy_finalize (GObject *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # g_datalist_clear (&proxy->priv->qdata); 1689s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1689s # if (info->use_gvariant) 1689s # { 1689s # g_value_set_variant (value, variant); 1689s # } 1689s # else 1689s # { 1689s # if (variant != NULL) 1689s # g_dbus_gvariant_to_gvalue (variant, value); 1689s # } 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1689s # GAsyncResult *res, 1689s # gpointer user_data) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info = user_data; 1689s # GError *error; 1689s # GVariant *_ret; 1689s # error = NULL; 1689s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1689s # if (!_ret) 1689s # { 1689s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1689s # info->parent_struct.name, 1689s # error->message, g_quark_to_string (error->domain), error->code); 1689s # g_error_free (error); 1689s # } 1689s # else 1689s # { 1689s # g_variant_unref (_ret); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1689s # "org.freedesktop.DBus.Properties.Set", 1689s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_signal (GDBusProxy *proxy, 1689s # const gchar *sender_name G_GNUC_UNUSED, 1689s # const gchar *signal_name, 1689s # GVariant *parameters) 1689s # { 1689s # _ExtendedGDBusSignalInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # gsize n; 1689s # guint signal_id; 1689s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1689s # if (info == NULL) 1689s # return; 1689s # num_params = g_variant_n_children (parameters); 1689s # paramv = g_new0 (GValue, num_params + 1); 1689s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[0], proxy); 1689s # g_variant_iter_init (&iter, parameters); 1689s # n = 1; 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_signal_emitv (paramv, signal_id, 0, NULL); 1689s # for (n = 0; n < num_params + 1; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1689s # GVariant *changed_properties, 1689s # const gchar *const *invalidated_properties) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1689s # guint n; 1689s # const gchar *key; 1689s # GVariantIter *iter; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # g_variant_get (changed_properties, "a{sv}", &iter); 1689s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1689s # g_datalist_remove_data (&proxy->priv->qdata, key); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # g_variant_iter_free (iter); 1689s # for (n = 0; invalidated_properties[n] != NULL; n++) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1689s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_proxy_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # GVariant *variant; 1689s # GVariant *value = NULL; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1689s # value = variant; 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_init (GoodTypesProxy *proxy) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1689s # #else 1689s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1689s # #endif 1689s # 1689s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusProxyClass *proxy_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_proxy_finalize; 1689s # gobject_class->get_property = good_types_proxy_get_property; 1689s # gobject_class->set_property = good_types_proxy_set_property; 1689s # 1689s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1689s # proxy_class->g_signal = good_types_proxy_g_signal; 1689s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_sync: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_sync ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new_for_bus ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_sync: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_sync ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesSkeleton: 1689s # * 1689s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesSkeletonClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesSkeleton. 1689s # */ 1689s # 1689s # struct _GoodTypesSkeletonPrivate 1689s # { 1689s # GValue *properties; 1689s # GList *changed_properties; 1689s # GSource *changed_properties_idle_source; 1689s # GMainContext *context; 1689s # GMutex lock; 1689s # }; 1689s # 1689s # static void 1689s # _good_types_skeleton_handle_method_call ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name, 1689s # const gchar *method_name, 1689s # GVariant *parameters, 1689s # GDBusMethodInvocation *invocation, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # _ExtendedGDBusMethodInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # guint num_extra; 1689s # gsize n; 1689s # guint signal_id; 1689s # GValue return_value = G_VALUE_INIT; 1689s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1689s # g_assert (info != NULL); 1689s # num_params = g_variant_n_children (parameters); 1689s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1689s # n = 0; 1689s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[n++], skeleton); 1689s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1689s # g_value_set_object (¶mv[n++], invocation); 1689s # if (info->pass_fdlist) 1689s # { 1689s # #ifdef G_OS_UNIX 1689s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1689s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1689s # #else 1689s # g_assert_not_reached (); 1689s # #endif 1689s # } 1689s # g_variant_iter_init (&iter, parameters); 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1689s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1689s # if (!g_value_get_boolean (&return_value)) 1689s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1689s # g_value_unset (&return_value); 1689s # for (n = 0; n < num_params + num_extra; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static GVariant * 1689s # _good_types_skeleton_handle_get_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *ret; 1689s # ret = NULL; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # g_value_init (&value, pspec->value_type); 1689s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_value_unset (&value); 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_skeleton_handle_set_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GVariant *variant, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # gboolean ret; 1689s # ret = FALSE; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # if (info->use_gvariant) 1689s # g_value_set_variant (&value, variant); 1689s # else 1689s # g_dbus_gvariant_to_gvalue (variant, &value); 1689s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # g_value_unset (&value); 1689s # ret = TRUE; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1689s # { 1689s # _good_types_skeleton_handle_method_call, 1689s # _good_types_skeleton_handle_get_property, 1689s # _good_types_skeleton_handle_set_property, 1689s # {NULL} 1689s # }; 1689s # 1689s # static GDBusInterfaceInfo * 1689s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return good_types_interface_info (); 1689s # } 1689s # 1689s # static GDBusInterfaceVTable * 1689s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # 1689s # GVariantBuilder builder; 1689s # guint n; 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # if (_good_types_interface_info.parent_struct.properties == NULL) 1689s # goto out; 1689s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1689s # { 1689s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1689s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1689s # { 1689s # GVariant *value; 1689s # 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); 1689s # if (value != NULL) 1689s # { 1689s # g_variant_take_ref (value); 1689s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1689s # g_variant_unref (value); 1689s # } 1689s # } 1689s # } 1689s # out: 1689s # return g_variant_builder_end (&builder); 1689s # } 1689s # 1689s # static gboolean _good_types_emit_changed (gpointer user_data); 1689s # 1689s # static void 1689s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # gboolean emit_changed = FALSE; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # { 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # emit_changed = TRUE; 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # 1689s # if (emit_changed) 1689s # _good_types_emit_changed (skeleton); 1689s # } 1689s # 1689s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_ADD_PRIVATE (GoodTypesSkeleton) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_skeleton_finalize (GObject *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # guint n; 1689s # for (n = 0; n < 1; n++) 1689s # g_value_unset (&skeleton->priv->properties[n]); 1689s # g_free (skeleton->priv->properties); 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # g_main_context_unref (skeleton->priv->context); 1689s # g_mutex_clear (&skeleton->priv->lock); 1689s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_emit_changed (gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GList *l; 1689s # GVariantBuilder builder; 1689s # GVariantBuilder invalidated_builder; 1689s # guint num_changes; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1689s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *cp = l->data; 1689s # GVariant *variant; 1689s # const GValue *cur_value; 1689s # 1689s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1689s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1689s # { 1689s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1689s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1689s # g_variant_unref (variant); 1689s # num_changes++; 1689s # } 1689s # } 1689s # if (num_changes > 0) 1689s # { 1689s # GList *connections, *ll; 1689s # GVariant *signal_variant; 1689s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1689s # &builder, &invalidated_builder)); 1689s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1689s # for (ll = connections; ll != NULL; ll = ll->next) 1689s # { 1689s # GDBusConnection *connection = ll->data; 1689s # 1689s # g_dbus_connection_emit_signal (connection, 1689s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1689s # "org.freedesktop.DBus.Properties", 1689s # "PropertiesChanged", 1689s # signal_variant, 1689s # NULL); 1689s # } 1689s # g_variant_unref (signal_variant); 1689s # g_list_free_full (connections, g_object_unref); 1689s # } 1689s # else 1689s # { 1689s # g_variant_builder_clear (&builder); 1689s # g_variant_builder_clear (&invalidated_builder); 1689s # } 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # skeleton->priv->changed_properties = NULL; 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return FALSE; 1689s # } 1689s # 1689s # static void 1689s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1689s # { 1689s # ChangedProperty *cp; 1689s # GList *l; 1689s # cp = NULL; 1689s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *i_cp = l->data; 1689s # if (i_cp->info == info) 1689s # { 1689s # cp = i_cp; 1689s # break; 1689s # } 1689s # } 1689s # if (cp == NULL) 1689s # { 1689s # cp = g_new0 (ChangedProperty, 1); 1689s # cp->prop_id = prop_id; 1689s # cp->info = info; 1689s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1689s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1689s # g_value_copy (orig_value, &cp->orig_value); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_notify (GObject *object, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties != NULL && 1689s # skeleton->priv->changed_properties_idle_source == NULL) 1689s # { 1689s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1689s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1689s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1689s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1689s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1689s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_object_freeze_notify (object); 1689s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1689s # { 1689s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1689s # info->emits_changed_signal) 1689s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1689s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1689s # g_object_notify_by_pspec (object, pspec); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # g_object_thaw_notify (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1689s # #else 1689s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1689s # #endif 1689s # 1689s # g_mutex_init (&skeleton->priv->lock); 1689s # skeleton->priv->context = g_main_context_ref_thread_default (); 1689s # skeleton->priv->properties = g_new0 (GValue, 1); 1689s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # GVariant *value; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusInterfaceSkeletonClass *skeleton_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_skeleton_finalize; 1689s # gobject_class->get_property = good_types_skeleton_get_property; 1689s # gobject_class->set_property = good_types_skeleton_set_property; 1689s # gobject_class->notify = good_types_skeleton_notify; 1689s # 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1689s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1689s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1689s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1689s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_skeleton_new: 1689s # * 1689s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1689s # */ 1689s # GoodTypes * 1689s # good_types_skeleton_new (void) 1689s # { 1689s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1689s # } 1689s # /tmp/tmph2ecu1l7/tmp5o0v_jid.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp5o0v_jid.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s # #ifdef G_OS_UNIX 1689s # # include 1689s # #endif 1689s # 1689s # #ifdef G_ENABLE_DEBUG 1689s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1689s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1689s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1689s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1689s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1689s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1689s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1689s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1689s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1689s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1689s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1689s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1689s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1689s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1689s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1689s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1689s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1689s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1689s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1689s # #else /* !G_ENABLE_DEBUG */ 1689s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1689s # * Do not access GValues directly in your code. Instead, use the 1689s # * g_value_get_*() functions 1689s # */ 1689s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1689s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1689s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1689s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1689s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1689s # #endif /* !G_ENABLE_DEBUG */ 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusArgInfo parent_struct; 1689s # gboolean use_gvariant; 1689s # } _ExtendedGDBusArgInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusMethodInfo parent_struct; 1689s # const gchar *signal_name; 1689s # gboolean pass_fdlist; 1689s # } _ExtendedGDBusMethodInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusSignalInfo parent_struct; 1689s # const gchar *signal_name; 1689s # } _ExtendedGDBusSignalInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusPropertyInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # guint use_gvariant : 1; 1689s # guint emits_changed_signal : 1; 1689s # } _ExtendedGDBusPropertyInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusInterfaceInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # } _ExtendedGDBusInterfaceInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # guint prop_id; 1689s # GValue orig_value; /* the value before the change */ 1689s # } ChangedProperty; 1689s # 1689s # static void 1689s # _changed_property_free (ChangedProperty *data) 1689s # { 1689s # g_value_unset (&data->orig_value); 1689s # g_free (data); 1689s # } 1689s # 1689s # static gboolean 1689s # _g_strv_equal0 (gchar **a, gchar **b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # guint n; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # if (g_strv_length (a) != g_strv_length (b)) 1689s # goto out; 1689s # for (n = 0; a[n] != NULL; n++) 1689s # if (g_strcmp0 (a[n], b[n]) != 0) 1689s # goto out; 1689s # ret = TRUE; 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _g_variant_equal0 (GVariant *a, GVariant *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # ret = g_variant_equal (a, b); 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # G_GNUC_UNUSED static gboolean 1689s # _g_value_equal (const GValue *a, const GValue *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1689s # switch (G_VALUE_TYPE (a)) 1689s # { 1689s # case G_TYPE_BOOLEAN: 1689s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1689s # break; 1689s # case G_TYPE_UCHAR: 1689s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1689s # break; 1689s # case G_TYPE_INT: 1689s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1689s # break; 1689s # case G_TYPE_UINT: 1689s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1689s # break; 1689s # case G_TYPE_INT64: 1689s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1689s # break; 1689s # case G_TYPE_UINT64: 1689s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1689s # break; 1689s # case G_TYPE_DOUBLE: 1689s # { 1689s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1689s # gdouble da = g_value_get_double (a); 1689s # gdouble db = g_value_get_double (b); 1689s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1689s # } 1689s # break; 1689s # case G_TYPE_STRING: 1689s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1689s # break; 1689s # case G_TYPE_VARIANT: 1689s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1689s # break; 1689s # default: 1689s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1689s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1689s # else 1689s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1689s # break; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ 1689s # * Code for interface GoodTypes 1689s # * ------------------------------------------------------------------------ 1689s # */ 1689s # 1689s # /** 1689s # * SECTION:GoodTypes 1689s # * @title: GoodTypes 1689s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1689s # * 1689s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1689s # */ 1689s # 1689s # /* ---- Introspection data for GoodTypes ---- */ 1689s # 1689s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodPropertyType", 1689s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1689s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1689s # NULL 1689s # }, 1689s # "good-property-type", 1689s # FALSE, 1689s # TRUE 1689s # }; 1689s # 1689s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1689s # { 1689s # &_good_types_property_info_good_property_type.parent_struct, 1689s # NULL 1689s # }; 1689s # 1689s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodTypes", 1689s # NULL, 1689s # NULL, 1689s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1689s # NULL 1689s # }, 1689s # "good-types", 1689s # }; 1689s # 1689s # 1689s # /** 1689s # * good_types_interface_info: 1689s # * 1689s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1689s # * 1689s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1689s # */ 1689s # GDBusInterfaceInfo * 1689s # good_types_interface_info (void) 1689s # { 1689s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1689s # } 1689s # 1689s # /** 1689s # * good_types_override_properties: 1689s # * @klass: The class structure for a #GObject derived class. 1689s # * @property_id_begin: The property id to assign to the first overridden property. 1689s # * 1689s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1689s # * The properties are overridden in the order they are defined. 1689s # * 1689s # * Returns: The last property id. 1689s # */ 1689s # guint 1689s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1689s # { 1689s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1689s # return property_id_begin - 1; 1689s # } 1689s # 1689s # 1689s # 1689s # /** 1689s # * GoodTypes: 1689s # * 1689s # * Abstract interface type for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesIface: 1689s # * @parent_iface: The parent interface. 1689s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1689s # * 1689s # * Virtual table for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # typedef GoodTypesIface GoodTypesInterface; 1689s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1689s # 1689s # static void 1689s # good_types_default_init (GoodTypesIface *iface) 1689s # { 1689s # /* GObject properties for D-Bus properties: */ 1689s # /** 1689s # * GoodTypes:good-property-type: 1689s # * 1689s # * Represents the D-Bus property "GoodPropertyType". 1689s # * 1689s # * 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. 1689s # */ 1689s # g_object_interface_install_property (iface, 1689s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1689s # } 1689s # 1689s # /** 1689s # * good_types_get_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets the value of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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. 1689s # * 1689s # * 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. 1689s # */ 1689s # GVariant * 1689s # good_types_get_good_property_type (GoodTypes *object) 1689s # { 1689s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1689s # 1689s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1689s # } 1689s # 1689s # /** 1689s # * good_types_dup_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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(). 1689s # */ 1689s # GVariant * 1689s # good_types_dup_good_property_type (GoodTypes *object) 1689s # { 1689s # GVariant *value; 1689s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1689s # return value; 1689s # } 1689s # 1689s # /** 1689s # * good_types_set_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * @value: The value to set. 1689s # * 1689s # * Sets the "GoodPropertyType" D-Bus property to @value. 1689s # * 1689s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1689s # */ 1689s # void 1689s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1689s # { 1689s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesProxy: 1689s # * 1689s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesProxyClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesProxy. 1689s # */ 1689s # 1689s # struct _GoodTypesProxyPrivate 1689s # { 1689s # GData *qdata; 1689s # }; 1689s # 1689s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_ADD_PRIVATE (GoodTypesProxy) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_proxy_finalize (GObject *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # g_datalist_clear (&proxy->priv->qdata); 1689s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1689s # if (info->use_gvariant) 1689s # { 1689s # g_value_set_variant (value, variant); 1689s # } 1689s # else 1689s # { 1689s # if (variant != NULL) 1689s # g_dbus_gvariant_to_gvalue (variant, value); 1689s # } 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1689s # GAsyncResult *res, 1689s # gpointer user_data) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info = user_data; 1689s # GError *error; 1689s # GVariant *_ret; 1689s # error = NULL; 1689s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1689s # if (!_ret) 1689s # { 1689s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1689s # info->parent_struct.name, 1689s # error->message, g_quark_to_string (error->domain), error->code); 1689s # g_error_free (error); 1689s # } 1689s # else 1689s # { 1689s # g_variant_unref (_ret); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1689s # "org.freedesktop.DBus.Properties.Set", 1689s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_signal (GDBusProxy *proxy, 1689s # const gchar *sender_name G_GNUC_UNUSED, 1689s # const gchar *signal_name, 1689s # GVariant *parameters) 1689s # { 1689s # _ExtendedGDBusSignalInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # gsize n; 1689s # guint signal_id; 1689s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1689s # if (info == NULL) 1689s # return; 1689s # num_params = g_variant_n_children (parameters); 1689s # paramv = g_new0 (GValue, num_params + 1); 1689s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[0], proxy); 1689s # g_variant_iter_init (&iter, parameters); 1689s # n = 1; 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_signal_emitv (paramv, signal_id, 0, NULL); 1689s # for (n = 0; n < num_params + 1; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1689s # GVariant *changed_properties, 1689s # const gchar *const *invalidated_properties) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1689s # guint n; 1689s # const gchar *key; 1689s # GVariantIter *iter; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # g_variant_get (changed_properties, "a{sv}", &iter); 1689s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1689s # g_datalist_remove_data (&proxy->priv->qdata, key); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # g_variant_iter_free (iter); 1689s # for (n = 0; invalidated_properties[n] != NULL; n++) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1689s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_proxy_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # GVariant *variant; 1689s # GVariant *value = NULL; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1689s # value = variant; 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_init (GoodTypesProxy *proxy) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1689s # #else 1689s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1689s # #endif 1689s # 1689s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusProxyClass *proxy_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_proxy_finalize; 1689s # gobject_class->get_property = good_types_proxy_get_property; 1689s # gobject_class->set_property = good_types_proxy_set_property; 1689s # 1689s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1689s # proxy_class->g_signal = good_types_proxy_g_signal; 1689s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_sync: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_sync ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new_for_bus ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_sync: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_sync ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesSkeleton: 1689s # * 1689s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesSkeletonClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesSkeleton. 1689s # */ 1689s # 1689s # struct _GoodTypesSkeletonPrivate 1689s # { 1689s # GValue *properties; 1689s # GList *changed_properties; 1689s # GSource *changed_properties_idle_source; 1689s # GMainContext *context; 1689s # GMutex lock; 1689s # }; 1689s # 1689s # static void 1689s # _good_types_skeleton_handle_method_call ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name, 1689s # const gchar *method_name, 1689s # GVariant *parameters, 1689s # GDBusMethodInvocation *invocation, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # _ExtendedGDBusMethodInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # guint num_extra; 1689s # gsize n; 1689s # guint signal_id; 1689s # GValue return_value = G_VALUE_INIT; 1689s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1689s # g_assert (info != NULL); 1689s # num_params = g_variant_n_children (parameters); 1689s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1689s # n = 0; 1689s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[n++], skeleton); 1689s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1689s # g_value_set_object (¶mv[n++], invocation); 1689s # if (info->pass_fdlist) 1689s # { 1689s # #ifdef G_OS_UNIX 1689s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1689s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1689s # #else 1689s # g_assert_not_reached (); 1689s # #endif 1689s # } 1689s # g_variant_iter_init (&iter, parameters); 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1689s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1689s # if (!g_value_get_boolean (&return_value)) 1689s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1689s # g_value_unset (&return_value); 1689s # for (n = 0; n < num_params + num_extra; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static GVariant * 1689s # _good_types_skeleton_handle_get_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *ret; 1689s # ret = NULL; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # g_value_init (&value, pspec->value_type); 1689s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_value_unset (&value); 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_skeleton_handle_set_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GVariant *variant, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # gboolean ret; 1689s # ret = FALSE; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # if (info->use_gvariant) 1689s # g_value_set_variant (&value, variant); 1689s # else 1689s # g_dbus_gvariant_to_gvalue (variant, &value); 1689s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # g_value_unset (&value); 1689s # ret = TRUE; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1689s # { 1689s # _good_types_skeleton_handle_method_call, 1689s # _good_types_skeleton_handle_get_property, 1689s # _good_types_skeleton_handle_set_property, 1689s # {NULL} 1689s # }; 1689s # 1689s # static GDBusInterfaceInfo * 1689s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return good_types_interface_info (); 1689s # } 1689s # 1689s # static GDBusInterfaceVTable * 1689s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # 1689s # GVariantBuilder builder; 1689s # guint n; 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # if (_good_types_interface_info.parent_struct.properties == NULL) 1689s # goto out; 1689s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1689s # { 1689s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1689s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1689s # { 1689s # GVariant *value; 1689s # 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); 1689s # if (value != NULL) 1689s # { 1689s # g_variant_take_ref (value); 1689s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1689s # g_variant_unref (value); 1689s # } 1689s # } 1689s # } 1689s # out: 1689s # return g_variant_builder_end (&builder); 1689s # } 1689s # 1689s # static gboolean _good_types_emit_changed (gpointer user_data); 1689s # 1689s # static void 1689s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # gboolean emit_changed = FALSE; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # { 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # emit_changed = TRUE; 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # 1689s # if (emit_changed) 1689s # _good_types_emit_changed (skeleton); 1689s # } 1689s # 1689s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_ADD_PRIVATE (GoodTypesSkeleton) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_skeleton_finalize (GObject *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # guint n; 1689s # for (n = 0; n < 1; n++) 1689s # g_value_unset (&skeleton->priv->properties[n]); 1689s # g_free (skeleton->priv->properties); 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # g_main_context_unref (skeleton->priv->context); 1689s # g_mutex_clear (&skeleton->priv->lock); 1689s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_emit_changed (gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GList *l; 1689s # GVariantBuilder builder; 1689s # GVariantBuilder invalidated_builder; 1689s # guint num_changes; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1689s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *cp = l->data; 1689s # GVariant *variant; 1689s # const GValue *cur_value; 1689s # 1689s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1689s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1689s # { 1689s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1689s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1689s # g_variant_unref (variant); 1689s # num_changes++; 1689s # } 1689s # } 1689s # if (num_changes > 0) 1689s # { 1689s # GList *connections, *ll; 1689s # GVariant *signal_variant; 1689s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1689s # &builder, &invalidated_builder)); 1689s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1689s # for (ll = connections; ll != NULL; ll = ll->next) 1689s # { 1689s # GDBusConnection *connection = ll->data; 1689s # 1689s # g_dbus_connection_emit_signal (connection, 1689s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1689s # "org.freedesktop.DBus.Properties", 1689s # "PropertiesChanged", 1689s # signal_variant, 1689s # NULL); 1689s # } 1689s # g_variant_unref (signal_variant); 1689s # g_list_free_full (connections, g_object_unref); 1689s # } 1689s # else 1689s # { 1689s # g_variant_builder_clear (&builder); 1689s # g_variant_builder_clear (&invalidated_builder); 1689s # } 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # skeleton->priv->changed_properties = NULL; 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return FALSE; 1689s # } 1689s # 1689s # static void 1689s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1689s # { 1689s # ChangedProperty *cp; 1689s # GList *l; 1689s # cp = NULL; 1689s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *i_cp = l->data; 1689s # if (i_cp->info == info) 1689s # { 1689s # cp = i_cp; 1689s # break; 1689s # } 1689s # } 1689s # if (cp == NULL) 1689s # { 1689s # cp = g_new0 (ChangedProperty, 1); 1689s # cp->prop_id = prop_id; 1689s # cp->info = info; 1689s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1689s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1689s # g_value_copy (orig_value, &cp->orig_value); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_notify (GObject *object, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties != NULL && 1689s # skeleton->priv->changed_properties_idle_source == NULL) 1689s # { 1689s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1689s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1689s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1689s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1689s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1689s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_object_freeze_notify (object); 1689s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1689s # { 1689s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1689s # info->emits_changed_signal) 1689s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1689s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1689s # g_object_notify_by_pspec (object, pspec); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # g_object_thaw_notify (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1689s # #else 1689s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1689s # #endif 1689s # 1689s # g_mutex_init (&skeleton->priv->lock); 1689s # skeleton->priv->context = g_main_context_ref_thread_default (); 1689s # skeleton->priv->properties = g_new0 (GValue, 1); 1689s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # GVariant *value; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusInterfaceSkeletonClass *skeleton_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_skeleton_finalize; 1689s # gobject_class->get_property = good_types_skeleton_get_property; 1689s # gobject_class->set_property = good_types_skeleton_set_property; 1689s # gobject_class->notify = good_types_skeleton_notify; 1689s # 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1689s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1689s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1689s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1689s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_skeleton_new: 1689s # * 1689s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1689s # */ 1689s # GoodTypes * 1689s # good_types_skeleton_new (void) 1689s # { 1689s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1689s # } 1689s # /tmp/tmph2ecu1l7/tmp3j4_mupb.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2ecu1l7/tmp3j4_mupb.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s # #ifdef G_OS_UNIX 1689s # # include 1689s # #endif 1689s # 1689s # #ifdef G_ENABLE_DEBUG 1689s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1689s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1689s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1689s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1689s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1689s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1689s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1689s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1689s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1689s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1689s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1689s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1689s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1689s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1689s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1689s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1689s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1689s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1689s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1689s # #else /* !G_ENABLE_DEBUG */ 1689s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1689s # * Do not access GValues directly in your code. Instead, use the 1689s # * g_value_get_*() functions 1689s # */ 1689s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1689s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1689s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1689s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1689s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1689s # #endif /* !G_ENABLE_DEBUG */ 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusArgInfo parent_struct; 1689s # gboolean use_gvariant; 1689s # } _ExtendedGDBusArgInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusMethodInfo parent_struct; 1689s # const gchar *signal_name; 1689s # gboolean pass_fdlist; 1689s # } _ExtendedGDBusMethodInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusSignalInfo parent_struct; 1689s # const gchar *signal_name; 1689s # } _ExtendedGDBusSignalInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusPropertyInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # guint use_gvariant : 1; 1689s # guint emits_changed_signal : 1; 1689s # } _ExtendedGDBusPropertyInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusInterfaceInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # } _ExtendedGDBusInterfaceInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # guint prop_id; 1689s # GValue orig_value; /* the value before the change */ 1689s # } ChangedProperty; 1689s # 1689s # static void 1689s # _changed_property_free (ChangedProperty *data) 1689s # { 1689s # g_value_unset (&data->orig_value); 1689s # g_free (data); 1689s # } 1689s # 1689s # static gboolean 1689s # _g_strv_equal0 (gchar **a, gchar **b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # guint n; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # if (g_strv_length (a) != g_strv_length (b)) 1689s # goto out; 1689s # for (n = 0; a[n] != NULL; n++) 1689s # if (g_strcmp0 (a[n], b[n]) != 0) 1689s # goto out; 1689s # ret = TRUE; 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _g_variant_equal0 (GVariant *a, GVariant *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # ret = g_variant_equal (a, b); 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # G_GNUC_UNUSED static gboolean 1689s # _g_value_equal (const GValue *a, const GValue *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1689s # switch (G_VALUE_TYPE (a)) 1689s # { 1689s # case G_TYPE_BOOLEAN: 1689s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1689s # break; 1689s # case G_TYPE_UCHAR: 1689s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1689s # break; 1689s # case G_TYPE_INT: 1689s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1689s # break; 1689s # case G_TYPE_UINT: 1689s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1689s # break; 1689s # case G_TYPE_INT64: 1689s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1689s # break; 1689s # case G_TYPE_UINT64: 1689s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1689s # break; 1689s # case G_TYPE_DOUBLE: 1689s # { 1689s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1689s # gdouble da = g_value_get_double (a); 1689s # gdouble db = g_value_get_double (b); 1689s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1689s # } 1689s # break; 1689s # case G_TYPE_STRING: 1689s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1689s # break; 1689s # case G_TYPE_VARIANT: 1689s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1689s # break; 1689s # default: 1689s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1689s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1689s # else 1689s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1689s # break; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ 1689s # * Code for interface GoodTypes 1689s # * ------------------------------------------------------------------------ 1689s # */ 1689s # 1689s # /** 1689s # * SECTION:GoodTypes 1689s # * @title: GoodTypes 1689s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1689s # * 1689s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1689s # */ 1689s # 1689s # /* ---- Introspection data for GoodTypes ---- */ 1689s # 1689s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodPropertyType", 1689s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1689s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1689s # NULL 1689s # }, 1689s # "good-property-type", 1689s # FALSE, 1689s # TRUE 1689s # }; 1689s # 1689s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1689s # { 1689s # &_good_types_property_info_good_property_type.parent_struct, 1689s # NULL 1689s # }; 1689s # 1689s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "GoodTypes", 1689s # NULL, 1689s # NULL, 1689s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1689s # NULL 1689s # }, 1689s # "good-types", 1689s # }; 1689s # 1689s # 1689s # /** 1689s # * good_types_interface_info: 1689s # * 1689s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1689s # * 1689s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1689s # */ 1689s # GDBusInterfaceInfo * 1689s # good_types_interface_info (void) 1689s # { 1689s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1689s # } 1689s # 1689s # /** 1689s # * good_types_override_properties: 1689s # * @klass: The class structure for a #GObject derived class. 1689s # * @property_id_begin: The property id to assign to the first overridden property. 1689s # * 1689s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1689s # * The properties are overridden in the order they are defined. 1689s # * 1689s # * Returns: The last property id. 1689s # */ 1689s # guint 1689s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1689s # { 1689s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1689s # return property_id_begin - 1; 1689s # } 1689s # 1689s # 1689s # 1689s # /** 1689s # * GoodTypes: 1689s # * 1689s # * Abstract interface type for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesIface: 1689s # * @parent_iface: The parent interface. 1689s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1689s # * 1689s # * Virtual table for the D-Bus interface GoodTypes. 1689s # */ 1689s # 1689s # typedef GoodTypesIface GoodTypesInterface; 1689s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1689s # 1689s # static void 1689s # good_types_default_init (GoodTypesIface *iface) 1689s # { 1689s # /* GObject properties for D-Bus properties: */ 1689s # /** 1689s # * GoodTypes:good-property-type: 1689s # * 1689s # * Represents the D-Bus property "GoodPropertyType". 1689s # * 1689s # * 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. 1689s # */ 1689s # g_object_interface_install_property (iface, 1689s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1689s # } 1689s # 1689s # /** 1689s # * good_types_get_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets the value of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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. 1689s # * 1689s # * 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. 1689s # */ 1689s # GVariant * 1689s # good_types_get_good_property_type (GoodTypes *object) 1689s # { 1689s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1689s # 1689s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1689s # } 1689s # 1689s # /** 1689s # * good_types_dup_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * 1689s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1689s # * 1689s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1689s # * 1689s # * 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(). 1689s # */ 1689s # GVariant * 1689s # good_types_dup_good_property_type (GoodTypes *object) 1689s # { 1689s # GVariant *value; 1689s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1689s # return value; 1689s # } 1689s # 1689s # /** 1689s # * good_types_set_good_property_type: (skip) 1689s # * @object: A GoodTypes. 1689s # * @value: The value to set. 1689s # * 1689s # * Sets the "GoodPropertyType" D-Bus property to @value. 1689s # * 1689s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1689s # */ 1689s # void 1689s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1689s # { 1689s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesProxy: 1689s # * 1689s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesProxyClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesProxy. 1689s # */ 1689s # 1689s # struct _GoodTypesProxyPrivate 1689s # { 1689s # GData *qdata; 1689s # }; 1689s # 1689s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_ADD_PRIVATE (GoodTypesProxy) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_proxy_finalize (GObject *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # g_datalist_clear (&proxy->priv->qdata); 1689s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1689s # if (info->use_gvariant) 1689s # { 1689s # g_value_set_variant (value, variant); 1689s # } 1689s # else 1689s # { 1689s # if (variant != NULL) 1689s # g_dbus_gvariant_to_gvalue (variant, value); 1689s # } 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1689s # GAsyncResult *res, 1689s # gpointer user_data) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info = user_data; 1689s # GError *error; 1689s # GVariant *_ret; 1689s # error = NULL; 1689s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1689s # if (!_ret) 1689s # { 1689s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1689s # info->parent_struct.name, 1689s # error->message, g_quark_to_string (error->domain), error->code); 1689s # g_error_free (error); 1689s # } 1689s # else 1689s # { 1689s # g_variant_unref (_ret); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *variant; 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1689s # "org.freedesktop.DBus.Properties.Set", 1689s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1689s # g_variant_unref (variant); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_signal (GDBusProxy *proxy, 1689s # const gchar *sender_name G_GNUC_UNUSED, 1689s # const gchar *signal_name, 1689s # GVariant *parameters) 1689s # { 1689s # _ExtendedGDBusSignalInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # gsize n; 1689s # guint signal_id; 1689s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1689s # if (info == NULL) 1689s # return; 1689s # num_params = g_variant_n_children (parameters); 1689s # paramv = g_new0 (GValue, num_params + 1); 1689s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[0], proxy); 1689s # g_variant_iter_init (&iter, parameters); 1689s # n = 1; 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_signal_emitv (paramv, signal_id, 0, NULL); 1689s # for (n = 0; n < num_params + 1; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1689s # GVariant *changed_properties, 1689s # const gchar *const *invalidated_properties) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1689s # guint n; 1689s # const gchar *key; 1689s # GVariantIter *iter; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # g_variant_get (changed_properties, "a{sv}", &iter); 1689s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1689s # g_datalist_remove_data (&proxy->priv->qdata, key); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # g_variant_iter_free (iter); 1689s # for (n = 0; invalidated_properties[n] != NULL; n++) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1689s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_proxy_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1689s # GVariant *variant; 1689s # GVariant *value = NULL; 1689s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1689s # value = variant; 1689s # if (variant != NULL) 1689s # g_variant_unref (variant); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_init (GoodTypesProxy *proxy) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1689s # #else 1689s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1689s # #endif 1689s # 1689s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusProxyClass *proxy_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_proxy_finalize; 1689s # gobject_class->get_property = good_types_proxy_get_property; 1689s # gobject_class->set_property = good_types_proxy_set_property; 1689s # 1689s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1689s # proxy_class->g_signal = good_types_proxy_g_signal; 1689s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_proxy_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_sync: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_sync ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1689s # * 1689s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # good_types_proxy_new_for_bus ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * good_types_proxy_new_for_bus_sync: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # GoodTypes * 1689s # good_types_proxy_new_for_bus_sync ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return GOOD_TYPES (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * GoodTypesSkeleton: 1689s # * 1689s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * GoodTypesSkeletonClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for GoodTypesSkeleton. 1689s # */ 1689s # 1689s # struct _GoodTypesSkeletonPrivate 1689s # { 1689s # GValue *properties; 1689s # GList *changed_properties; 1689s # GSource *changed_properties_idle_source; 1689s # GMainContext *context; 1689s # GMutex lock; 1689s # }; 1689s # 1689s # static void 1689s # _good_types_skeleton_handle_method_call ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name, 1689s # const gchar *method_name, 1689s # GVariant *parameters, 1689s # GDBusMethodInvocation *invocation, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # _ExtendedGDBusMethodInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # guint num_extra; 1689s # gsize n; 1689s # guint signal_id; 1689s # GValue return_value = G_VALUE_INIT; 1689s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1689s # g_assert (info != NULL); 1689s # num_params = g_variant_n_children (parameters); 1689s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1689s # n = 0; 1689s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1689s # g_value_set_object (¶mv[n++], skeleton); 1689s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1689s # g_value_set_object (¶mv[n++], invocation); 1689s # if (info->pass_fdlist) 1689s # { 1689s # #ifdef G_OS_UNIX 1689s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1689s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1689s # #else 1689s # g_assert_not_reached (); 1689s # #endif 1689s # } 1689s # g_variant_iter_init (&iter, parameters); 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1689s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1689s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1689s # if (!g_value_get_boolean (&return_value)) 1689s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1689s # g_value_unset (&return_value); 1689s # for (n = 0; n < num_params + num_extra; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static GVariant * 1689s # _good_types_skeleton_handle_get_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *ret; 1689s # ret = NULL; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # g_value_init (&value, pspec->value_type); 1689s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_value_unset (&value); 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_skeleton_handle_set_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GVariant *variant, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # gboolean ret; 1689s # ret = FALSE; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # if (info->use_gvariant) 1689s # g_value_set_variant (&value, variant); 1689s # else 1689s # g_dbus_gvariant_to_gvalue (variant, &value); 1689s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # g_value_unset (&value); 1689s # ret = TRUE; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1689s # { 1689s # _good_types_skeleton_handle_method_call, 1689s # _good_types_skeleton_handle_get_property, 1689s # _good_types_skeleton_handle_set_property, 1689s # {NULL} 1689s # }; 1689s # 1689s # static GDBusInterfaceInfo * 1689s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return good_types_interface_info (); 1689s # } 1689s # 1689s # static GDBusInterfaceVTable * 1689s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # 1689s # GVariantBuilder builder; 1689s # guint n; 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # if (_good_types_interface_info.parent_struct.properties == NULL) 1689s # goto out; 1689s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1689s # { 1689s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1689s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1689s # { 1689s # GVariant *value; 1689s # 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); 1689s # if (value != NULL) 1689s # { 1689s # g_variant_take_ref (value); 1689s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1689s # g_variant_unref (value); 1689s # } 1689s # } 1689s # } 1689s # out: 1689s # return g_variant_builder_end (&builder); 1689s # } 1689s # 1689s # static gboolean _good_types_emit_changed (gpointer user_data); 1689s # 1689s # static void 1689s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1689s # gboolean emit_changed = FALSE; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # { 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # emit_changed = TRUE; 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # 1689s # if (emit_changed) 1689s # _good_types_emit_changed (skeleton); 1689s # } 1689s # 1689s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_ADD_PRIVATE (GoodTypesSkeleton) 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # good_types_skeleton_finalize (GObject *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # guint n; 1689s # for (n = 0; n < 1; n++) 1689s # g_value_unset (&skeleton->priv->properties[n]); 1689s # g_free (skeleton->priv->properties); 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # g_main_context_unref (skeleton->priv->context); 1689s # g_mutex_clear (&skeleton->priv->lock); 1689s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_get_property (GObject *object, 1689s # guint prop_id, 1689s # GValue *value, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static gboolean 1689s # _good_types_emit_changed (gpointer user_data) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1689s # GList *l; 1689s # GVariantBuilder builder; 1689s # GVariantBuilder invalidated_builder; 1689s # guint num_changes; 1689s # 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1689s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *cp = l->data; 1689s # GVariant *variant; 1689s # const GValue *cur_value; 1689s # 1689s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1689s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1689s # { 1689s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1689s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1689s # g_variant_unref (variant); 1689s # num_changes++; 1689s # } 1689s # } 1689s # if (num_changes > 0) 1689s # { 1689s # GList *connections, *ll; 1689s # GVariant *signal_variant; 1689s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1689s # &builder, &invalidated_builder)); 1689s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1689s # for (ll = connections; ll != NULL; ll = ll->next) 1689s # { 1689s # GDBusConnection *connection = ll->data; 1689s # 1689s # g_dbus_connection_emit_signal (connection, 1689s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1689s # "org.freedesktop.DBus.Properties", 1689s # "PropertiesChanged", 1689s # signal_variant, 1689s # NULL); 1689s # } 1689s # g_variant_unref (signal_variant); 1689s # g_list_free_full (connections, g_object_unref); 1689s # } 1689s # else 1689s # { 1689s # g_variant_builder_clear (&builder); 1689s # g_variant_builder_clear (&invalidated_builder); 1689s # } 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # skeleton->priv->changed_properties = NULL; 1689s # skeleton->priv->changed_properties_idle_source = NULL; 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return FALSE; 1689s # } 1689s # 1689s # static void 1689s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1689s # { 1689s # ChangedProperty *cp; 1689s # GList *l; 1689s # cp = NULL; 1689s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1689s # { 1689s # ChangedProperty *i_cp = l->data; 1689s # if (i_cp->info == info) 1689s # { 1689s # cp = i_cp; 1689s # break; 1689s # } 1689s # } 1689s # if (cp == NULL) 1689s # { 1689s # cp = g_new0 (ChangedProperty, 1); 1689s # cp->prop_id = prop_id; 1689s # cp->info = info; 1689s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1689s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1689s # g_value_copy (orig_value, &cp->orig_value); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_notify (GObject *object, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # if (skeleton->priv->changed_properties != NULL && 1689s # skeleton->priv->changed_properties_idle_source == NULL) 1689s # { 1689s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1689s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1689s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1689s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1689s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1689s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_set_property (GObject *object, 1689s # guint prop_id, 1689s # const GValue *value, 1689s # GParamSpec *pspec) 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1689s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # g_object_freeze_notify (object); 1689s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1689s # { 1689s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1689s # info->emits_changed_signal) 1689s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1689s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1689s # g_object_notify_by_pspec (object, pspec); 1689s # } 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # g_object_thaw_notify (object); 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1689s # #else 1689s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1689s # #endif 1689s # 1689s # g_mutex_init (&skeleton->priv->lock); 1689s # skeleton->priv->context = g_main_context_ref_thread_default (); 1689s # skeleton->priv->properties = g_new0 (GValue, 1); 1689s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1689s # } 1689s # 1689s # static GVariant * 1689s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1689s # { 1689s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1689s # GVariant *value; 1689s # g_mutex_lock (&skeleton->priv->lock); 1689s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1689s # g_mutex_unlock (&skeleton->priv->lock); 1689s # return value; 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusInterfaceSkeletonClass *skeleton_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = good_types_skeleton_finalize; 1689s # gobject_class->get_property = good_types_skeleton_get_property; 1689s # gobject_class->set_property = good_types_skeleton_set_property; 1689s # gobject_class->notify = good_types_skeleton_notify; 1689s # 1689s # 1689s # good_types_override_properties (gobject_class, 1); 1689s # 1689s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1689s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1689s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1689s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1689s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1689s # { 1689s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1689s # } 1689s # 1689s # /** 1689s # * good_types_skeleton_new: 1689s # * 1689s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1689s # * 1689s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1689s # */ 1689s # GoodTypes * 1689s # good_types_skeleton_new (void) 1689s # { 1689s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1689s # } 1689s # Executing: glib/codegen.py.test 1689s ok 3 __main__.TestCodegen.test_empty_interface_body 1689s # tmpdir: /tmp/tmpayujodb3 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpayujodb3/tmpj473kgbp.xml: 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpayujodb3/tmpj473kgbp.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s # #ifdef G_OS_UNIX 1689s # # include 1689s # #endif 1689s # 1689s # #ifdef G_ENABLE_DEBUG 1689s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1689s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1689s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1689s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1689s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1689s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1689s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1689s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1689s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1689s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1689s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1689s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1689s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1689s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1689s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1689s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1689s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1689s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1689s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1689s # #else /* !G_ENABLE_DEBUG */ 1689s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1689s # * Do not access GValues directly in your code. Instead, use the 1689s # * g_value_get_*() functions 1689s # */ 1689s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1689s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1689s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1689s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1689s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1689s # #endif /* !G_ENABLE_DEBUG */ 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusArgInfo parent_struct; 1689s # gboolean use_gvariant; 1689s # } _ExtendedGDBusArgInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusMethodInfo parent_struct; 1689s # const gchar *signal_name; 1689s # gboolean pass_fdlist; 1689s # } _ExtendedGDBusMethodInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusSignalInfo parent_struct; 1689s # const gchar *signal_name; 1689s # } _ExtendedGDBusSignalInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusPropertyInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # guint use_gvariant : 1; 1689s # guint emits_changed_signal : 1; 1689s # } _ExtendedGDBusPropertyInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusInterfaceInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # } _ExtendedGDBusInterfaceInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # guint prop_id; 1689s # GValue orig_value; /* the value before the change */ 1689s # } ChangedProperty; 1689s # 1689s # static void 1689s # _changed_property_free (ChangedProperty *data) 1689s # { 1689s # g_value_unset (&data->orig_value); 1689s # g_free (data); 1689s # } 1689s # 1689s # static gboolean 1689s # _g_strv_equal0 (gchar **a, gchar **b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # guint n; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # if (g_strv_length (a) != g_strv_length (b)) 1689s # goto out; 1689s # for (n = 0; a[n] != NULL; n++) 1689s # if (g_strcmp0 (a[n], b[n]) != 0) 1689s # goto out; 1689s # ret = TRUE; 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _g_variant_equal0 (GVariant *a, GVariant *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # ret = g_variant_equal (a, b); 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # G_GNUC_UNUSED static gboolean 1689s # _g_value_equal (const GValue *a, const GValue *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1689s # switch (G_VALUE_TYPE (a)) 1689s # { 1689s # case G_TYPE_BOOLEAN: 1689s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1689s # break; 1689s # case G_TYPE_UCHAR: 1689s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1689s # break; 1689s # case G_TYPE_INT: 1689s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1689s # break; 1689s # case G_TYPE_UINT: 1689s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1689s # break; 1689s # case G_TYPE_INT64: 1689s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1689s # break; 1689s # case G_TYPE_UINT64: 1689s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1689s # break; 1689s # case G_TYPE_DOUBLE: 1689s # { 1689s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1689s # gdouble da = g_value_get_double (a); 1689s # gdouble db = g_value_get_double (b); 1689s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1689s # } 1689s # break; 1689s # case G_TYPE_STRING: 1689s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1689s # break; 1689s # case G_TYPE_VARIANT: 1689s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1689s # break; 1689s # default: 1689s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1689s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1689s # else 1689s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1689s # break; 1689s # } 1689s # return ret; 1689s # } 1689s ok 4 __main__.TestCodegen.test_empty_interface_header 1689s # tmpdir: /tmp/tmpaae3p792 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpaae3p792/tmp39j6pqn8.xml: 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaae3p792/tmp39j6pqn8.xml', '--output', '-', '--header'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifndef __STDOUT__ 1689s # #define __STDOUT__ 1689s # 1689s # #include 1689s # 1689s # G_BEGIN_DECLS 1689s # 1689s # 1689s # G_END_DECLS 1689s # 1689s # #endif /* __STDOUT__ */ 1689s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1689s # tmpdir: /tmp/tmpgvgw9rcu 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpgvgw9rcu/tmp5suh6bn_.xml: 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgvgw9rcu/tmp5suh6bn_.xml', '--output', '-', '--interface-info-body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1689s # tmpdir: /tmp/tmpix1mlfdy 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpix1mlfdy/tmp6eqkdiff.xml: 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpix1mlfdy/tmp6eqkdiff.xml', '--output', '-', '--interface-info-header'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifndef __STDOUT__ 1689s # #define __STDOUT__ 1689s # 1689s # #include 1689s # 1689s # G_BEGIN_DECLS 1689s # 1689s # 1689s # G_END_DECLS 1689s # 1689s # #endif /* __STDOUT__ */ 1689s ok 7 __main__.TestCodegen.test_generate_docbook 1689s # tmpdir: /tmp/tmpk5m9m6s_ 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpk5m9m6s_/tmpc560kpct.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk5m9m6s_/tmpc560kpct.xml', '--generate-docbook', 'test'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: 1689s ok 8 __main__.TestCodegen.test_generate_md 1689s # tmpdir: /tmp/tmpnya1kl9w 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmpnya1kl9w/tmpl9ayttth.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnya1kl9w/tmpl9ayttth.xml', '--generate-md', 'test'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: 1689s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1689s # tmpdir: /tmp/tmp0ylwb_sn 1689s # codegen: /usr/bin/gdbus-codegen 1689s # /tmp/tmp0ylwb_sn/tmpvcciyzsf.xml: 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # 1689s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ylwb_sn/tmpvcciyzsf.xml', '--output', '-', '--body'] 1689s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1689s # Output: /* 1689s # * This file is generated by gdbus-codegen, do not modify it. 1689s # * 1689s # * The license of this code is the same as for the D-Bus interface description 1689s # * it was derived from. Note that it links to GLib, so must comply with the 1689s # * LGPL linking clauses. 1689s # */ 1689s # 1689s # #ifdef HAVE_CONFIG_H 1689s # # include "config.h" 1689s # #endif 1689s # 1689s # #include 1689s # #ifdef G_OS_UNIX 1689s # # include 1689s # #endif 1689s # 1689s # #ifdef G_ENABLE_DEBUG 1689s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1689s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1689s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1689s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1689s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1689s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1689s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1689s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1689s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1689s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1689s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1689s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1689s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1689s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1689s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1689s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1689s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1689s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1689s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1689s # #else /* !G_ENABLE_DEBUG */ 1689s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1689s # * Do not access GValues directly in your code. Instead, use the 1689s # * g_value_get_*() functions 1689s # */ 1689s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1689s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1689s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1689s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1689s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1689s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1689s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1689s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1689s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1689s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1689s # #endif /* !G_ENABLE_DEBUG */ 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusArgInfo parent_struct; 1689s # gboolean use_gvariant; 1689s # } _ExtendedGDBusArgInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusMethodInfo parent_struct; 1689s # const gchar *signal_name; 1689s # gboolean pass_fdlist; 1689s # } _ExtendedGDBusMethodInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusSignalInfo parent_struct; 1689s # const gchar *signal_name; 1689s # } _ExtendedGDBusSignalInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusPropertyInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # guint use_gvariant : 1; 1689s # guint emits_changed_signal : 1; 1689s # } _ExtendedGDBusPropertyInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # GDBusInterfaceInfo parent_struct; 1689s # const gchar *hyphen_name; 1689s # } _ExtendedGDBusInterfaceInfo; 1689s # 1689s # typedef struct 1689s # { 1689s # const _ExtendedGDBusPropertyInfo *info; 1689s # guint prop_id; 1689s # GValue orig_value; /* the value before the change */ 1689s # } ChangedProperty; 1689s # 1689s # static void 1689s # _changed_property_free (ChangedProperty *data) 1689s # { 1689s # g_value_unset (&data->orig_value); 1689s # g_free (data); 1689s # } 1689s # 1689s # static gboolean 1689s # _g_strv_equal0 (gchar **a, gchar **b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # guint n; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # if (g_strv_length (a) != g_strv_length (b)) 1689s # goto out; 1689s # for (n = 0; a[n] != NULL; n++) 1689s # if (g_strcmp0 (a[n], b[n]) != 0) 1689s # goto out; 1689s # ret = TRUE; 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _g_variant_equal0 (GVariant *a, GVariant *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # if (a == NULL && b == NULL) 1689s # { 1689s # ret = TRUE; 1689s # goto out; 1689s # } 1689s # if (a == NULL || b == NULL) 1689s # goto out; 1689s # ret = g_variant_equal (a, b); 1689s # out: 1689s # return ret; 1689s # } 1689s # 1689s # G_GNUC_UNUSED static gboolean 1689s # _g_value_equal (const GValue *a, const GValue *b) 1689s # { 1689s # gboolean ret = FALSE; 1689s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1689s # switch (G_VALUE_TYPE (a)) 1689s # { 1689s # case G_TYPE_BOOLEAN: 1689s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1689s # break; 1689s # case G_TYPE_UCHAR: 1689s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1689s # break; 1689s # case G_TYPE_INT: 1689s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1689s # break; 1689s # case G_TYPE_UINT: 1689s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1689s # break; 1689s # case G_TYPE_INT64: 1689s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1689s # break; 1689s # case G_TYPE_UINT64: 1689s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1689s # break; 1689s # case G_TYPE_DOUBLE: 1689s # { 1689s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1689s # gdouble da = g_value_get_double (a); 1689s # gdouble db = g_value_get_double (b); 1689s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1689s # } 1689s # break; 1689s # case G_TYPE_STRING: 1689s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1689s # break; 1689s # case G_TYPE_VARIANT: 1689s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1689s # break; 1689s # default: 1689s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1689s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1689s # else 1689s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1689s # break; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static void 1689s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1689s # GClosure *closure, 1689s # GValue *return_value, 1689s # unsigned int n_param_values, 1689s # const GValue *param_values, 1689s # void *invocation_hint G_GNUC_UNUSED, 1689s # void *marshal_data) 1689s # { 1689s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1689s # (void *data1, 1689s # GDBusMethodInvocation *arg_method_invocation, 1689s # void *data2); 1689s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1689s # GCClosure *cc = (GCClosure*) closure; 1689s # void *data1, *data2; 1689s # gboolean v_return; 1689s # 1689s # g_return_if_fail (return_value != NULL); 1689s # g_return_if_fail (n_param_values == 2); 1689s # 1689s # if (G_CCLOSURE_SWAP_DATA (closure)) 1689s # { 1689s # data1 = closure->data; 1689s # data2 = g_value_peek_pointer (param_values + 0); 1689s # } 1689s # else 1689s # { 1689s # data1 = g_value_peek_pointer (param_values + 0); 1689s # data2 = closure->data; 1689s # } 1689s # 1689s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1689s # (marshal_data ? marshal_data : cc->callback); 1689s # 1689s # v_return = 1689s # callback (data1, 1689s # g_marshal_value_peek_object (param_values + 1), 1689s # data2); 1689s # 1689s # g_value_set_boolean (return_value, v_return); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ 1689s # * Code for interface org.project.CallableIface 1689s # * ------------------------------------------------------------------------ 1689s # */ 1689s # 1689s # /** 1689s # * SECTION:OrgProjectCallableIface 1689s # * @title: OrgProjectCallableIface 1689s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1689s # * 1689s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1689s # */ 1689s # 1689s # /* ---- Introspection data for org.project.CallableIface ---- */ 1689s # 1689s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "SimpleMethod", 1689s # NULL, 1689s # NULL, 1689s # NULL 1689s # }, 1689s # "handle-simple-method", 1689s # FALSE 1689s # }; 1689s # 1689s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1689s # { 1689s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1689s # NULL 1689s # }; 1689s # 1689s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "org.project.CallableIface", 1689s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1689s # NULL, 1689s # NULL, 1689s # NULL 1689s # }, 1689s # "org-project-callable-iface", 1689s # }; 1689s # 1689s # 1689s # /** 1689s # * org_project_callable_iface_interface_info: 1689s # * 1689s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1689s # * 1689s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1689s # */ 1689s # GDBusInterfaceInfo * 1689s # org_project_callable_iface_interface_info (void) 1689s # { 1689s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_override_properties: 1689s # * @klass: The class structure for a #GObject derived class. 1689s # * @property_id_begin: The property id to assign to the first overridden property. 1689s # * 1689s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1689s # * The properties are overridden in the order they are defined. 1689s # * 1689s # * Returns: The last property id. 1689s # */ 1689s # guint 1689s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1689s # { 1689s # return property_id_begin - 1; 1689s # } 1689s # 1689s # 1689s # inline static void 1689s # org_project_callable_iface_method_marshal_simple_method ( 1689s # GClosure *closure, 1689s # GValue *return_value, 1689s # unsigned int n_param_values, 1689s # const GValue *param_values, 1689s # void *invocation_hint, 1689s # void *marshal_data) 1689s # { 1689s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1689s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1689s # } 1689s # 1689s # 1689s # /** 1689s # * OrgProjectCallableIface: 1689s # * 1689s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectCallableIfaceIface: 1689s # * @parent_iface: The parent interface. 1689s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1689s # * 1689s # * Virtual table for the D-Bus interface org.project.CallableIface. 1689s # */ 1689s # 1689s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1689s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1689s # 1689s # static void 1689s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1689s # { 1689s # /* GObject signals for incoming D-Bus method calls: */ 1689s # /** 1689s # * OrgProjectCallableIface::handle-simple-method: 1689s # * @object: A #OrgProjectCallableIface. 1689s # * @invocation: A #GDBusMethodInvocation. 1689s # * 1689s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1689s # * 1689s # * 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. 1689s # * 1689s # * 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. 1689s # */ 1689s # g_signal_new ("handle-simple-method", 1689s # G_TYPE_FROM_INTERFACE (iface), 1689s # G_SIGNAL_RUN_LAST, 1689s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1689s # g_signal_accumulator_true_handled, 1689s # NULL, 1689s # org_project_callable_iface_method_marshal_simple_method, 1689s # G_TYPE_BOOLEAN, 1689s # 1, 1689s # G_TYPE_DBUS_METHOD_INVOCATION); 1689s # 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_call_simple_method: 1689s # * @proxy: A #OrgProjectCallableIfaceProxy. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1689s # */ 1689s # void 1689s # org_project_callable_iface_call_simple_method ( 1689s # OrgProjectCallableIface *proxy, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1689s # "SimpleMethod", 1689s # g_variant_new ("()"), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # cancellable, 1689s # callback, 1689s # user_data); 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_call_simple_method_finish: 1689s # * @proxy: A #OrgProjectCallableIfaceProxy. 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1689s # * @error: Return location for error or %NULL. 1689s # * 1689s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1689s # * 1689s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1689s # */ 1689s # gboolean 1689s # org_project_callable_iface_call_simple_method_finish ( 1689s # OrgProjectCallableIface *proxy, 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GVariant *_ret; 1689s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1689s # if (_ret == NULL) 1689s # goto _out; 1689s # g_variant_get (_ret, 1689s # "()"); 1689s # g_variant_unref (_ret); 1689s # _out: 1689s # return _ret != NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_call_simple_method_sync: 1689s # * @proxy: A #OrgProjectCallableIfaceProxy. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL. 1689s # * 1689s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1689s # * 1689s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1689s # */ 1689s # gboolean 1689s # org_project_callable_iface_call_simple_method_sync ( 1689s # OrgProjectCallableIface *proxy, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GVariant *_ret; 1689s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1689s # "SimpleMethod", 1689s # g_variant_new ("()"), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # cancellable, 1689s # error); 1689s # if (_ret == NULL) 1689s # goto _out; 1689s # g_variant_get (_ret, 1689s # "()"); 1689s # g_variant_unref (_ret); 1689s # _out: 1689s # return _ret != NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_complete_simple_method: 1689s # * @object: A #OrgProjectCallableIface. 1689s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1689s # * 1689s # * 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. 1689s # * 1689s # * This method will free @invocation, you cannot use it afterwards. 1689s # */ 1689s # void 1689s # org_project_callable_iface_complete_simple_method ( 1689s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1689s # GDBusMethodInvocation *invocation) 1689s # { 1689s # g_dbus_method_invocation_return_value (invocation, 1689s # g_variant_new ("()")); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * OrgProjectCallableIfaceProxy: 1689s # * 1689s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectCallableIfaceProxyClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for #OrgProjectCallableIfaceProxy. 1689s # */ 1689s # 1689s # struct _OrgProjectCallableIfaceProxyPrivate 1689s # { 1689s # GData *qdata; 1689s # }; 1689s # 1689s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1689s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # org_project_callable_iface_proxy_finalize (GObject *object) 1689s # { 1689s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1689s # g_datalist_clear (&proxy->priv->qdata); 1689s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1689s # guint prop_id G_GNUC_UNUSED, 1689s # GValue *value G_GNUC_UNUSED, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1689s # guint prop_id G_GNUC_UNUSED, 1689s # const GValue *value G_GNUC_UNUSED, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1689s # const gchar *sender_name G_GNUC_UNUSED, 1689s # const gchar *signal_name, 1689s # GVariant *parameters) 1689s # { 1689s # _ExtendedGDBusSignalInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # gsize n; 1689s # guint signal_id; 1689s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1689s # if (info == NULL) 1689s # return; 1689s # num_params = g_variant_n_children (parameters); 1689s # paramv = g_new0 (GValue, num_params + 1); 1689s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1689s # g_value_set_object (¶mv[0], proxy); 1689s # g_variant_iter_init (&iter, parameters); 1689s # n = 1; 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1689s # g_signal_emitv (paramv, signal_id, 0, NULL); 1689s # for (n = 0; n < num_params + 1; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1689s # GVariant *changed_properties, 1689s # const gchar *const *invalidated_properties) 1689s # { 1689s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1689s # guint n; 1689s # const gchar *key; 1689s # GVariantIter *iter; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # g_variant_get (changed_properties, "a{sv}", &iter); 1689s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1689s # g_datalist_remove_data (&proxy->priv->qdata, key); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # g_variant_iter_free (iter); 1689s # for (n = 0; invalidated_properties[n] != NULL; n++) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1689s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1689s # #else 1689s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1689s # #endif 1689s # 1689s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusProxyClass *proxy_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1689s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1689s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1689s # 1689s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1689s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1689s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # org_project_callable_iface_proxy_new ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectCallableIface * 1689s # org_project_callable_iface_proxy_new_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new_sync: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectCallableIface * 1689s # org_project_callable_iface_proxy_new_sync ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new_for_bus: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # org_project_callable_iface_proxy_new_for_bus ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new_for_bus_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectCallableIface * 1689s # org_project_callable_iface_proxy_new_for_bus_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_proxy_new_for_bus_sync: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectCallableIface * 1689s # org_project_callable_iface_proxy_new_for_bus_sync ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * OrgProjectCallableIfaceSkeleton: 1689s # * 1689s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectCallableIfaceSkeletonClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1689s # */ 1689s # 1689s # struct _OrgProjectCallableIfaceSkeletonPrivate 1689s # { 1689s # GValue *properties; 1689s # GList *changed_properties; 1689s # GSource *changed_properties_idle_source; 1689s # GMainContext *context; 1689s # GMutex lock; 1689s # }; 1689s # 1689s # static void 1689s # _org_project_callable_iface_skeleton_handle_method_call ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name, 1689s # const gchar *method_name, 1689s # GVariant *parameters, 1689s # GDBusMethodInvocation *invocation, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1689s # _ExtendedGDBusMethodInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # guint num_extra; 1689s # gsize n; 1689s # guint signal_id; 1689s # GValue return_value = G_VALUE_INIT; 1689s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1689s # g_assert (info != NULL); 1689s # num_params = g_variant_n_children (parameters); 1689s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1689s # n = 0; 1689s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1689s # g_value_set_object (¶mv[n++], skeleton); 1689s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1689s # g_value_set_object (¶mv[n++], invocation); 1689s # if (info->pass_fdlist) 1689s # { 1689s # #ifdef G_OS_UNIX 1689s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1689s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1689s # #else 1689s # g_assert_not_reached (); 1689s # #endif 1689s # } 1689s # g_variant_iter_init (&iter, parameters); 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1689s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1689s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1689s # if (!g_value_get_boolean (&return_value)) 1689s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1689s # g_value_unset (&return_value); 1689s # for (n = 0; n < num_params + num_extra; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static GVariant * 1689s # _org_project_callable_iface_skeleton_handle_get_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *ret; 1689s # ret = NULL; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # g_value_init (&value, pspec->value_type); 1689s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_value_unset (&value); 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _org_project_callable_iface_skeleton_handle_set_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GVariant *variant, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # gboolean ret; 1689s # ret = FALSE; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # if (info->use_gvariant) 1689s # g_value_set_variant (&value, variant); 1689s # else 1689s # g_dbus_gvariant_to_gvalue (variant, &value); 1689s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # g_value_unset (&value); 1689s # ret = TRUE; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1689s # { 1689s # _org_project_callable_iface_skeleton_handle_method_call, 1689s # _org_project_callable_iface_skeleton_handle_get_property, 1689s # _org_project_callable_iface_skeleton_handle_set_property, 1689s # {NULL} 1689s # }; 1689s # 1689s # static GDBusInterfaceInfo * 1689s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return org_project_callable_iface_interface_info (); 1689s # } 1689s # 1689s # static GDBusInterfaceVTable * 1689s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1689s # } 1689s # 1689s # static GVariant * 1689s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1689s # 1689s # GVariantBuilder builder; 1689s # guint n; 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1689s # goto out; 1689s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1689s # { 1689s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1689s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1689s # { 1689s # GVariant *value; 1689s # 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); 1689s # if (value != NULL) 1689s # { 1689s # g_variant_take_ref (value); 1689s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1689s # g_variant_unref (value); 1689s # } 1689s # } 1689s # } 1689s # out: 1689s # return g_variant_builder_end (&builder); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # org_project_callable_iface_skeleton_finalize (GObject *object) 1689s # { 1689s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # g_main_context_unref (skeleton->priv->context); 1689s # g_mutex_clear (&skeleton->priv->lock); 1689s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1689s # #else 1689s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1689s # #endif 1689s # 1689s # g_mutex_init (&skeleton->priv->lock); 1689s # skeleton->priv->context = g_main_context_ref_thread_default (); 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusInterfaceSkeletonClass *skeleton_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1689s # 1689s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1689s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1689s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1689s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1689s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # /** 1689s # * org_project_callable_iface_skeleton_new: 1689s # * 1689s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1689s # */ 1689s # OrgProjectCallableIface * 1689s # org_project_callable_iface_skeleton_new (void) 1689s # { 1689s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ 1689s # * Code for interface org.project.OtherCallableIface 1689s # * ------------------------------------------------------------------------ 1689s # */ 1689s # 1689s # /** 1689s # * SECTION:OrgProjectOtherCallableIface 1689s # * @title: OrgProjectOtherCallableIface 1689s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1689s # * 1689s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1689s # */ 1689s # 1689s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1689s # 1689s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "SimpleMethod", 1689s # NULL, 1689s # NULL, 1689s # NULL 1689s # }, 1689s # "handle-simple-method", 1689s # FALSE 1689s # }; 1689s # 1689s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1689s # { 1689s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1689s # NULL 1689s # }; 1689s # 1689s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1689s # { 1689s # { 1689s # -1, 1689s # (gchar *) "org.project.OtherCallableIface", 1689s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1689s # NULL, 1689s # NULL, 1689s # NULL 1689s # }, 1689s # "org-project-other-callable-iface", 1689s # }; 1689s # 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_interface_info: 1689s # * 1689s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1689s # * 1689s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1689s # */ 1689s # GDBusInterfaceInfo * 1689s # org_project_other_callable_iface_interface_info (void) 1689s # { 1689s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_override_properties: 1689s # * @klass: The class structure for a #GObject derived class. 1689s # * @property_id_begin: The property id to assign to the first overridden property. 1689s # * 1689s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1689s # * The properties are overridden in the order they are defined. 1689s # * 1689s # * Returns: The last property id. 1689s # */ 1689s # guint 1689s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1689s # { 1689s # return property_id_begin - 1; 1689s # } 1689s # 1689s # 1689s # inline static void 1689s # org_project_other_callable_iface_method_marshal_simple_method ( 1689s # GClosure *closure, 1689s # GValue *return_value, 1689s # unsigned int n_param_values, 1689s # const GValue *param_values, 1689s # void *invocation_hint, 1689s # void *marshal_data) 1689s # { 1689s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1689s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1689s # } 1689s # 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIface: 1689s # * 1689s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIfaceIface: 1689s # * @parent_iface: The parent interface. 1689s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1689s # * 1689s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1689s # */ 1689s # 1689s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1689s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1689s # 1689s # static void 1689s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1689s # { 1689s # /* GObject signals for incoming D-Bus method calls: */ 1689s # /** 1689s # * OrgProjectOtherCallableIface::handle-simple-method: 1689s # * @object: A #OrgProjectOtherCallableIface. 1689s # * @invocation: A #GDBusMethodInvocation. 1689s # * 1689s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1689s # * 1689s # * 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. 1689s # * 1689s # * 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. 1689s # */ 1689s # g_signal_new ("handle-simple-method", 1689s # G_TYPE_FROM_INTERFACE (iface), 1689s # G_SIGNAL_RUN_LAST, 1689s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1689s # g_signal_accumulator_true_handled, 1689s # NULL, 1689s # org_project_other_callable_iface_method_marshal_simple_method, 1689s # G_TYPE_BOOLEAN, 1689s # 1, 1689s # G_TYPE_DBUS_METHOD_INVOCATION); 1689s # 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_call_simple_method: 1689s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1689s # */ 1689s # void 1689s # org_project_other_callable_iface_call_simple_method ( 1689s # OrgProjectOtherCallableIface *proxy, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1689s # "SimpleMethod", 1689s # g_variant_new ("()"), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # cancellable, 1689s # callback, 1689s # user_data); 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_call_simple_method_finish: 1689s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1689s # * @error: Return location for error or %NULL. 1689s # * 1689s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1689s # * 1689s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1689s # */ 1689s # gboolean 1689s # org_project_other_callable_iface_call_simple_method_finish ( 1689s # OrgProjectOtherCallableIface *proxy, 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GVariant *_ret; 1689s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1689s # if (_ret == NULL) 1689s # goto _out; 1689s # g_variant_get (_ret, 1689s # "()"); 1689s # g_variant_unref (_ret); 1689s # _out: 1689s # return _ret != NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_call_simple_method_sync: 1689s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL. 1689s # * 1689s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1689s # * 1689s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1689s # */ 1689s # gboolean 1689s # org_project_other_callable_iface_call_simple_method_sync ( 1689s # OrgProjectOtherCallableIface *proxy, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GVariant *_ret; 1689s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1689s # "SimpleMethod", 1689s # g_variant_new ("()"), 1689s # G_DBUS_CALL_FLAGS_NONE, 1689s # -1, 1689s # cancellable, 1689s # error); 1689s # if (_ret == NULL) 1689s # goto _out; 1689s # g_variant_get (_ret, 1689s # "()"); 1689s # g_variant_unref (_ret); 1689s # _out: 1689s # return _ret != NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_complete_simple_method: 1689s # * @object: A #OrgProjectOtherCallableIface. 1689s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1689s # * 1689s # * 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. 1689s # * 1689s # * This method will free @invocation, you cannot use it afterwards. 1689s # */ 1689s # void 1689s # org_project_other_callable_iface_complete_simple_method ( 1689s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1689s # GDBusMethodInvocation *invocation) 1689s # { 1689s # g_dbus_method_invocation_return_value (invocation, 1689s # g_variant_new ("()")); 1689s # } 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIfaceProxy: 1689s # * 1689s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIfaceProxyClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1689s # */ 1689s # 1689s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1689s # { 1689s # GData *qdata; 1689s # }; 1689s # 1689s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1689s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1689s # { 1689s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1689s # g_datalist_clear (&proxy->priv->qdata); 1689s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1689s # guint prop_id G_GNUC_UNUSED, 1689s # GValue *value G_GNUC_UNUSED, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1689s # guint prop_id G_GNUC_UNUSED, 1689s # const GValue *value G_GNUC_UNUSED, 1689s # GParamSpec *pspec G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1689s # const gchar *sender_name G_GNUC_UNUSED, 1689s # const gchar *signal_name, 1689s # GVariant *parameters) 1689s # { 1689s # _ExtendedGDBusSignalInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # gsize n; 1689s # guint signal_id; 1689s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1689s # if (info == NULL) 1689s # return; 1689s # num_params = g_variant_n_children (parameters); 1689s # paramv = g_new0 (GValue, num_params + 1); 1689s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1689s # g_value_set_object (¶mv[0], proxy); 1689s # g_variant_iter_init (&iter, parameters); 1689s # n = 1; 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1689s # g_signal_emitv (paramv, signal_id, 0, NULL); 1689s # for (n = 0; n < num_params + 1; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1689s # GVariant *changed_properties, 1689s # const gchar *const *invalidated_properties) 1689s # { 1689s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1689s # guint n; 1689s # const gchar *key; 1689s # GVariantIter *iter; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # g_variant_get (changed_properties, "a{sv}", &iter); 1689s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1689s # g_datalist_remove_data (&proxy->priv->qdata, key); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # g_variant_iter_free (iter); 1689s # for (n = 0; invalidated_properties[n] != NULL; n++) 1689s # { 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1689s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1689s # if (info != NULL) 1689s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1689s # } 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1689s # #else 1689s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1689s # #endif 1689s # 1689s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusProxyClass *proxy_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1689s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1689s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1689s # 1689s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1689s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1689s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # org_project_other_callable_iface_proxy_new ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectOtherCallableIface * 1689s # org_project_other_callable_iface_proxy_new_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new_sync: 1689s # * @connection: A #GDBusConnection. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectOtherCallableIface * 1689s # org_project_other_callable_iface_proxy_new_sync ( 1689s # GDBusConnection *connection, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new_for_bus: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1689s # * @user_data: User data to pass to @callback. 1689s # * 1689s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1689s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1689s # * 1689s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1689s # */ 1689s # void 1689s # org_project_other_callable_iface_proxy_new_for_bus ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GAsyncReadyCallback callback, 1689s # gpointer user_data) 1689s # { 1689s # 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); 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1689s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectOtherCallableIface * 1689s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1689s # GAsyncResult *res, 1689s # GError **error) 1689s # { 1689s # GObject *ret; 1689s # GObject *source_object; 1689s # source_object = g_async_result_get_source_object (res); 1689s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1689s # g_object_unref (source_object); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1689s # * @bus_type: A #GBusType. 1689s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1689s # * @name: A bus name (well-known or unique). 1689s # * @object_path: An object path. 1689s # * @cancellable: (nullable): A #GCancellable or %NULL. 1689s # * @error: Return location for error or %NULL 1689s # * 1689s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1689s # * 1689s # * The calling thread is blocked until a reply is received. 1689s # * 1689s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1689s # */ 1689s # OrgProjectOtherCallableIface * 1689s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1689s # GBusType bus_type, 1689s # GDBusProxyFlags flags, 1689s # const gchar *name, 1689s # const gchar *object_path, 1689s # GCancellable *cancellable, 1689s # GError **error) 1689s # { 1689s # GInitable *ret; 1689s # 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); 1689s # if (ret != NULL) 1689s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1689s # else 1689s # return NULL; 1689s # } 1689s # 1689s # 1689s # /* ------------------------------------------------------------------------ */ 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIfaceSkeleton: 1689s # * 1689s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1689s # */ 1689s # 1689s # /** 1689s # * OrgProjectOtherCallableIfaceSkeletonClass: 1689s # * @parent_class: The parent class. 1689s # * 1689s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1689s # */ 1689s # 1689s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1689s # { 1689s # GValue *properties; 1689s # GList *changed_properties; 1689s # GSource *changed_properties_idle_source; 1689s # GMainContext *context; 1689s # GMutex lock; 1689s # }; 1689s # 1689s # static void 1689s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name, 1689s # const gchar *method_name, 1689s # GVariant *parameters, 1689s # GDBusMethodInvocation *invocation, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1689s # _ExtendedGDBusMethodInfo *info; 1689s # GVariantIter iter; 1689s # GVariant *child; 1689s # GValue *paramv; 1689s # gsize num_params; 1689s # guint num_extra; 1689s # gsize n; 1689s # guint signal_id; 1689s # GValue return_value = G_VALUE_INIT; 1689s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1689s # g_assert (info != NULL); 1689s # num_params = g_variant_n_children (parameters); 1689s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1689s # n = 0; 1689s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1689s # g_value_set_object (¶mv[n++], skeleton); 1689s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1689s # g_value_set_object (¶mv[n++], invocation); 1689s # if (info->pass_fdlist) 1689s # { 1689s # #ifdef G_OS_UNIX 1689s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1689s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1689s # #else 1689s # g_assert_not_reached (); 1689s # #endif 1689s # } 1689s # g_variant_iter_init (&iter, parameters); 1689s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1689s # { 1689s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1689s # if (arg_info->use_gvariant) 1689s # { 1689s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1689s # g_value_set_variant (¶mv[n], child); 1689s # n++; 1689s # } 1689s # else 1689s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1689s # g_variant_unref (child); 1689s # } 1689s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1689s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1689s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1689s # if (!g_value_get_boolean (&return_value)) 1689s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1689s # g_value_unset (&return_value); 1689s # for (n = 0; n < num_params + num_extra; n++) 1689s # g_value_unset (¶mv[n]); 1689s # g_free (paramv); 1689s # } 1689s # 1689s # static GVariant * 1689s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # GVariant *ret; 1689s # ret = NULL; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # g_value_init (&value, pspec->value_type); 1689s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1689s # g_value_unset (&value); 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static gboolean 1689s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1689s # GDBusConnection *connection G_GNUC_UNUSED, 1689s # const gchar *sender G_GNUC_UNUSED, 1689s # const gchar *object_path G_GNUC_UNUSED, 1689s # const gchar *interface_name G_GNUC_UNUSED, 1689s # const gchar *property_name, 1689s # GVariant *variant, 1689s # GError **error, 1689s # gpointer user_data) 1689s # { 1689s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1689s # GValue value = G_VALUE_INIT; 1689s # GParamSpec *pspec; 1689s # _ExtendedGDBusPropertyInfo *info; 1689s # gboolean ret; 1689s # ret = FALSE; 1689s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1689s # g_assert (info != NULL); 1689s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1689s # if (pspec == NULL) 1689s # { 1689s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1689s # } 1689s # else 1689s # { 1689s # if (info->use_gvariant) 1689s # g_value_set_variant (&value, variant); 1689s # else 1689s # g_dbus_gvariant_to_gvalue (variant, &value); 1689s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1689s # g_value_unset (&value); 1689s # ret = TRUE; 1689s # } 1689s # return ret; 1689s # } 1689s # 1689s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1689s # { 1689s # _org_project_other_callable_iface_skeleton_handle_method_call, 1689s # _org_project_other_callable_iface_skeleton_handle_get_property, 1689s # _org_project_other_callable_iface_skeleton_handle_set_property, 1689s # {NULL} 1689s # }; 1689s # 1689s # static GDBusInterfaceInfo * 1689s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return org_project_other_callable_iface_interface_info (); 1689s # } 1689s # 1689s # static GDBusInterfaceVTable * 1689s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1689s # { 1689s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1689s # } 1689s # 1689s # static GVariant * 1689s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1689s # { 1689s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1689s # 1689s # GVariantBuilder builder; 1689s # guint n; 1689s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1689s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1689s # goto out; 1689s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1689s # { 1689s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1689s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1689s # { 1689s # GVariant *value; 1689s # 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); 1689s # if (value != NULL) 1689s # { 1689s # g_variant_take_ref (value); 1689s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1689s # g_variant_unref (value); 1689s # } 1689s # } 1689s # } 1689s # out: 1689s # return g_variant_builder_end (&builder); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1689s # 1689s # #else 1689s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1689s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1689s # 1689s # #endif 1689s # static void 1689s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1689s # { 1689s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1689s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1689s # if (skeleton->priv->changed_properties_idle_source != NULL) 1689s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1689s # g_main_context_unref (skeleton->priv->context); 1689s # g_mutex_clear (&skeleton->priv->lock); 1689s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1689s # { 1689s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1689s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1689s # #else 1689s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1689s # #endif 1689s # 1689s # g_mutex_init (&skeleton->priv->lock); 1689s # skeleton->priv->context = g_main_context_ref_thread_default (); 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1689s # { 1689s # GObjectClass *gobject_class; 1689s # GDBusInterfaceSkeletonClass *skeleton_class; 1689s # 1689s # gobject_class = G_OBJECT_CLASS (klass); 1689s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1689s # 1689s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1689s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1689s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1689s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1689s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1689s # 1689s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1689s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1689s # #endif 1689s # } 1689s # 1689s # static void 1689s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1689s # { 1689s # } 1689s # 1689s # /** 1689s # * org_project_other_callable_iface_skeleton_new: 1689s # * 1689s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1689s # * 1689s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1689s # */ 1689s # OrgProjectOtherCallableIface * 1689s # org_project_other_callable_iface_skeleton_new (void) 1689s # { 1689s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1689s # } 1690s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1690s # tmpdir: /tmp/tmp80cemynj 1690s # codegen: /usr/bin/gdbus-codegen 1690s # /tmp/tmp80cemynj/tmpfo8jrks7.xml: 1690s # 1690s # 1690s # 1690s # 1690s # 1690s # 1690s # 1690s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpfo8jrks7.xml', '--output', '-', '--body'] 1690s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1690s # Output: /* 1690s # * This file is generated by gdbus-codegen, do not modify it. 1690s # * 1690s # * The license of this code is the same as for the D-Bus interface description 1690s # * it was derived from. Note that it links to GLib, so must comply with the 1690s # * LGPL linking clauses. 1690s # */ 1690s # 1690s # #ifdef HAVE_CONFIG_H 1690s # # include "config.h" 1690s # #endif 1690s # 1690s # #include 1690s # #ifdef G_OS_UNIX 1690s # # include 1690s # #endif 1690s # 1690s # #ifdef G_ENABLE_DEBUG 1690s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1690s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1690s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1690s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1690s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1690s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1690s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1690s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1690s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1690s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1690s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1690s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1690s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1690s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1690s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1690s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1690s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1690s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1690s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1690s # #else /* !G_ENABLE_DEBUG */ 1690s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1690s # * Do not access GValues directly in your code. Instead, use the 1690s # * g_value_get_*() functions 1690s # */ 1690s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1690s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1690s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1690s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1690s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1690s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1690s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1690s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1690s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1690s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1690s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1690s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1690s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1690s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1690s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1690s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1690s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1690s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1690s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1690s # #endif /* !G_ENABLE_DEBUG */ 1690s # 1690s # typedef struct 1690s # { 1690s # GDBusArgInfo parent_struct; 1690s # gboolean use_gvariant; 1690s # } _ExtendedGDBusArgInfo; 1690s # 1690s # typedef struct 1690s # { 1690s # GDBusMethodInfo parent_struct; 1690s # const gchar *signal_name; 1690s # gboolean pass_fdlist; 1690s # } _ExtendedGDBusMethodInfo; 1690s # 1690s # typedef struct 1690s # { 1690s # GDBusSignalInfo parent_struct; 1690s # const gchar *signal_name; 1690s # } _ExtendedGDBusSignalInfo; 1690s # 1690s # typedef struct 1690s # { 1690s # GDBusPropertyInfo parent_struct; 1690s # const gchar *hyphen_name; 1690s # guint use_gvariant : 1; 1690s # guint emits_changed_signal : 1; 1690s # } _ExtendedGDBusPropertyInfo; 1690s # 1690s # typedef struct 1690s # { 1690s # GDBusInterfaceInfo parent_struct; 1690s # const gchar *hyphen_name; 1690s # } _ExtendedGDBusInterfaceInfo; 1690s # 1690s # typedef struct 1690s # { 1690s # const _ExtendedGDBusPropertyInfo *info; 1690s # guint prop_id; 1690s # GValue orig_value; /* the value before the change */ 1690s # } ChangedProperty; 1690s # 1690s # static void 1690s # _changed_property_free (ChangedProperty *data) 1690s # { 1690s # g_value_unset (&data->orig_value); 1690s # g_free (data); 1690s # } 1690s # 1690s # static gboolean 1690s # _g_strv_equal0 (gchar **a, gchar **b) 1690s # { 1690s # gboolean ret = FALSE; 1690s # guint n; 1690s # if (a == NULL && b == NULL) 1690s # { 1690s # ret = TRUE; 1690s # goto out; 1690s # } 1690s # if (a == NULL || b == NULL) 1690s # goto out; 1690s # if (g_strv_length (a) != g_strv_length (b)) 1690s # goto out; 1690s # for (n = 0; a[n] != NULL; n++) 1690s # if (g_strcmp0 (a[n], b[n]) != 0) 1690s # goto out; 1690s # ret = TRUE; 1690s # out: 1690s # return ret; 1690s # } 1690s # 1690s # static gboolean 1690s # _g_variant_equal0 (GVariant *a, GVariant *b) 1690s # { 1690s # gboolean ret = FALSE; 1690s # if (a == NULL && b == NULL) 1690s # { 1690s # ret = TRUE; 1690s # goto out; 1690s # } 1690s # if (a == NULL || b == NULL) 1690s # goto out; 1690s # ret = g_variant_equal (a, b); 1690s # out: 1690s # return ret; 1690s # } 1690s # 1690s # G_GNUC_UNUSED static gboolean 1690s # _g_value_equal (const GValue *a, const GValue *b) 1690s # { 1690s # gboolean ret = FALSE; 1690s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1690s # switch (G_VALUE_TYPE (a)) 1690s # { 1690s # case G_TYPE_BOOLEAN: 1690s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1690s # break; 1690s # case G_TYPE_UCHAR: 1690s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1690s # break; 1690s # case G_TYPE_INT: 1690s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1690s # break; 1690s # case G_TYPE_UINT: 1690s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1690s # break; 1690s # case G_TYPE_INT64: 1690s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1690s # break; 1690s # case G_TYPE_UINT64: 1690s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1690s # break; 1690s # case G_TYPE_DOUBLE: 1690s # { 1690s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1690s # gdouble da = g_value_get_double (a); 1690s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # gboolean arg_arg_b, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_boolean (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_b", 1691s # (gchar *) "b", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodB", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-b", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_b: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-b", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_b, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_b: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_b: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_b ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gboolean arg_arg_b, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodB", 1691s # g_variant_new ("(b)", 1691s # arg_arg_b), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_b_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_b_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_b_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_b: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_b_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gboolean arg_arg_b, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodB", 1691s # g_variant_new ("(b)", 1691s # arg_arg_b), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_b: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_b ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpr3jtdqqa.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpr3jtdqqa.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # guchar arg_arg_y, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_uchar (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_y", 1691s # (gchar *) "y", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodY", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-y", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_y: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-y", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_y, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_y: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_y: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_y ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guchar arg_arg_y, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodY", 1691s # g_variant_new ("(y)", 1691s # arg_arg_y), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_y_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_y_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_y_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_y: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_y_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guchar arg_arg_y, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodY", 1691s # g_variant_new ("(y)", 1691s # arg_arg_y), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_y: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_y ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpqtpt4_8m.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpqtpt4_8m.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # gint16 arg_arg_n, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_int (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_n", 1691s # (gchar *) "n", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodN", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-n", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_n: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-n", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_n, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_n: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_n: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_n ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint16 arg_arg_n, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodN", 1691s # g_variant_new ("(n)", 1691s # arg_arg_n), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_n_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_n_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_n_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_n: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_n_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint16 arg_arg_n, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodN", 1691s # g_variant_new ("(n)", 1691s # arg_arg_n), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_n: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_n ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmp7mxchy5t.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmp7mxchy5t.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # guint16 arg_arg_q, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_uint (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_q", 1691s # (gchar *) "q", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodQ", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-q", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_q: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-q", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_q, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_q: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_q: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_q ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint16 arg_arg_q, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodQ", 1691s # g_variant_new ("(q)", 1691s # arg_arg_q), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_q_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_q_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_q_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_q: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_q_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint16 arg_arg_q, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodQ", 1691s # g_variant_new ("(q)", 1691s # arg_arg_q), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_q: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_q ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmp338myz7e.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmp338myz7e.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # gint arg_arg_i, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_int (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_i", 1691s # (gchar *) "i", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodI", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-i", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_i: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-i", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_i, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_i: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_i: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_i ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint arg_arg_i, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodI", 1691s # g_variant_new ("(i)", 1691s # arg_arg_i), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_i_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_i_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_i_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_i: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_i_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint arg_arg_i, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodI", 1691s # g_variant_new ("(i)", 1691s # arg_arg_i), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_i: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_i ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpj6zojgj9.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpj6zojgj9.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # guint arg_arg_u, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_uint (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_u", 1691s # (gchar *) "u", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodU", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-u", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_u: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-u", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_u, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_u: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_u: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_u ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint arg_arg_u, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodU", 1691s # g_variant_new ("(u)", 1691s # arg_arg_u), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_u_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_u_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_u_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_u: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_u_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint arg_arg_u, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodU", 1691s # g_variant_new ("(u)", 1691s # arg_arg_u), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_u: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_u ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpbgsy1whu.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpbgsy1whu.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # gint64 arg_arg_x, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_int64 (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_x", 1691s # (gchar *) "x", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodX", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-x", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_x: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-x", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_x, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_x: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_x: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_x ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint64 arg_arg_x, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodX", 1691s # g_variant_new ("(x)", 1691s # arg_arg_x), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_x_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_x_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_x_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_x: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_x_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gint64 arg_arg_x, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodX", 1691s # g_variant_new ("(x)", 1691s # arg_arg_x), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_x: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_x ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmprnbp0l97.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmprnbp0l97.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # guint64 arg_arg_t, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_uint64 (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_t", 1691s # (gchar *) "t", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodT", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-t", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_t: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-t", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_t, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_t: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_t: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_t ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint64 arg_arg_t, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodT", 1691s # g_variant_new ("(t)", 1691s # arg_arg_t), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_t_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_t_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_t_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_t: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_t_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # guint64 arg_arg_t, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodT", 1691s # g_variant_new ("(t)", 1691s # arg_arg_t), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_t: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_t ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpeuwpmu86.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpeuwpmu86.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # gdouble arg_arg_d, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_double (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_d", 1691s # (gchar *) "d", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodD", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-d", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_d: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-d", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_d, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_d: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_d: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_d ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gdouble arg_arg_d, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodD", 1691s # g_variant_new ("(d)", 1691s # arg_arg_d), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_d_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_d_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_d_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_d: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_d_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # gdouble arg_arg_d, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodD", 1691s # g_variant_new ("(d)", 1691s # arg_arg_d), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_d: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_d ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpu77lpx5e.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpu77lpx5e.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *arg_arg_s, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_string (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_s", 1691s # (gchar *) "s", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodS", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-s", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_s: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-s", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_s, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_s: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_s: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_s ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_s, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodS", 1691s # g_variant_new ("(s)", 1691s # arg_arg_s), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_s_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_s_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_s_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_s: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_s_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_s, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodS", 1691s # g_variant_new ("(s)", 1691s # arg_arg_s), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_s: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_s ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpzje815uv.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpzje815uv.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *arg_arg_o, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_string (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_o", 1691s # (gchar *) "o", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodO", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-o", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_o: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-o", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_o, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_o: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_o: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_o ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_o, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodO", 1691s # g_variant_new ("(o)", 1691s # arg_arg_o), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_o_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_o_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_o_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_o: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_o_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_o, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodO", 1691s # g_variant_new ("(o)", 1691s # arg_arg_o), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_o: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_o ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpeu22fiaf.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpeu22fiaf.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *arg_arg_g, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_string (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_g", 1691s # (gchar *) "g", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodG", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-g", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_g: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-g", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_g, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_g: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_g: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_g ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_g, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodG", 1691s # g_variant_new ("(g)", 1691s # arg_arg_g), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_g_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_g_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_g_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_g: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_g_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_g, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodG", 1691s # g_variant_new ("(g)", 1691s # arg_arg_g), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_g: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_g ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpsbk__1_j.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpsbk__1_j.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # GVariant *arg_arg_h, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_variant (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_h", 1691s # (gchar *) "h", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodH", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-h", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_h: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-h", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_h, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_h: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_h: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_h ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GVariant *arg_arg_h, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodH", 1691s # g_variant_new ("(@h)", 1691s # arg_arg_h), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_h_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_h_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_h_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_h: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_h_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GVariant *arg_arg_h, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodH", 1691s # g_variant_new ("(@h)", 1691s # arg_arg_h), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_h: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_h ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpfasxc9u8.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpfasxc9u8.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *arg_arg_ay, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_string (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_ay", 1691s # (gchar *) "ay", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodAy", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-ay", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_ay: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-ay", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ay: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_ay: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_ay ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_ay, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAy", 1691s # g_variant_new ("(^ay)", 1691s # arg_arg_ay), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_ay: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *arg_arg_ay, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAy", 1691s # g_variant_new ("(^ay)", 1691s # arg_arg_ay), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_ay: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_ay ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmp1bltndjb.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmp1bltndjb.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *const *arg_arg_as, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_boxed (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_as", 1691s # (gchar *) "as", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodAs", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-as", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_as: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-as", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_as, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_as: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_as: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_as ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_as, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAs", 1691s # g_variant_new ("(^as)", 1691s # arg_arg_as), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_as_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_as_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_as_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_as: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_as_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_as, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAs", 1691s # g_variant_new ("(^as)", 1691s # arg_arg_as), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_as: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_as ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpsl042m0k.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpsl042m0k.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *const *arg_arg_ao, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_boxed (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_ao", 1691s # (gchar *) "ao", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodAo", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-ao", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_ao: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-ao", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ao: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_ao: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_ao ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_ao, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAo", 1691s # g_variant_new ("(^ao)", 1691s # arg_arg_ao), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_ao: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_ao, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAo", 1691s # g_variant_new ("(^ao)", 1691s # arg_arg_ao), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_ao: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_ao ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmpoqft9_7b.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmpoqft9_7b.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # const gchar *const *arg_arg_aay, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_boxed (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_aay", 1691s # (gchar *) "aay", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodAay", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-aay", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_aay: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-aay", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_aay: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_aay: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_aay ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_aay, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAay", 1691s # g_variant_new ("(^aay)", 1691s # arg_arg_aay), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_aay: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # const gchar *const *arg_arg_aay, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAay", 1691s # g_variant_new ("(^aay)", 1691s # arg_arg_aay), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_aay: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_aay ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1691s # /tmp/tmp80cemynj/tmp96d80kob.xml: 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # 1691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80cemynj/tmp96d80kob.xml', '--output', '-', '--body'] 1691s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1691s # Output: /* 1691s # * This file is generated by gdbus-codegen, do not modify it. 1691s # * 1691s # * The license of this code is the same as for the D-Bus interface description 1691s # * it was derived from. Note that it links to GLib, so must comply with the 1691s # * LGPL linking clauses. 1691s # */ 1691s # 1691s # #ifdef HAVE_CONFIG_H 1691s # # include "config.h" 1691s # #endif 1691s # 1691s # #include 1691s # #ifdef G_OS_UNIX 1691s # # include 1691s # #endif 1691s # 1691s # #ifdef G_ENABLE_DEBUG 1691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1691s # #else /* !G_ENABLE_DEBUG */ 1691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1691s # * Do not access GValues directly in your code. Instead, use the 1691s # * g_value_get_*() functions 1691s # */ 1691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1691s # #endif /* !G_ENABLE_DEBUG */ 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusArgInfo parent_struct; 1691s # gboolean use_gvariant; 1691s # } _ExtendedGDBusArgInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusMethodInfo parent_struct; 1691s # const gchar *signal_name; 1691s # gboolean pass_fdlist; 1691s # } _ExtendedGDBusMethodInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusSignalInfo parent_struct; 1691s # const gchar *signal_name; 1691s # } _ExtendedGDBusSignalInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusPropertyInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # guint use_gvariant : 1; 1691s # guint emits_changed_signal : 1; 1691s # } _ExtendedGDBusPropertyInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # GDBusInterfaceInfo parent_struct; 1691s # const gchar *hyphen_name; 1691s # } _ExtendedGDBusInterfaceInfo; 1691s # 1691s # typedef struct 1691s # { 1691s # const _ExtendedGDBusPropertyInfo *info; 1691s # guint prop_id; 1691s # GValue orig_value; /* the value before the change */ 1691s # } ChangedProperty; 1691s # 1691s # static void 1691s # _changed_property_free (ChangedProperty *data) 1691s # { 1691s # g_value_unset (&data->orig_value); 1691s # g_free (data); 1691s # } 1691s # 1691s # static gboolean 1691s # _g_strv_equal0 (gchar **a, gchar **b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # guint n; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # if (g_strv_length (a) != g_strv_length (b)) 1691s # goto out; 1691s # for (n = 0; a[n] != NULL; n++) 1691s # if (g_strcmp0 (a[n], b[n]) != 0) 1691s # goto out; 1691s # ret = TRUE; 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _g_variant_equal0 (GVariant *a, GVariant *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # if (a == NULL && b == NULL) 1691s # { 1691s # ret = TRUE; 1691s # goto out; 1691s # } 1691s # if (a == NULL || b == NULL) 1691s # goto out; 1691s # ret = g_variant_equal (a, b); 1691s # out: 1691s # return ret; 1691s # } 1691s # 1691s # G_GNUC_UNUSED static gboolean 1691s # _g_value_equal (const GValue *a, const GValue *b) 1691s # { 1691s # gboolean ret = FALSE; 1691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1691s # switch (G_VALUE_TYPE (a)) 1691s # { 1691s # case G_TYPE_BOOLEAN: 1691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1691s # break; 1691s # case G_TYPE_UCHAR: 1691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1691s # break; 1691s # case G_TYPE_INT: 1691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1691s # break; 1691s # case G_TYPE_UINT: 1691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1691s # break; 1691s # case G_TYPE_INT64: 1691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1691s # break; 1691s # case G_TYPE_UINT64: 1691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1691s # break; 1691s # case G_TYPE_DOUBLE: 1691s # { 1691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1691s # gdouble da = g_value_get_double (a); 1691s # gdouble db = g_value_get_double (b); 1691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1691s # } 1691s # break; 1691s # case G_TYPE_STRING: 1691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1691s # break; 1691s # case G_TYPE_VARIANT: 1691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1691s # break; 1691s # default: 1691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1691s # else 1691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1691s # break; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static void 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint G_GNUC_UNUSED, 1691s # void *marshal_data) 1691s # { 1691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1691s # (void *data1, 1691s # GDBusMethodInvocation *arg_method_invocation, 1691s # GVariant *arg_arg_asv, 1691s # void *data2); 1691s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1691s # GCClosure *cc = (GCClosure*) closure; 1691s # void *data1, *data2; 1691s # gboolean v_return; 1691s # 1691s # g_return_if_fail (return_value != NULL); 1691s # g_return_if_fail (n_param_values == 3); 1691s # 1691s # if (G_CCLOSURE_SWAP_DATA (closure)) 1691s # { 1691s # data1 = closure->data; 1691s # data2 = g_value_peek_pointer (param_values + 0); 1691s # } 1691s # else 1691s # { 1691s # data1 = g_value_peek_pointer (param_values + 0); 1691s # data2 = closure->data; 1691s # } 1691s # 1691s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1691s # (marshal_data ? marshal_data : cc->callback); 1691s # 1691s # v_return = 1691s # callback (data1, 1691s # g_marshal_value_peek_object (param_values + 1), 1691s # g_marshal_value_peek_variant (param_values + 2), 1691s # data2); 1691s # 1691s # g_value_set_boolean (return_value, v_return); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ 1691s # * Code for interface org.project.UsefulInterface 1691s # * ------------------------------------------------------------------------ 1691s # */ 1691s # 1691s # /** 1691s # * SECTION:OrgProjectUsefulInterface 1691s # * @title: OrgProjectUsefulInterface 1691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1691s # * 1691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1691s # */ 1691s # 1691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1691s # 1691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "arg_asv", 1691s # (gchar *) "a{sv}", 1691s # NULL 1691s # }, 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "SingleArgMethodAsv", 1691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "handle-single-arg-method-asv", 1691s # FALSE 1691s # }; 1691s # 1691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1691s # { 1691s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1691s # NULL 1691s # }; 1691s # 1691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1691s # { 1691s # { 1691s # -1, 1691s # (gchar *) "org.project.UsefulInterface", 1691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1691s # NULL, 1691s # NULL, 1691s # NULL 1691s # }, 1691s # "org-project-useful-interface", 1691s # }; 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_interface_info: 1691s # * 1691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1691s # * 1691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1691s # */ 1691s # GDBusInterfaceInfo * 1691s # org_project_useful_interface_interface_info (void) 1691s # { 1691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_override_properties: 1691s # * @klass: The class structure for a #GObject derived class. 1691s # * @property_id_begin: The property id to assign to the first overridden property. 1691s # * 1691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1691s # * The properties are overridden in the order they are defined. 1691s # * 1691s # * Returns: The last property id. 1691s # */ 1691s # guint 1691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1691s # { 1691s # return property_id_begin - 1; 1691s # } 1691s # 1691s # 1691s # inline static void 1691s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1691s # GClosure *closure, 1691s # GValue *return_value, 1691s # unsigned int n_param_values, 1691s # const GValue *param_values, 1691s # void *invocation_hint, 1691s # void *marshal_data) 1691s # { 1691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1691s # } 1691s # 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterface: 1691s # * 1691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceIface: 1691s # * @parent_iface: The parent interface. 1691s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1691s # * 1691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1691s # */ 1691s # 1691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1691s # 1691s # static void 1691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1691s # { 1691s # /* GObject signals for incoming D-Bus method calls: */ 1691s # /** 1691s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: A #GDBusMethodInvocation. 1691s # * @arg_arg_asv: Argument passed by remote caller. 1691s # * 1691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1691s # * 1691s # * 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. 1691s # * 1691s # * 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. 1691s # */ 1691s # g_signal_new ("handle-single-arg-method-asv", 1691s # G_TYPE_FROM_INTERFACE (iface), 1691s # G_SIGNAL_RUN_LAST, 1691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1691s # g_signal_accumulator_true_handled, 1691s # NULL, 1691s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1691s # G_TYPE_BOOLEAN, 1691s # 2, 1691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1691s # 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_asv: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_asv: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1691s # */ 1691s # void 1691s # org_project_useful_interface_call_single_arg_method_asv ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GVariant *arg_arg_asv, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAsv", 1691s # g_variant_new ("(@a{sv})", 1691s # arg_arg_asv), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # callback, 1691s # user_data); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1691s # * @arg_arg_asv: Argument to pass with the method invocation. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL. 1691s # * 1691s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1691s # * 1691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1691s # */ 1691s # gboolean 1691s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1691s # OrgProjectUsefulInterface *proxy, 1691s # GVariant *arg_arg_asv, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GVariant *_ret; 1691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1691s # "SingleArgMethodAsv", 1691s # g_variant_new ("(@a{sv})", 1691s # arg_arg_asv), 1691s # G_DBUS_CALL_FLAGS_NONE, 1691s # -1, 1691s # cancellable, 1691s # error); 1691s # if (_ret == NULL) 1691s # goto _out; 1691s # g_variant_get (_ret, 1691s # "()"); 1691s # g_variant_unref (_ret); 1691s # _out: 1691s # return _ret != NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_complete_single_arg_method_asv: 1691s # * @object: A #OrgProjectUsefulInterface. 1691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1691s # * 1691s # * 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. 1691s # * 1691s # * This method will free @invocation, you cannot use it afterwards. 1691s # */ 1691s # void 1691s # org_project_useful_interface_complete_single_arg_method_asv ( 1691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1691s # GDBusMethodInvocation *invocation) 1691s # { 1691s # g_dbus_method_invocation_return_value (invocation, 1691s # g_variant_new ("()")); 1691s # } 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxy: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceProxyClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceProxyPrivate 1691s # { 1691s # GData *qdata; 1691s # }; 1691s # 1691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_proxy_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1691s # g_datalist_clear (&proxy->priv->qdata); 1691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1691s # guint prop_id G_GNUC_UNUSED, 1691s # const GValue *value G_GNUC_UNUSED, 1691s # GParamSpec *pspec G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1691s # const gchar *sender_name G_GNUC_UNUSED, 1691s # const gchar *signal_name, 1691s # GVariant *parameters) 1691s # { 1691s # _ExtendedGDBusSignalInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # gsize n; 1691s # guint signal_id; 1691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1691s # if (info == NULL) 1691s # return; 1691s # num_params = g_variant_n_children (parameters); 1691s # paramv = g_new0 (GValue, num_params + 1); 1691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[0], proxy); 1691s # g_variant_iter_init (&iter, parameters); 1691s # n = 1; 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_signal_emitv (paramv, signal_id, 0, NULL); 1691s # for (n = 0; n < num_params + 1; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1691s # GVariant *changed_properties, 1691s # const gchar *const *invalidated_properties) 1691s # { 1691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1691s # guint n; 1691s # const gchar *key; 1691s # GVariantIter *iter; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # g_variant_get (changed_properties, "a{sv}", &iter); 1691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1691s # g_datalist_remove_data (&proxy->priv->qdata, key); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # g_variant_iter_free (iter); 1691s # for (n = 0; invalidated_properties[n] != NULL; n++) 1691s # { 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1691s # if (info != NULL) 1691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1691s # } 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1691s # #else 1691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1691s # #endif 1691s # 1691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusProxyClass *proxy_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1691s # 1691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_sync: 1691s # * @connection: A #GDBusConnection. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_sync ( 1691s # GDBusConnection *connection, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1691s # * @user_data: User data to pass to @callback. 1691s # * 1691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1691s # */ 1691s # void 1691s # org_project_useful_interface_proxy_new_for_bus ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GAsyncReadyCallback callback, 1691s # gpointer user_data) 1691s # { 1691s # g_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); 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_finish: 1691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_finish ( 1691s # GAsyncResult *res, 1691s # GError **error) 1691s # { 1691s # GObject *ret; 1691s # GObject *source_object; 1691s # source_object = g_async_result_get_source_object (res); 1691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1691s # g_object_unref (source_object); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_proxy_new_for_bus_sync: 1691s # * @bus_type: A #GBusType. 1691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1691s # * @name: A bus name (well-known or unique). 1691s # * @object_path: An object path. 1691s # * @cancellable: (nullable): A #GCancellable or %NULL. 1691s # * @error: Return location for error or %NULL 1691s # * 1691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1691s # * 1691s # * The calling thread is blocked until a reply is received. 1691s # * 1691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_proxy_new_for_bus_sync ( 1691s # GBusType bus_type, 1691s # GDBusProxyFlags flags, 1691s # const gchar *name, 1691s # const gchar *object_path, 1691s # GCancellable *cancellable, 1691s # GError **error) 1691s # { 1691s # GInitable *ret; 1691s # 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); 1691s # if (ret != NULL) 1691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1691s # else 1691s # return NULL; 1691s # } 1691s # 1691s # 1691s # /* ------------------------------------------------------------------------ */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeleton: 1691s # * 1691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1691s # */ 1691s # 1691s # /** 1691s # * OrgProjectUsefulInterfaceSkeletonClass: 1691s # * @parent_class: The parent class. 1691s # * 1691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1691s # */ 1691s # 1691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1691s # { 1691s # GValue *properties; 1691s # GList *changed_properties; 1691s # GSource *changed_properties_idle_source; 1691s # GMainContext *context; 1691s # GMutex lock; 1691s # }; 1691s # 1691s # static void 1691s # _org_project_useful_interface_skeleton_handle_method_call ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name, 1691s # const gchar *method_name, 1691s # GVariant *parameters, 1691s # GDBusMethodInvocation *invocation, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # _ExtendedGDBusMethodInfo *info; 1691s # GVariantIter iter; 1691s # GVariant *child; 1691s # GValue *paramv; 1691s # gsize num_params; 1691s # guint num_extra; 1691s # gsize n; 1691s # guint signal_id; 1691s # GValue return_value = G_VALUE_INIT; 1691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1691s # g_assert (info != NULL); 1691s # num_params = g_variant_n_children (parameters); 1691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1691s # n = 0; 1691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_set_object (¶mv[n++], skeleton); 1691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1691s # g_value_set_object (¶mv[n++], invocation); 1691s # if (info->pass_fdlist) 1691s # { 1691s # #ifdef G_OS_UNIX 1691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1691s # #else 1691s # g_assert_not_reached (); 1691s # #endif 1691s # } 1691s # g_variant_iter_init (&iter, parameters); 1691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1691s # { 1691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1691s # if (arg_info->use_gvariant) 1691s # { 1691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1691s # g_value_set_variant (¶mv[n], child); 1691s # n++; 1691s # } 1691s # else 1691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1691s # g_variant_unref (child); 1691s # } 1691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1691s # if (!g_value_get_boolean (&return_value)) 1691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1691s # g_value_unset (&return_value); 1691s # for (n = 0; n < num_params + num_extra; n++) 1691s # g_value_unset (¶mv[n]); 1691s # g_free (paramv); 1691s # } 1691s # 1691s # static GVariant * 1691s # _org_project_useful_interface_skeleton_handle_get_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # GVariant *ret; 1691s # ret = NULL; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # g_value_init (&value, pspec->value_type); 1691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1691s # g_value_unset (&value); 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static gboolean 1691s # _org_project_useful_interface_skeleton_handle_set_property ( 1691s # GDBusConnection *connection G_GNUC_UNUSED, 1691s # const gchar *sender G_GNUC_UNUSED, 1691s # const gchar *object_path G_GNUC_UNUSED, 1691s # const gchar *interface_name G_GNUC_UNUSED, 1691s # const gchar *property_name, 1691s # GVariant *variant, 1691s # GError **error, 1691s # gpointer user_data) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1691s # GValue value = G_VALUE_INIT; 1691s # GParamSpec *pspec; 1691s # _ExtendedGDBusPropertyInfo *info; 1691s # gboolean ret; 1691s # ret = FALSE; 1691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1691s # g_assert (info != NULL); 1691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1691s # if (pspec == NULL) 1691s # { 1691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1691s # } 1691s # else 1691s # { 1691s # if (info->use_gvariant) 1691s # g_value_set_variant (&value, variant); 1691s # else 1691s # g_dbus_gvariant_to_gvalue (variant, &value); 1691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1691s # g_value_unset (&value); 1691s # ret = TRUE; 1691s # } 1691s # return ret; 1691s # } 1691s # 1691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1691s # { 1691s # _org_project_useful_interface_skeleton_handle_method_call, 1691s # _org_project_useful_interface_skeleton_handle_get_property, 1691s # _org_project_useful_interface_skeleton_handle_set_property, 1691s # {NULL} 1691s # }; 1691s # 1691s # static GDBusInterfaceInfo * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return org_project_useful_interface_interface_info (); 1691s # } 1691s # 1691s # static GDBusInterfaceVTable * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1691s # { 1691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1691s # } 1691s # 1691s # static GVariant * 1691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1691s # 1691s # GVariantBuilder builder; 1691s # guint n; 1691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1691s # goto out; 1691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1691s # { 1691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1691s # { 1691s # GVariant *value; 1691s # 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); 1691s # if (value != NULL) 1691s # { 1691s # g_variant_take_ref (value); 1691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1691s # g_variant_unref (value); 1691s # } 1691s # } 1691s # } 1691s # out: 1691s # return g_variant_builder_end (&builder); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #else 1691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1691s # 1691s # #endif 1691s # static void 1691s # org_project_useful_interface_skeleton_finalize (GObject *object) 1691s # { 1691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1691s # if (skeleton->priv->changed_properties_idle_source != NULL) 1691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1691s # g_main_context_unref (skeleton->priv->context); 1691s # g_mutex_clear (&skeleton->priv->lock); 1691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1691s # { 1691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1691s # #else 1691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1691s # #endif 1691s # 1691s # g_mutex_init (&skeleton->priv->lock); 1691s # skeleton->priv->context = g_main_context_ref_thread_default (); 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1691s # { 1691s # GObjectClass *gobject_class; 1691s # GDBusInterfaceSkeletonClass *skeleton_class; 1691s # 1691s # gobject_class = G_OBJECT_CLASS (klass); 1691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1691s # 1691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1691s # 1691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1691s # #endif 1691s # } 1691s # 1691s # static void 1691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1691s # { 1691s # } 1691s # 1691s # /** 1691s # * org_project_useful_interface_skeleton_new: 1691s # * 1691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1691s # * 1691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1691s # */ 1691s # OrgProjectUsefulInterface * 1691s # org_project_useful_interface_skeleton_new (void) 1691s # { 1691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1691s # } 1692s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1692s # tmpdir: /tmp/tmp5bw2c7lt 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmp5bw2c7lt/tmp56jl3peq.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmp56jl3peq.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodB", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-b", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-b", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_b, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_b: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_b ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodB", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_b_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_b_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gboolean *out_arg_b, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(b)", 1692s # out_arg_b); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_b_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_b_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gboolean *out_arg_b, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodB", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(b)", 1692s # out_arg_b); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_b: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_b: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_b ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gboolean arg_b) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(b)", 1692s # arg_b)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpyyr756v2.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpyyr756v2.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodY", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-y", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-y", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_y, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_y: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_y ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodY", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_y_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_y_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guchar *out_arg_y, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(y)", 1692s # out_arg_y); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_y_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_y_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guchar *out_arg_y, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodY", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(y)", 1692s # out_arg_y); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_y: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_y: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_y ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # guchar arg_y) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(y)", 1692s # arg_y)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpfqq7rqg8.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpfqq7rqg8.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodN", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-n", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-n", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_n, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_n: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_n ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodN", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_n_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_n_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint16 *out_arg_n, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(n)", 1692s # out_arg_n); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_n_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_n_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint16 *out_arg_n, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodN", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(n)", 1692s # out_arg_n); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_n: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_n: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_n ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gint16 arg_n) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(n)", 1692s # arg_n)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmp73ofjf5z.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmp73ofjf5z.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodQ", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-q", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-q", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_q, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_q: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_q ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodQ", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_q_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_q_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint16 *out_arg_q, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(q)", 1692s # out_arg_q); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_q_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_q_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint16 *out_arg_q, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodQ", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(q)", 1692s # out_arg_q); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_q: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_q: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_q ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # guint16 arg_q) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(q)", 1692s # arg_q)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpxrjngrdc.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpxrjngrdc.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodI", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-i", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-i", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_i, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_i: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_i ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodI", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_i_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_i_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint *out_arg_i, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(i)", 1692s # out_arg_i); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_i_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_i_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint *out_arg_i, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodI", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(i)", 1692s # out_arg_i); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_i: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_i: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_i ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gint arg_i) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(i)", 1692s # arg_i)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmp_a6pjhgc.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmp_a6pjhgc.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodU", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-u", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-u", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_u, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_u: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_u ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodU", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_u_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_u_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint *out_arg_u, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(u)", 1692s # out_arg_u); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_u_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_u_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint *out_arg_u, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodU", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(u)", 1692s # out_arg_u); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_u: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_u: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_u ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # guint arg_u) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(u)", 1692s # arg_u)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpd2cck6fd.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpd2cck6fd.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodX", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-x", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-x", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_x, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_x: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_x ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodX", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_x_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_x_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint64 *out_arg_x, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(x)", 1692s # out_arg_x); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_x_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_x_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gint64 *out_arg_x, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodX", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(x)", 1692s # out_arg_x); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_x: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_x: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_x ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gint64 arg_x) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(x)", 1692s # arg_x)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmph3ripobs.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmph3ripobs.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodT", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-t", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-t", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_t, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_t: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_t ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodT", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_t_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_t_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint64 *out_arg_t, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(t)", 1692s # out_arg_t); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_t_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_t_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # guint64 *out_arg_t, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodT", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(t)", 1692s # out_arg_t); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_t: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_t: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_t ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # guint64 arg_t) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(t)", 1692s # arg_t)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpc0d2l4zk.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpc0d2l4zk.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodD", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-d", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-d", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_d, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_d: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_d ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodD", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_d_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_d_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gdouble *out_arg_d, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(d)", 1692s # out_arg_d); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_d_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_d_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gdouble *out_arg_d, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodD", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(d)", 1692s # out_arg_d); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_d: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_d: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_d ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gdouble arg_d) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(d)", 1692s # arg_d)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpin25g3dv.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpin25g3dv.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodS", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-s", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-s", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_s, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_s: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_s ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodS", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_s_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_s_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_s, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(s)", 1692s # out_arg_s); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_s_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_s_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_s, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodS", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(s)", 1692s # out_arg_s); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_s: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_s: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_s ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *arg_s) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(s)", 1692s # arg_s)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmp9ztajnvy.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmp9ztajnvy.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodO", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-o", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-o", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_o, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_o: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_o ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodO", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_o_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_o_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_o, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(o)", 1692s # out_arg_o); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_o_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_o_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_o, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodO", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(o)", 1692s # out_arg_o); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_o: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_o: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_o ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *arg_o) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(o)", 1692s # arg_o)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpsj8p_lys.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpsj8p_lys.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodG", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-g", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-g", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_g, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_g: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_g ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodG", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_g_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_g_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_g, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(g)", 1692s # out_arg_g); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_g_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_g_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_g, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodG", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(g)", 1692s # out_arg_g); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_g: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_g: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_g ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *arg_g) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(g)", 1692s # arg_g)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmp60dlt_bg.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmp60dlt_bg.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodH", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-h", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-h", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_h, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_h: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_h ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodH", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_h_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_h_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GVariant **out_arg_h, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(@h)", 1692s # out_arg_h); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_h_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_h_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GVariant **out_arg_h, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodH", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(@h)", 1692s # out_arg_h); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_h: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_h: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_h ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # GVariant *arg_h) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(@h)", 1692s # arg_h)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpdvbjwxq2.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpdvbjwxq2.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodAy", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-ay", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-ay", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ay: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_ay ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAy", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_ay, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^ay)", 1692s # out_arg_ay); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar **out_arg_ay, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAy", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^ay)", 1692s # out_arg_ay); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_ay: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_ay: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_ay ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *arg_ay) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(^ay)", 1692s # arg_ay)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpdicskjbc.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpdicskjbc.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodAs", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-as", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-as", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_as, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_as: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_as ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAs", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_as_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_as_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_as, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^as)", 1692s # out_arg_as); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_as_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_as_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_as, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAs", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^as)", 1692s # out_arg_as); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_as: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_as: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_as ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *const *arg_as) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(^as)", 1692s # arg_as)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpd3368joh.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpd3368joh.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodAo", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-ao", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-ao", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ao: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_ao ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAo", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_ao, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^ao)", 1692s # out_arg_ao); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_ao, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAo", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^ao)", 1692s # out_arg_ao); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_ao: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_ao: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_ao ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *const *arg_ao) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(^ao)", 1692s # arg_ao)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpzw0q70dp.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpzw0q70dp.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodAay", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-aay", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-aay", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_aay: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_aay ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAay", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_aay, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^aay)", 1692s # out_arg_aay); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # gchar ***out_arg_aay, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAay", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(^aay)", 1692s # out_arg_aay); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_aay: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_aay: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_aay ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # const gchar *const *arg_aay) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(^aay)", 1692s # arg_aay)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s # /tmp/tmp5bw2c7lt/tmpqpr_w18l.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bw2c7lt/tmpqpr_w18l.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.UsefulInterface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectUsefulInterface 1692s # * @title: OrgProjectUsefulInterface 1692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "arg_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgMethodAsv", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-single-arg-method-asv", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1692s # { 1692s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.UsefulInterface", 1692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-useful-interface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_useful_interface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1692s # */ 1692s # 1692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-single-arg-method-asv", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_asv: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_useful_interface_call_single_arg_method_asv ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAsv", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GVariant **out_arg_asv, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(@a{sv})", 1692s # out_arg_asv); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1692s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1692s # OrgProjectUsefulInterface *proxy, 1692s # GVariant **out_arg_asv, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SingleArgMethodAsv", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(@a{sv})", 1692s # out_arg_asv); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_complete_single_arg_method_asv: 1692s # * @object: A #OrgProjectUsefulInterface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @arg_asv: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_useful_interface_complete_single_arg_method_asv ( 1692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # GVariant *arg_asv) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(@a{sv})", 1692s # arg_asv)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxy: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_useful_interface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeleton: 1692s # * 1692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectUsefulInterfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_useful_interface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_useful_interface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_useful_interface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1692s # { 1692s # _org_project_useful_interface_skeleton_handle_method_call, 1692s # _org_project_useful_interface_skeleton_handle_get_property, 1692s # _org_project_useful_interface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_useful_interface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_useful_interface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_useful_interface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectUsefulInterface * 1692s # org_project_useful_interface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1692s # } 1692s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1692s # tmpdir: /tmp/tmpm77_q2vi 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpm77_q2vi/tmpyd6r3e3z.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm77_q2vi/tmpyd6r3e3z.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 20); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # g_marshal_value_peek_boolean (param_values + 2), 1692s # g_marshal_value_peek_uchar (param_values + 3), 1692s # g_marshal_value_peek_int (param_values + 4), 1692s # g_marshal_value_peek_uint (param_values + 5), 1692s # g_marshal_value_peek_int (param_values + 6), 1692s # g_marshal_value_peek_uint (param_values + 7), 1692s # g_marshal_value_peek_int64 (param_values + 8), 1692s # g_marshal_value_peek_uint64 (param_values + 9), 1692s # g_marshal_value_peek_double (param_values + 10), 1692s # g_marshal_value_peek_string (param_values + 11), 1692s # g_marshal_value_peek_string (param_values + 12), 1692s # g_marshal_value_peek_string (param_values + 13), 1692s # g_marshal_value_peek_variant (param_values + 14), 1692s # g_marshal_value_peek_string (param_values + 15), 1692s # g_marshal_value_peek_boxed (param_values + 16), 1692s # g_marshal_value_peek_boxed (param_values + 17), 1692s # g_marshal_value_peek_boxed (param_values + 18), 1692s # g_marshal_value_peek_variant (param_values + 19), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.CallableIface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectCallableIface 1692s # * @title: OrgProjectCallableIface 1692s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.CallableIface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1692s # { 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "MethodWithManyArgs", 1692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "handle-method-with-many-args", 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1692s # { 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SameMethodWithManyArgs", 1692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "handle-same-method-with-many-args", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1692s # { 1692s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1692s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.CallableIface", 1692s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-callable-iface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_callable_iface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_callable_iface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_callable_iface_method_marshal_method_with_many_args ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _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, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _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, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectCallableIface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1692s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.CallableIface. 1692s # */ 1692s # 1692s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectCallableIface::handle-method-with-many-args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * @arg_an_b: Argument passed by remote caller. 1692s # * @arg_an_y: Argument passed by remote caller. 1692s # * @arg_an_n: Argument passed by remote caller. 1692s # * @arg_an_q: Argument passed by remote caller. 1692s # * @arg_an_i: Argument passed by remote caller. 1692s # * @arg_an_u: Argument passed by remote caller. 1692s # * @arg_an_x: Argument passed by remote caller. 1692s # * @arg_an_t: Argument passed by remote caller. 1692s # * @arg_an_d: Argument passed by remote caller. 1692s # * @arg_an_s: Argument passed by remote caller. 1692s # * @arg_an_o: Argument passed by remote caller. 1692s # * @arg_an_g: Argument passed by remote caller. 1692s # * @arg_an_h: Argument passed by remote caller. 1692s # * @arg_an_ay: Argument passed by remote caller. 1692s # * @arg_an_as: Argument passed by remote caller. 1692s # * @arg_an_ao: Argument passed by remote caller. 1692s # * @arg_an_aay: Argument passed by remote caller. 1692s # * @arg_an_asv: Argument passed by remote caller. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-method-with-many-args", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_callable_iface_method_marshal_method_with_many_args, 1692s # G_TYPE_BOOLEAN, 1692s # 19, 1692s # 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); 1692s # 1692s # /** 1692s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * @arg_an_b: Argument passed by remote caller. 1692s # * @arg_an_y: Argument passed by remote caller. 1692s # * @arg_an_n: Argument passed by remote caller. 1692s # * @arg_an_q: Argument passed by remote caller. 1692s # * @arg_an_i: Argument passed by remote caller. 1692s # * @arg_an_u: Argument passed by remote caller. 1692s # * @arg_an_x: Argument passed by remote caller. 1692s # * @arg_an_t: Argument passed by remote caller. 1692s # * @arg_an_d: Argument passed by remote caller. 1692s # * @arg_an_s: Argument passed by remote caller. 1692s # * @arg_an_o: Argument passed by remote caller. 1692s # * @arg_an_g: Argument passed by remote caller. 1692s # * @arg_an_h: Argument passed by remote caller. 1692s # * @arg_an_ay: Argument passed by remote caller. 1692s # * @arg_an_as: Argument passed by remote caller. 1692s # * @arg_an_ao: Argument passed by remote caller. 1692s # * @arg_an_aay: Argument passed by remote caller. 1692s # * @arg_an_asv: Argument passed by remote caller. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-same-method-with-many-args", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1692s # G_TYPE_BOOLEAN, 1692s # 19, 1692s # 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); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_callable_iface_call_method_with_many_args ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args_finish: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_method_with_many_args_finish ( 1692s # OrgProjectCallableIface *proxy, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args_sync: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_method_with_many_args_sync ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_same_method_with_many_args: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_callable_iface_call_same_method_with_many_args ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "SameMethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1692s # OrgProjectCallableIface *proxy, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "SameMethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_complete_method_with_many_args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_callable_iface_complete_method_with_many_args ( 1692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("()")); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_complete_same_method_with_many_args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_callable_iface_complete_same_method_with_many_args ( 1692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("()")); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceProxy: 1692s # * 1692s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectCallableIfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectCallableIfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_callable_iface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1692s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1692s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_callable_iface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_callable_iface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceSkeleton: 1692s # * 1692s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectCallableIfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_callable_iface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_callable_iface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_callable_iface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1692s # { 1692s # _org_project_callable_iface_skeleton_handle_method_call, 1692s # _org_project_callable_iface_skeleton_handle_get_property, 1692s # _org_project_callable_iface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_callable_iface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_callable_iface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.OtherCallableIface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectOtherCallableIface 1692s # * @title: OrgProjectOtherCallableIface 1692s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1692s # { 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "MethodWithManyArgs", 1692s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "handle-method-with-many-args", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1692s # { 1692s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.OtherCallableIface", 1692s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-other-callable-iface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_other_callable_iface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _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, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1692s # */ 1692s # 1692s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1692s # * @object: A #OrgProjectOtherCallableIface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * @arg_an_b: Argument passed by remote caller. 1692s # * @arg_an_y: Argument passed by remote caller. 1692s # * @arg_an_n: Argument passed by remote caller. 1692s # * @arg_an_q: Argument passed by remote caller. 1692s # * @arg_an_i: Argument passed by remote caller. 1692s # * @arg_an_u: Argument passed by remote caller. 1692s # * @arg_an_x: Argument passed by remote caller. 1692s # * @arg_an_t: Argument passed by remote caller. 1692s # * @arg_an_d: Argument passed by remote caller. 1692s # * @arg_an_s: Argument passed by remote caller. 1692s # * @arg_an_o: Argument passed by remote caller. 1692s # * @arg_an_g: Argument passed by remote caller. 1692s # * @arg_an_h: Argument passed by remote caller. 1692s # * @arg_an_ay: Argument passed by remote caller. 1692s # * @arg_an_as: Argument passed by remote caller. 1692s # * @arg_an_ao: Argument passed by remote caller. 1692s # * @arg_an_aay: Argument passed by remote caller. 1692s # * @arg_an_asv: Argument passed by remote caller. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-method-with-many-args", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1692s # G_TYPE_BOOLEAN, 1692s # 19, 1692s # 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); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_call_method_with_many_args: 1692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_other_callable_iface_call_method_with_many_args ( 1692s # OrgProjectOtherCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1692s # OrgProjectOtherCallableIface *proxy, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1692s # * @arg_an_b: Argument to pass with the method invocation. 1692s # * @arg_an_y: Argument to pass with the method invocation. 1692s # * @arg_an_n: Argument to pass with the method invocation. 1692s # * @arg_an_q: Argument to pass with the method invocation. 1692s # * @arg_an_i: Argument to pass with the method invocation. 1692s # * @arg_an_u: Argument to pass with the method invocation. 1692s # * @arg_an_x: Argument to pass with the method invocation. 1692s # * @arg_an_t: Argument to pass with the method invocation. 1692s # * @arg_an_d: Argument to pass with the method invocation. 1692s # * @arg_an_s: Argument to pass with the method invocation. 1692s # * @arg_an_o: Argument to pass with the method invocation. 1692s # * @arg_an_g: Argument to pass with the method invocation. 1692s # * @arg_an_h: Argument to pass with the method invocation. 1692s # * @arg_an_ay: Argument to pass with the method invocation. 1692s # * @arg_an_as: Argument to pass with the method invocation. 1692s # * @arg_an_ao: Argument to pass with the method invocation. 1692s # * @arg_an_aay: Argument to pass with the method invocation. 1692s # * @arg_an_asv: Argument to pass with the method invocation. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1692s # OrgProjectOtherCallableIface *proxy, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "()"); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_complete_method_with_many_args: 1692s # * @object: A #OrgProjectOtherCallableIface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_other_callable_iface_complete_method_with_many_args ( 1692s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("()")); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIfaceProxy: 1692s # * 1692s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1692s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1692s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_other_callable_iface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectOtherCallableIface * 1692s # org_project_other_callable_iface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectOtherCallableIface * 1692s # org_project_other_callable_iface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_other_callable_iface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectOtherCallableIface * 1692s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectOtherCallableIface * 1692s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIfaceSkeleton: 1692s # * 1692s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectOtherCallableIfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1692s # { 1692s # _org_project_other_callable_iface_skeleton_handle_method_call, 1692s # _org_project_other_callable_iface_skeleton_handle_get_property, 1692s # _org_project_other_callable_iface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_other_callable_iface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_other_callable_iface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectOtherCallableIface * 1692s # org_project_other_callable_iface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1692s # } 1692s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1692s # tmpdir: /tmp/tmpi0aixv25 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpi0aixv25/tmpolsp_7zw.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi0aixv25/tmpolsp_7zw.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (void *data1, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.CallableIface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectCallableIface 1692s # * @title: OrgProjectCallableIface 1692s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for org.project.CallableIface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1692s # { 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "MethodWithManyArgs", 1692s # NULL, 1692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-method-with-many-args", 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1692s # { 1692s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.CallableIface", 1692s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-callable-iface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_callable_iface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_callable_iface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_callable_iface_method_marshal_method_with_many_args ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectCallableIface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.CallableIface. 1692s # */ 1692s # 1692s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * OrgProjectCallableIface::handle-method-with-many-args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-method-with-many-args", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # org_project_callable_iface_method_marshal_method_with_many_args, 1692s # G_TYPE_BOOLEAN, 1692s # 1, 1692s # G_TYPE_DBUS_METHOD_INVOCATION); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # org_project_callable_iface_call_method_with_many_args ( 1692s # OrgProjectCallableIface *proxy, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args_finish: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_method_with_many_args_finish ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean *out_an_b, 1692s # guchar *out_an_y, 1692s # gint16 *out_an_n, 1692s # guint16 *out_an_q, 1692s # gint *out_an_i, 1692s # guint *out_an_u, 1692s # gint64 *out_an_x, 1692s # guint64 *out_an_t, 1692s # gdouble *out_an_d, 1692s # gchar **out_an_s, 1692s # gchar **out_an_o, 1692s # gchar **out_an_g, 1692s # GVariant **out_an_h, 1692s # gchar **out_an_ay, 1692s # gchar ***out_an_as, 1692s # gchar ***out_an_ao, 1692s # gchar ***out_an_aay, 1692s # GVariant **out_an_asv, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # out_an_b, 1692s # out_an_y, 1692s # out_an_n, 1692s # out_an_q, 1692s # out_an_i, 1692s # out_an_u, 1692s # out_an_x, 1692s # out_an_t, 1692s # out_an_d, 1692s # out_an_s, 1692s # out_an_o, 1692s # out_an_g, 1692s # out_an_h, 1692s # out_an_ay, 1692s # out_an_as, 1692s # out_an_ao, 1692s # out_an_aay, 1692s # out_an_asv); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_call_method_with_many_args_sync: 1692s # * @proxy: A #OrgProjectCallableIfaceProxy. 1692s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1692s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # org_project_callable_iface_call_method_with_many_args_sync ( 1692s # OrgProjectCallableIface *proxy, 1692s # gboolean *out_an_b, 1692s # guchar *out_an_y, 1692s # gint16 *out_an_n, 1692s # guint16 *out_an_q, 1692s # gint *out_an_i, 1692s # guint *out_an_u, 1692s # gint64 *out_an_x, 1692s # guint64 *out_an_t, 1692s # gdouble *out_an_d, 1692s # gchar **out_an_s, 1692s # gchar **out_an_o, 1692s # gchar **out_an_g, 1692s # GVariant **out_an_h, 1692s # gchar **out_an_ay, 1692s # gchar ***out_an_as, 1692s # gchar ***out_an_ao, 1692s # gchar ***out_an_aay, 1692s # GVariant **out_an_asv, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1692s # "MethodWithManyArgs", 1692s # g_variant_new ("()"), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # out_an_b, 1692s # out_an_y, 1692s # out_an_n, 1692s # out_an_q, 1692s # out_an_i, 1692s # out_an_u, 1692s # out_an_x, 1692s # out_an_t, 1692s # out_an_d, 1692s # out_an_s, 1692s # out_an_o, 1692s # out_an_g, 1692s # out_an_h, 1692s # out_an_ay, 1692s # out_an_as, 1692s # out_an_ao, 1692s # out_an_aay, 1692s # out_an_asv); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_complete_method_with_many_args: 1692s # * @object: A #OrgProjectCallableIface. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @an_b: Parameter to return. 1692s # * @an_y: Parameter to return. 1692s # * @an_n: Parameter to return. 1692s # * @an_q: Parameter to return. 1692s # * @an_i: Parameter to return. 1692s # * @an_u: Parameter to return. 1692s # * @an_x: Parameter to return. 1692s # * @an_t: Parameter to return. 1692s # * @an_d: Parameter to return. 1692s # * @an_s: Parameter to return. 1692s # * @an_o: Parameter to return. 1692s # * @an_g: Parameter to return. 1692s # * @an_h: Parameter to return. 1692s # * @an_ay: Parameter to return. 1692s # * @an_as: Parameter to return. 1692s # * @an_ao: Parameter to return. 1692s # * @an_aay: Parameter to return. 1692s # * @an_asv: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # org_project_callable_iface_complete_method_with_many_args ( 1692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # gboolean an_b, 1692s # guchar an_y, 1692s # gint16 an_n, 1692s # guint16 an_q, 1692s # gint an_i, 1692s # guint an_u, 1692s # gint64 an_x, 1692s # guint64 an_t, 1692s # gdouble an_d, 1692s # const gchar *an_s, 1692s # const gchar *an_o, 1692s # const gchar *an_g, 1692s # GVariant *an_h, 1692s # const gchar *an_ay, 1692s # const gchar *const *an_as, 1692s # const gchar *const *an_ao, 1692s # const gchar *const *an_aay, 1692s # GVariant *an_asv) 1692s # { 1692s # g_dbus_method_invocation_return_value (invocation, 1692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # an_b, 1692s # an_y, 1692s # an_n, 1692s # an_q, 1692s # an_i, 1692s # an_u, 1692s # an_x, 1692s # an_t, 1692s # an_d, 1692s # an_s, 1692s # an_o, 1692s # an_g, 1692s # an_h, 1692s # an_ay, 1692s # an_as, 1692s # an_ao, 1692s # an_aay, 1692s # an_asv)); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceProxy: 1692s # * 1692s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectCallableIfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectCallableIfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_callable_iface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1692s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1692s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_callable_iface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_callable_iface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceSkeleton: 1692s # * 1692s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectCallableIfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectCallableIfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_callable_iface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_callable_iface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_callable_iface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1692s # { 1692s # _org_project_callable_iface_skeleton_handle_method_call, 1692s # _org_project_callable_iface_skeleton_handle_get_property, 1692s # _org_project_callable_iface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_callable_iface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_callable_iface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_callable_iface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectCallableIface * 1692s # org_project_callable_iface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1692s # } 1692s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1692s # tmpdir: /tmp/tmpuj2p6wl7 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpuj2p6wl7/tmpwh9_p1mr.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuj2p6wl7/tmpwh9_p1mr.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1692s # (void *data1, 1692s # GUnixFDList *arg_fd_list, 1692s # GDBusMethodInvocation *arg_method_invocation, 1692s # const gchar *arg_greeting, 1692s # void *data2); 1692s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # gboolean v_return; 1692s # 1692s # g_return_if_fail (return_value != NULL); 1692s # g_return_if_fail (n_param_values == 4); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # v_return = 1692s # callback (data1, 1692s # g_marshal_value_peek_object (param_values + 1), 1692s # g_marshal_value_peek_object (param_values + 2), 1692s # g_marshal_value_peek_string (param_values + 3), 1692s # data2); 1692s # 1692s # g_value_set_boolean (return_value, v_return); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface test.FDPassing 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:TestFDPassing 1692s # * @title: TestFDPassing 1692s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1692s # * 1692s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1692s # */ 1692s # 1692s # /* ---- Introspection data for test.FDPassing ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "greeting", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1692s # { 1692s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "response", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1692s # { 1692s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "HelloFD", 1692s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1692s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "handle-hello-fd", 1692s # TRUE 1692s # }; 1692s # 1692s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1692s # { 1692s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "test.FDPassing", 1692s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1692s # NULL, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "test-fdpassing", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * test_fdpassing_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # test_fdpassing_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # test_fdpassing_method_marshal_hello_fd ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * TestFDPassing: 1692s # * 1692s # * Abstract interface type for the D-Bus interface test.FDPassing. 1692s # */ 1692s # 1692s # /** 1692s # * TestFDPassingIface: 1692s # * @parent_iface: The parent interface. 1692s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1692s # * 1692s # * Virtual table for the D-Bus interface test.FDPassing. 1692s # */ 1692s # 1692s # typedef TestFDPassingIface TestFDPassingInterface; 1692s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # test_fdpassing_default_init (TestFDPassingIface *iface) 1692s # { 1692s # /* GObject signals for incoming D-Bus method calls: */ 1692s # /** 1692s # * TestFDPassing::handle-hello-fd: 1692s # * @object: A #TestFDPassing. 1692s # * @invocation: A #GDBusMethodInvocation. 1692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1692s # * @arg_greeting: Argument passed by remote caller. 1692s # * 1692s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1692s # * 1692s # * 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. 1692s # * 1692s # * 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. 1692s # */ 1692s # g_signal_new ("handle-hello-fd", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1692s # g_signal_accumulator_true_handled, 1692s # NULL, 1692s # test_fdpassing_method_marshal_hello_fd, 1692s # G_TYPE_BOOLEAN, 1692s # 3, 1692s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_call_hello_fd: 1692s # * @proxy: A #TestFDPassingProxy. 1692s # * @arg_greeting: Argument to pass with the method invocation. 1692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1692s # * 1692s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1692s # */ 1692s # void 1692s # test_fdpassing_call_hello_fd ( 1692s # TestFDPassing *proxy, 1692s # const gchar *arg_greeting, 1692s # GUnixFDList *fd_list, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1692s # "HelloFD", 1692s # g_variant_new ("(s)", 1692s # arg_greeting), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # fd_list, 1692s # cancellable, 1692s # callback, 1692s # user_data); 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_call_hello_fd_finish: 1692s # * @proxy: A #TestFDPassingProxy. 1692s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # test_fdpassing_call_hello_fd_finish ( 1692s # TestFDPassing *proxy, 1692s # gchar **out_response, 1692s # GUnixFDList **out_fd_list, 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(s)", 1692s # out_response); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_call_hello_fd_sync: 1692s # * @proxy: A #TestFDPassingProxy. 1692s # * @arg_greeting: Argument to pass with the method invocation. 1692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1692s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1692s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL. 1692s # * 1692s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1692s # * 1692s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1692s # * 1692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1692s # */ 1692s # gboolean 1692s # test_fdpassing_call_hello_fd_sync ( 1692s # TestFDPassing *proxy, 1692s # const gchar *arg_greeting, 1692s # GUnixFDList *fd_list, 1692s # gchar **out_response, 1692s # GUnixFDList **out_fd_list, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GVariant *_ret; 1692s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1692s # "HelloFD", 1692s # g_variant_new ("(s)", 1692s # arg_greeting), 1692s # G_DBUS_CALL_FLAGS_NONE, 1692s # -1, 1692s # fd_list, 1692s # out_fd_list, 1692s # cancellable, 1692s # error); 1692s # if (_ret == NULL) 1692s # goto _out; 1692s # g_variant_get (_ret, 1692s # "(s)", 1692s # out_response); 1692s # g_variant_unref (_ret); 1692s # _out: 1692s # return _ret != NULL; 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_complete_hello_fd: 1692s # * @object: A #TestFDPassing. 1692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1692s # * @response: Parameter to return. 1692s # * 1692s # * 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. 1692s # * 1692s # * This method will free @invocation, you cannot use it afterwards. 1692s # */ 1692s # void 1692s # test_fdpassing_complete_hello_fd ( 1692s # TestFDPassing *object G_GNUC_UNUSED, 1692s # GDBusMethodInvocation *invocation, 1692s # GUnixFDList *fd_list, 1692s # const gchar *response) 1692s # { 1692s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1692s # g_variant_new ("(s)", 1692s # response), 1692s # fd_list); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * TestFDPassingProxy: 1692s # * 1692s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * TestFDPassingProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #TestFDPassingProxy. 1692s # */ 1692s # 1692s # struct _TestFDPassingProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (TestFDPassingProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # test_fdpassing_proxy_finalize (GObject *object) 1692s # { 1692s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1692s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1692s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1692s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # test_fdpassing_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with test_fdpassing_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # TestFDPassing * 1692s # test_fdpassing_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return TEST_FDPASSING (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # TestFDPassing * 1692s # test_fdpassing_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return TEST_FDPASSING (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # test_fdpassing_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # TestFDPassing * 1692s # test_fdpassing_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return TEST_FDPASSING (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # TestFDPassing * 1692s # test_fdpassing_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return TEST_FDPASSING (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * TestFDPassingSkeleton: 1692s # * 1692s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * TestFDPassingSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #TestFDPassingSkeleton. 1692s # */ 1692s # 1692s # struct _TestFDPassingSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _test_fdpassing_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _test_fdpassing_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _test_fdpassing_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1692s # { 1692s # _test_fdpassing_skeleton_handle_method_call, 1692s # _test_fdpassing_skeleton_handle_get_property, 1692s # _test_fdpassing_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return test_fdpassing_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # test_fdpassing_skeleton_finalize (GObject *object) 1692s # { 1692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * test_fdpassing_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1692s # * 1692s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1692s # */ 1692s # TestFDPassing * 1692s # test_fdpassing_skeleton_new (void) 1692s # { 1692s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1692s # } 1692s ok 15 __main__.TestCodegen.test_generate_rst 1692s # tmpdir: /tmp/tmpcivx1i58 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpcivx1i58/tmpkck813tu.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcivx1i58/tmpkck813tu.xml', '--generate-rst', 'test'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: 1692s ok 16 __main__.TestCodegen.test_generate_rst_method 1692s # tmpdir: /tmp/tmpxksfvcwz 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpxksfvcwz/tmpid2eg814.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxksfvcwz/tmpid2eg814.xml', '--generate-rst', 'test'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: 1692s ok 17 __main__.TestCodegen.test_generate_rst_property 1692s # tmpdir: /tmp/tmpo9f0agln 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpo9f0agln/tmpry3j4vli.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo9f0agln/tmpry3j4vli.xml', '--generate-rst', 'test'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: 1692s ok 18 __main__.TestCodegen.test_generate_rst_signal 1692s # tmpdir: /tmp/tmpwijf__sz 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpwijf__sz/tmpyofqy11x.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwijf__sz/tmpyofqy11x.xml', '--generate-rst', 'test'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: 1692s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1692s # tmpdir: /tmp/tmpdvk1p4k2 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpdvk1p4k2/tmpx7pj7lo8.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdvk1p4k2/tmpx7pj7lo8.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1692s # GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1692s # (void *data1, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv, 1692s # void *data2); 1692s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # 1692s # g_return_if_fail (n_param_values == 19); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_boolean (param_values + 1), 1692s # g_marshal_value_peek_uchar (param_values + 2), 1692s # g_marshal_value_peek_int (param_values + 3), 1692s # g_marshal_value_peek_uint (param_values + 4), 1692s # g_marshal_value_peek_int (param_values + 5), 1692s # g_marshal_value_peek_uint (param_values + 6), 1692s # g_marshal_value_peek_int64 (param_values + 7), 1692s # g_marshal_value_peek_uint64 (param_values + 8), 1692s # g_marshal_value_peek_double (param_values + 9), 1692s # g_marshal_value_peek_string (param_values + 10), 1692s # g_marshal_value_peek_string (param_values + 11), 1692s # g_marshal_value_peek_string (param_values + 12), 1692s # g_marshal_value_peek_variant (param_values + 13), 1692s # g_marshal_value_peek_string (param_values + 14), 1692s # g_marshal_value_peek_boxed (param_values + 15), 1692s # g_marshal_value_peek_boxed (param_values + 16), 1692s # g_marshal_value_peek_boxed (param_values + 17), 1692s # g_marshal_value_peek_variant (param_values + 18), 1692s # data2); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.SignalingIface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectSignalingIface 1692s # * @title: OrgProjectSignalingIface 1692s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1692s # */ 1692s # 1692s # enum 1692s # { 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1692s # }; 1692s # 1692s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1692s # 1692s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SignalWithManyArgs", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "signal-with-many-args" 1692s # }; 1692s # 1692s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.SignalingIface", 1692s # NULL, 1692s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-signaling-iface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_signaling_iface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_signaling_iface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1692s # */ 1692s # 1692s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1692s # { 1692s # /* GObject signals for received D-Bus signals: */ 1692s # /** 1692s # * OrgProjectSignalingIface::signal-with-many-args: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_b: Argument. 1692s # * @arg_an_y: Argument. 1692s # * @arg_an_n: Argument. 1692s # * @arg_an_q: Argument. 1692s # * @arg_an_i: Argument. 1692s # * @arg_an_u: Argument. 1692s # * @arg_an_x: Argument. 1692s # * @arg_an_t: Argument. 1692s # * @arg_an_d: Argument. 1692s # * @arg_an_s: Argument. 1692s # * @arg_an_o: Argument. 1692s # * @arg_an_g: Argument. 1692s # * @arg_an_h: Argument. 1692s # * @arg_an_ay: Argument. 1692s # * @arg_an_as: Argument. 1692s # * @arg_an_ao: Argument. 1692s # * @arg_an_aay: Argument. 1692s # * @arg_an_asv: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1692s # g_signal_new ("signal-with-many-args", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1692s # G_TYPE_NONE, 1692s # 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); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_signal_with_many_args: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_b: Argument to pass with the signal. 1692s # * @arg_an_y: Argument to pass with the signal. 1692s # * @arg_an_n: Argument to pass with the signal. 1692s # * @arg_an_q: Argument to pass with the signal. 1692s # * @arg_an_i: Argument to pass with the signal. 1692s # * @arg_an_u: Argument to pass with the signal. 1692s # * @arg_an_x: Argument to pass with the signal. 1692s # * @arg_an_t: Argument to pass with the signal. 1692s # * @arg_an_d: Argument to pass with the signal. 1692s # * @arg_an_s: Argument to pass with the signal. 1692s # * @arg_an_o: Argument to pass with the signal. 1692s # * @arg_an_g: Argument to pass with the signal. 1692s # * @arg_an_h: Argument to pass with the signal. 1692s # * @arg_an_ay: Argument to pass with the signal. 1692s # * @arg_an_as: Argument to pass with the signal. 1692s # * @arg_an_ao: Argument to pass with the signal. 1692s # * @arg_an_aay: Argument to pass with the signal. 1692s # * @arg_an_asv: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SignalWithManyArgs" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_signal_with_many_args ( 1692s # OrgProjectSignalingIface *object, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceProxy: 1692s # * 1692s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectSignalingIfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectSignalingIfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_signaling_iface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1692s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1692s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceSkeleton: 1692s # * 1692s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_signaling_iface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_signaling_iface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_signaling_iface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1692s # { 1692s # _org_project_signaling_iface_skeleton_handle_method_call, 1692s # _org_project_signaling_iface_skeleton_handle_get_property, 1692s # _org_project_signaling_iface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_signaling_iface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1692s # OrgProjectSignalingIface *object, 1692s # gboolean arg_an_b, 1692s # guchar arg_an_y, 1692s # gint16 arg_an_n, 1692s # guint16 arg_an_q, 1692s # gint arg_an_i, 1692s # guint arg_an_u, 1692s # gint64 arg_an_x, 1692s # guint64 arg_an_t, 1692s # gdouble arg_an_d, 1692s # const gchar *arg_an_s, 1692s # const gchar *arg_an_o, 1692s # const gchar *arg_an_g, 1692s # GVariant *arg_an_h, 1692s # const gchar *arg_an_ay, 1692s # const gchar *const *arg_an_as, 1692s # const gchar *const *arg_an_ao, 1692s # const gchar *const *arg_an_aay, 1692s # GVariant *arg_an_asv) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1692s # arg_an_b, 1692s # arg_an_y, 1692s # arg_an_n, 1692s # arg_an_q, 1692s # arg_an_i, 1692s # arg_an_u, 1692s # arg_an_x, 1692s # arg_an_t, 1692s # arg_an_d, 1692s # arg_an_s, 1692s # arg_an_o, 1692s # arg_an_g, 1692s # arg_an_h, 1692s # arg_an_ay, 1692s # arg_an_as, 1692s # arg_an_ao, 1692s # arg_an_aay, 1692s # arg_an_asv)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1692s # { 1692s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1692s # } 1692s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1692s # tmpdir: /tmp/tmpuld94y0i 1692s # codegen: /usr/bin/gdbus-codegen 1692s # /tmp/tmpuld94y0i/tmpgstiuonn.xml: 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # 1692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuld94y0i/tmpgstiuonn.xml', '--output', '-', '--body'] 1692s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1692s # Output: /* 1692s # * This file is generated by gdbus-codegen, do not modify it. 1692s # * 1692s # * The license of this code is the same as for the D-Bus interface description 1692s # * it was derived from. Note that it links to GLib, so must comply with the 1692s # * LGPL linking clauses. 1692s # */ 1692s # 1692s # #ifdef HAVE_CONFIG_H 1692s # # include "config.h" 1692s # #endif 1692s # 1692s # #include 1692s # #ifdef G_OS_UNIX 1692s # # include 1692s # #endif 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusArgInfo parent_struct; 1692s # gboolean use_gvariant; 1692s # } _ExtendedGDBusArgInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusMethodInfo parent_struct; 1692s # const gchar *signal_name; 1692s # gboolean pass_fdlist; 1692s # } _ExtendedGDBusMethodInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusSignalInfo parent_struct; 1692s # const gchar *signal_name; 1692s # } _ExtendedGDBusSignalInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusPropertyInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # guint use_gvariant : 1; 1692s # guint emits_changed_signal : 1; 1692s # } _ExtendedGDBusPropertyInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # GDBusInterfaceInfo parent_struct; 1692s # const gchar *hyphen_name; 1692s # } _ExtendedGDBusInterfaceInfo; 1692s # 1692s # typedef struct 1692s # { 1692s # const _ExtendedGDBusPropertyInfo *info; 1692s # guint prop_id; 1692s # GValue orig_value; /* the value before the change */ 1692s # } ChangedProperty; 1692s # 1692s # static void 1692s # _changed_property_free (ChangedProperty *data) 1692s # { 1692s # g_value_unset (&data->orig_value); 1692s # g_free (data); 1692s # } 1692s # 1692s # static gboolean 1692s # _g_strv_equal0 (gchar **a, gchar **b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # guint n; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # if (g_strv_length (a) != g_strv_length (b)) 1692s # goto out; 1692s # for (n = 0; a[n] != NULL; n++) 1692s # if (g_strcmp0 (a[n], b[n]) != 0) 1692s # goto out; 1692s # ret = TRUE; 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _g_variant_equal0 (GVariant *a, GVariant *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # if (a == NULL && b == NULL) 1692s # { 1692s # ret = TRUE; 1692s # goto out; 1692s # } 1692s # if (a == NULL || b == NULL) 1692s # goto out; 1692s # ret = g_variant_equal (a, b); 1692s # out: 1692s # return ret; 1692s # } 1692s # 1692s # G_GNUC_UNUSED static gboolean 1692s # _g_value_equal (const GValue *a, const GValue *b) 1692s # { 1692s # gboolean ret = FALSE; 1692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1692s # switch (G_VALUE_TYPE (a)) 1692s # { 1692s # case G_TYPE_BOOLEAN: 1692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1692s # break; 1692s # case G_TYPE_UCHAR: 1692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1692s # break; 1692s # case G_TYPE_INT: 1692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1692s # break; 1692s # case G_TYPE_UINT: 1692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1692s # break; 1692s # case G_TYPE_INT64: 1692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1692s # break; 1692s # case G_TYPE_UINT64: 1692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1692s # break; 1692s # case G_TYPE_DOUBLE: 1692s # { 1692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1692s # gdouble da = g_value_get_double (a); 1692s # gdouble db = g_value_get_double (b); 1692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1692s # } 1692s # break; 1692s # case G_TYPE_STRING: 1692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1692s # break; 1692s # case G_TYPE_VARIANT: 1692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1692s # break; 1692s # default: 1692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1692s # else 1692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1692s # break; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_VOID__INT64 ( 1692s # GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1692s # (void *data1, 1692s # gint64 arg_an_x, 1692s # void *data2); 1692s # _GDbusCodegenMarshalVoid_Int64Func callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_int64 (param_values + 1), 1692s # data2); 1692s # } 1692s # 1692s # static void 1692s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1692s # GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint G_GNUC_UNUSED, 1692s # void *marshal_data) 1692s # { 1692s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1692s # (void *data1, 1692s # guint64 arg_an_t, 1692s # void *data2); 1692s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1692s # GCClosure *cc = (GCClosure*) closure; 1692s # void *data1, *data2; 1692s # 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # 1692s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1692s # (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_uint64 (param_values + 1), 1692s # data2); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ 1692s # * Code for interface org.project.SignalingIface 1692s # * ------------------------------------------------------------------------ 1692s # */ 1692s # 1692s # /** 1692s # * SECTION:OrgProjectSignalingIface 1692s # * @title: OrgProjectSignalingIface 1692s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1692s # * 1692s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1692s # */ 1692s # 1692s # enum 1692s # { 1692s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1692s # }; 1692s # 1692s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1692s # 1692s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "NoArgSignal", 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "no-arg-signal" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_b", 1692s # (gchar *) "b", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalB", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-b" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_y", 1692s # (gchar *) "y", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalY", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-y" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_n", 1692s # (gchar *) "n", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalN", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-n" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_q", 1692s # (gchar *) "q", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalQ", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-q" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_i", 1692s # (gchar *) "i", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalI", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-i" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_u", 1692s # (gchar *) "u", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalU", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-u" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_x", 1692s # (gchar *) "x", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalX", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-x" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_t", 1692s # (gchar *) "t", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalT", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-t" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_d", 1692s # (gchar *) "d", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalD", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-d" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_s", 1692s # (gchar *) "s", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalS", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-s" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_o", 1692s # (gchar *) "o", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalO", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-o" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_g", 1692s # (gchar *) "g", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalG", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-g" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_h", 1692s # (gchar *) "h", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalH", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-h" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ay", 1692s # (gchar *) "ay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalAY", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-ay" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_as", 1692s # (gchar *) "as", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalAS", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-as" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_ao", 1692s # (gchar *) "ao", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalAO", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-ao" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_aay", 1692s # (gchar *) "aay", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalAAY", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-aay" 1692s # }; 1692s # 1692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "an_asv", 1692s # (gchar *) "a{sv}", 1692s # NULL 1692s # }, 1692s # FALSE 1692s # }; 1692s # 1692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "SingleArgSignalASV", 1692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1692s # NULL 1692s # }, 1692s # "single-arg-signal-asv" 1692s # }; 1692s # 1692s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1692s # { 1692s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1692s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1692s # NULL 1692s # }; 1692s # 1692s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1692s # { 1692s # { 1692s # -1, 1692s # (gchar *) "org.project.SignalingIface", 1692s # NULL, 1692s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1692s # NULL, 1692s # NULL 1692s # }, 1692s # "org-project-signaling-iface", 1692s # }; 1692s # 1692s # 1692s # /** 1692s # * org_project_signaling_iface_interface_info: 1692s # * 1692s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1692s # * 1692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1692s # */ 1692s # GDBusInterfaceInfo * 1692s # org_project_signaling_iface_interface_info (void) 1692s # { 1692s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_override_properties: 1692s # * @klass: The class structure for a #GObject derived class. 1692s # * @property_id_begin: The property id to assign to the first overridden property. 1692s # * 1692s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1692s # * The properties are overridden in the order they are defined. 1692s # * 1692s # * Returns: The last property id. 1692s # */ 1692s # guint 1692s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1692s # { 1692s # return property_id_begin - 1; 1692s # } 1692s # 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__VOID (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__UCHAR (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__INT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__UINT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__INT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__UINT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__DOUBLE (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__STRING (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__STRING (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__STRING (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__VARIANT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__STRING (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__BOXED (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__BOXED (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__BOXED (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # inline static void 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1692s # GClosure *closure, 1692s # GValue *return_value, 1692s # unsigned int n_param_values, 1692s # const GValue *param_values, 1692s # void *invocation_hint, 1692s # void *marshal_data) 1692s # { 1692s # g_cclosure_marshal_VOID__VARIANT (closure, 1692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1692s # } 1692s # 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface: 1692s # * 1692s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceIface: 1692s # * @parent_iface: The parent interface. 1692s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1692s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1692s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1692s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1692s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1692s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1692s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1692s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1692s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1692s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1692s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1692s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1692s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1692s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1692s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1692s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1692s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1692s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1692s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1692s # * 1692s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1692s # */ 1692s # 1692s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1692s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1692s # 1692s # static void 1692s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1692s # { 1692s # /* GObject signals for received D-Bus signals: */ 1692s # /** 1692s # * OrgProjectSignalingIface::no-arg-signal: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1692s # g_signal_new ("no-arg-signal", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1692s # G_TYPE_NONE, 1692s # 0); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-b: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_b: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1692s # g_signal_new ("single-arg-signal-b", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_BOOLEAN); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-y: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_y: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1692s # g_signal_new ("single-arg-signal-y", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_UCHAR); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-n: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_n: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1692s # g_signal_new ("single-arg-signal-n", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_INT); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-q: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_q: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1692s # g_signal_new ("single-arg-signal-q", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_UINT); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-i: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_i: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1692s # g_signal_new ("single-arg-signal-i", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_INT); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-u: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_u: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1692s # g_signal_new ("single-arg-signal-u", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_UINT); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-x: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_x: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1692s # g_signal_new ("single-arg-signal-x", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_INT64); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-t: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_t: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1692s # g_signal_new ("single-arg-signal-t", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_UINT64); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-d: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_d: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1692s # g_signal_new ("single-arg-signal-d", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_DOUBLE); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-s: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_s: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1692s # g_signal_new ("single-arg-signal-s", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRING); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-o: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_o: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1692s # g_signal_new ("single-arg-signal-o", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRING); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-g: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_g: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1692s # g_signal_new ("single-arg-signal-g", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRING); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-h: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_h: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1692s # g_signal_new ("single-arg-signal-h", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_VARIANT); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-ay: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_ay: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1692s # g_signal_new ("single-arg-signal-ay", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRING); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-as: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_as: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1692s # g_signal_new ("single-arg-signal-as", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRV); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-ao: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_ao: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1692s # g_signal_new ("single-arg-signal-ao", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRV); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-aay: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_aay: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1692s # g_signal_new ("single-arg-signal-aay", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_STRV); 1692s # 1692s # /** 1692s # * OrgProjectSignalingIface::single-arg-signal-asv: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_asv: Argument. 1692s # * 1692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1692s # * 1692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1692s # */ 1692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1692s # g_signal_new ("single-arg-signal-asv", 1692s # G_TYPE_FROM_INTERFACE (iface), 1692s # G_SIGNAL_RUN_LAST, 1692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1692s # NULL, 1692s # NULL, 1692s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1692s # G_TYPE_NONE, 1692s # 1, G_TYPE_VARIANT); 1692s # 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_no_arg_signal: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * 1692s # * Emits the "NoArgSignal" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_no_arg_signal ( 1692s # OrgProjectSignalingIface *object) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_b: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_b: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalB" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_b ( 1692s # OrgProjectSignalingIface *object, 1692s # gboolean arg_an_b) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_y: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_y: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalY" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_y ( 1692s # OrgProjectSignalingIface *object, 1692s # guchar arg_an_y) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_n: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_n: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalN" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_n ( 1692s # OrgProjectSignalingIface *object, 1692s # gint16 arg_an_n) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_q: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_q: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalQ" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_q ( 1692s # OrgProjectSignalingIface *object, 1692s # guint16 arg_an_q) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_i: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_i: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalI" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_i ( 1692s # OrgProjectSignalingIface *object, 1692s # gint arg_an_i) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_u: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_u: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalU" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_u ( 1692s # OrgProjectSignalingIface *object, 1692s # guint arg_an_u) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_x: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_x: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalX" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_x ( 1692s # OrgProjectSignalingIface *object, 1692s # gint64 arg_an_x) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_t: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_t: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalT" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_t ( 1692s # OrgProjectSignalingIface *object, 1692s # guint64 arg_an_t) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_d: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_d: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalD" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_d ( 1692s # OrgProjectSignalingIface *object, 1692s # gdouble arg_an_d) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_s: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_s: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalS" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_s ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_s) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_o: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_o: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalO" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_o ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_o) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_g: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_g: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalG" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_g ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_g) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_h: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_h: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalH" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_h ( 1692s # OrgProjectSignalingIface *object, 1692s # GVariant *arg_an_h) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_ay: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalAY" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_ay) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_as: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_as: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalAS" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_as ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_as) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_ao: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalAO" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_ao) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_aay: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_aay) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1692s # * @object: A #OrgProjectSignalingIface. 1692s # * @arg_an_asv: Argument to pass with the signal. 1692s # * 1692s # * Emits the "SingleArgSignalASV" D-Bus signal. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1692s # OrgProjectSignalingIface *object, 1692s # GVariant *arg_an_asv) 1692s # { 1692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1692s # } 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceProxy: 1692s # * 1692s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceProxyClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectSignalingIfaceProxy. 1692s # */ 1692s # 1692s # struct _OrgProjectSignalingIfaceProxyPrivate 1692s # { 1692s # GData *qdata; 1692s # }; 1692s # 1692s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_signaling_iface_proxy_finalize (GObject *object) 1692s # { 1692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1692s # g_datalist_clear (&proxy->priv->qdata); 1692s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1692s # guint prop_id G_GNUC_UNUSED, 1692s # const GValue *value G_GNUC_UNUSED, 1692s # GParamSpec *pspec G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1692s # const gchar *sender_name G_GNUC_UNUSED, 1692s # const gchar *signal_name, 1692s # GVariant *parameters) 1692s # { 1692s # _ExtendedGDBusSignalInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # gsize n; 1692s # guint signal_id; 1692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1692s # if (info == NULL) 1692s # return; 1692s # num_params = g_variant_n_children (parameters); 1692s # paramv = g_new0 (GValue, num_params + 1); 1692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_set_object (¶mv[0], proxy); 1692s # g_variant_iter_init (&iter, parameters); 1692s # n = 1; 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_signal_emitv (paramv, signal_id, 0, NULL); 1692s # for (n = 0; n < num_params + 1; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1692s # GVariant *changed_properties, 1692s # const gchar *const *invalidated_properties) 1692s # { 1692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1692s # guint n; 1692s # const gchar *key; 1692s # GVariantIter *iter; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # g_variant_get (changed_properties, "a{sv}", &iter); 1692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1692s # g_datalist_remove_data (&proxy->priv->qdata, key); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # g_variant_iter_free (iter); 1692s # for (n = 0; invalidated_properties[n] != NULL; n++) 1692s # { 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1692s # if (info != NULL) 1692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1692s # } 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1692s # #else 1692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1692s # #endif 1692s # 1692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusProxyClass *proxy_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1692s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1692s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1692s # 1692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1692s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1692s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_proxy_new ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_sync: 1692s # * @connection: A #GDBusConnection. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_sync ( 1692s # GDBusConnection *connection, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1692s # * @user_data: User data to pass to @callback. 1692s # * 1692s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1692s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1692s # */ 1692s # void 1692s # org_project_signaling_iface_proxy_new_for_bus ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GAsyncReadyCallback callback, 1692s # gpointer user_data) 1692s # { 1692s # 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); 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1692s # GAsyncResult *res, 1692s # GError **error) 1692s # { 1692s # GObject *ret; 1692s # GObject *source_object; 1692s # source_object = g_async_result_get_source_object (res); 1692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1692s # g_object_unref (source_object); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1692s # * @bus_type: A #GBusType. 1692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1692s # * @name: A bus name (well-known or unique). 1692s # * @object_path: An object path. 1692s # * @cancellable: (nullable): A #GCancellable or %NULL. 1692s # * @error: Return location for error or %NULL 1692s # * 1692s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1692s # * 1692s # * The calling thread is blocked until a reply is received. 1692s # * 1692s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1692s # GBusType bus_type, 1692s # GDBusProxyFlags flags, 1692s # const gchar *name, 1692s # const gchar *object_path, 1692s # GCancellable *cancellable, 1692s # GError **error) 1692s # { 1692s # GInitable *ret; 1692s # 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); 1692s # if (ret != NULL) 1692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1692s # else 1692s # return NULL; 1692s # } 1692s # 1692s # 1692s # /* ------------------------------------------------------------------------ */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceSkeleton: 1692s # * 1692s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1692s # */ 1692s # 1692s # /** 1692s # * OrgProjectSignalingIfaceSkeletonClass: 1692s # * @parent_class: The parent class. 1692s # * 1692s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1692s # */ 1692s # 1692s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1692s # { 1692s # GValue *properties; 1692s # GList *changed_properties; 1692s # GSource *changed_properties_idle_source; 1692s # GMainContext *context; 1692s # GMutex lock; 1692s # }; 1692s # 1692s # static void 1692s # _org_project_signaling_iface_skeleton_handle_method_call ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name, 1692s # const gchar *method_name, 1692s # GVariant *parameters, 1692s # GDBusMethodInvocation *invocation, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # _ExtendedGDBusMethodInfo *info; 1692s # GVariantIter iter; 1692s # GVariant *child; 1692s # GValue *paramv; 1692s # gsize num_params; 1692s # guint num_extra; 1692s # gsize n; 1692s # guint signal_id; 1692s # GValue return_value = G_VALUE_INIT; 1692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1692s # g_assert (info != NULL); 1692s # num_params = g_variant_n_children (parameters); 1692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1692s # n = 0; 1692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_set_object (¶mv[n++], skeleton); 1692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1692s # g_value_set_object (¶mv[n++], invocation); 1692s # if (info->pass_fdlist) 1692s # { 1692s # #ifdef G_OS_UNIX 1692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1692s # #else 1692s # g_assert_not_reached (); 1692s # #endif 1692s # } 1692s # g_variant_iter_init (&iter, parameters); 1692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1692s # { 1692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1692s # if (arg_info->use_gvariant) 1692s # { 1692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1692s # g_value_set_variant (¶mv[n], child); 1692s # n++; 1692s # } 1692s # else 1692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1692s # g_variant_unref (child); 1692s # } 1692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1692s # if (!g_value_get_boolean (&return_value)) 1692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1692s # g_value_unset (&return_value); 1692s # for (n = 0; n < num_params + num_extra; n++) 1692s # g_value_unset (¶mv[n]); 1692s # g_free (paramv); 1692s # } 1692s # 1692s # static GVariant * 1692s # _org_project_signaling_iface_skeleton_handle_get_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # GVariant *ret; 1692s # ret = NULL; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # g_value_init (&value, pspec->value_type); 1692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1692s # g_value_unset (&value); 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static gboolean 1692s # _org_project_signaling_iface_skeleton_handle_set_property ( 1692s # GDBusConnection *connection G_GNUC_UNUSED, 1692s # const gchar *sender G_GNUC_UNUSED, 1692s # const gchar *object_path G_GNUC_UNUSED, 1692s # const gchar *interface_name G_GNUC_UNUSED, 1692s # const gchar *property_name, 1692s # GVariant *variant, 1692s # GError **error, 1692s # gpointer user_data) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1692s # GValue value = G_VALUE_INIT; 1692s # GParamSpec *pspec; 1692s # _ExtendedGDBusPropertyInfo *info; 1692s # gboolean ret; 1692s # ret = FALSE; 1692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1692s # g_assert (info != NULL); 1692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1692s # if (pspec == NULL) 1692s # { 1692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1692s # } 1692s # else 1692s # { 1692s # if (info->use_gvariant) 1692s # g_value_set_variant (&value, variant); 1692s # else 1692s # g_dbus_gvariant_to_gvalue (variant, &value); 1692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1692s # g_value_unset (&value); 1692s # ret = TRUE; 1692s # } 1692s # return ret; 1692s # } 1692s # 1692s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1692s # { 1692s # _org_project_signaling_iface_skeleton_handle_method_call, 1692s # _org_project_signaling_iface_skeleton_handle_get_property, 1692s # _org_project_signaling_iface_skeleton_handle_set_property, 1692s # {NULL} 1692s # }; 1692s # 1692s # static GDBusInterfaceInfo * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return org_project_signaling_iface_interface_info (); 1692s # } 1692s # 1692s # static GDBusInterfaceVTable * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1692s # { 1692s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1692s # } 1692s # 1692s # static GVariant * 1692s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1692s # 1692s # GVariantBuilder builder; 1692s # guint n; 1692s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1692s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1692s # goto out; 1692s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1692s # { 1692s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1692s # { 1692s # GVariant *value; 1692s # 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); 1692s # if (value != NULL) 1692s # { 1692s # g_variant_take_ref (value); 1692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1692s # g_variant_unref (value); 1692s # } 1692s # } 1692s # } 1692s # out: 1692s # return g_variant_builder_end (&builder); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1692s # { 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1692s # OrgProjectSignalingIface *object) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1692s # OrgProjectSignalingIface *object, 1692s # gboolean arg_an_b) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1692s # arg_an_b)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1692s # OrgProjectSignalingIface *object, 1692s # guchar arg_an_y) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1692s # arg_an_y)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1692s # OrgProjectSignalingIface *object, 1692s # gint16 arg_an_n) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1692s # arg_an_n)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1692s # OrgProjectSignalingIface *object, 1692s # guint16 arg_an_q) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1692s # arg_an_q)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1692s # OrgProjectSignalingIface *object, 1692s # gint arg_an_i) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1692s # arg_an_i)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1692s # OrgProjectSignalingIface *object, 1692s # guint arg_an_u) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1692s # arg_an_u)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1692s # OrgProjectSignalingIface *object, 1692s # gint64 arg_an_x) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1692s # arg_an_x)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1692s # OrgProjectSignalingIface *object, 1692s # guint64 arg_an_t) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1692s # arg_an_t)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1692s # OrgProjectSignalingIface *object, 1692s # gdouble arg_an_d) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1692s # arg_an_d)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_s) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1692s # arg_an_s)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_o) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1692s # arg_an_o)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_g) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1692s # arg_an_g)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1692s # OrgProjectSignalingIface *object, 1692s # GVariant *arg_an_h) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1692s # arg_an_h)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *arg_an_ay) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1692s # arg_an_ay)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_as) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1692s # arg_an_as)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_ao) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1692s # arg_an_ao)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1692s # OrgProjectSignalingIface *object, 1692s # const gchar *const *arg_an_aay) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1692s # arg_an_aay)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void 1692s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1692s # OrgProjectSignalingIface *object, 1692s # GVariant *arg_an_asv) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # 1692s # GList *connections, *l; 1692s # GVariant *signal_variant; 1692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1692s # 1692s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1692s # arg_an_asv)); 1692s # for (l = connections; l != NULL; l = l->next) 1692s # { 1692s # GDBusConnection *connection = l->data; 1692s # g_dbus_connection_emit_signal (connection, 1692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1692s # signal_variant, NULL); 1692s # } 1692s # g_variant_unref (signal_variant); 1692s # g_list_free_full (connections, g_object_unref); 1692s # } 1692s # 1692s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1692s # 1692s # #else 1692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1692s # 1692s # #endif 1692s # static void 1692s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1692s # { 1692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1692s # if (skeleton->priv->changed_properties_idle_source != NULL) 1692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1692s # g_main_context_unref (skeleton->priv->context); 1692s # g_mutex_clear (&skeleton->priv->lock); 1692s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1692s # { 1692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1692s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1692s # #else 1692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1692s # #endif 1692s # 1692s # g_mutex_init (&skeleton->priv->lock); 1692s # skeleton->priv->context = g_main_context_ref_thread_default (); 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1692s # { 1692s # GObjectClass *gobject_class; 1692s # GDBusInterfaceSkeletonClass *skeleton_class; 1692s # 1692s # gobject_class = G_OBJECT_CLASS (klass); 1692s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1692s # 1692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1692s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1692s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1692s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1692s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1692s # 1692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1692s # #endif 1692s # } 1692s # 1692s # static void 1692s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1692s # { 1692s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1692s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1692s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1692s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1692s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1692s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1692s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1692s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1692s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1692s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1692s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1692s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1692s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1692s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1692s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1692s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1692s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1692s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1692s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1692s # } 1692s # 1692s # /** 1692s # * org_project_signaling_iface_skeleton_new: 1692s # * 1692s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1692s # * 1692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1692s # */ 1692s # OrgProjectSignalingIface * 1692s # org_project_signaling_iface_skeleton_new (void) 1692s # { 1692s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1692s # } 1693s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1693s # tmpdir: /tmp/tmp6zqyw5la 1693s # codegen: /usr/bin/gdbus-codegen 1693s # /tmp/tmp6zqyw5la/tmpp3lhyl0u.xml: 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6zqyw5la/tmpp3lhyl0u.xml', '--output', '-', '--body'] 1693s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1693s # Output: /* 1693s # * This file is generated by gdbus-codegen, do not modify it. 1693s # * 1693s # * The license of this code is the same as for the D-Bus interface description 1693s # * it was derived from. Note that it links to GLib, so must comply with the 1693s # * LGPL linking clauses. 1693s # */ 1693s # 1693s # #ifdef HAVE_CONFIG_H 1693s # # include "config.h" 1693s # #endif 1693s # 1693s # #include 1693s # #ifdef G_OS_UNIX 1693s # # include 1693s # #endif 1693s # 1693s # #ifdef G_ENABLE_DEBUG 1693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1693s # #else /* !G_ENABLE_DEBUG */ 1693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1693s # * Do not access GValues directly in your code. Instead, use the 1693s # * g_value_get_*() functions 1693s # */ 1693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1693s # #endif /* !G_ENABLE_DEBUG */ 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusArgInfo parent_struct; 1693s # gboolean use_gvariant; 1693s # } _ExtendedGDBusArgInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusMethodInfo parent_struct; 1693s # const gchar *signal_name; 1693s # gboolean pass_fdlist; 1693s # } _ExtendedGDBusMethodInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusSignalInfo parent_struct; 1693s # const gchar *signal_name; 1693s # } _ExtendedGDBusSignalInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusPropertyInfo parent_struct; 1693s # const gchar *hyphen_name; 1693s # guint use_gvariant : 1; 1693s # guint emits_changed_signal : 1; 1693s # } _ExtendedGDBusPropertyInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusInterfaceInfo parent_struct; 1693s # const gchar *hyphen_name; 1693s # } _ExtendedGDBusInterfaceInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # const _ExtendedGDBusPropertyInfo *info; 1693s # guint prop_id; 1693s # GValue orig_value; /* the value before the change */ 1693s # } ChangedProperty; 1693s # 1693s # static void 1693s # _changed_property_free (ChangedProperty *data) 1693s # { 1693s # g_value_unset (&data->orig_value); 1693s # g_free (data); 1693s # } 1693s # 1693s # static gboolean 1693s # _g_strv_equal0 (gchar **a, gchar **b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # guint n; 1693s # if (a == NULL && b == NULL) 1693s # { 1693s # ret = TRUE; 1693s # goto out; 1693s # } 1693s # if (a == NULL || b == NULL) 1693s # goto out; 1693s # if (g_strv_length (a) != g_strv_length (b)) 1693s # goto out; 1693s # for (n = 0; a[n] != NULL; n++) 1693s # if (g_strcmp0 (a[n], b[n]) != 0) 1693s # goto out; 1693s # ret = TRUE; 1693s # out: 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _g_variant_equal0 (GVariant *a, GVariant *b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # if (a == NULL && b == NULL) 1693s # { 1693s # ret = TRUE; 1693s # goto out; 1693s # } 1693s # if (a == NULL || b == NULL) 1693s # goto out; 1693s # ret = g_variant_equal (a, b); 1693s # out: 1693s # return ret; 1693s # } 1693s # 1693s # G_GNUC_UNUSED static gboolean 1693s # _g_value_equal (const GValue *a, const GValue *b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1693s # switch (G_VALUE_TYPE (a)) 1693s # { 1693s # case G_TYPE_BOOLEAN: 1693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1693s # break; 1693s # case G_TYPE_UCHAR: 1693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1693s # break; 1693s # case G_TYPE_INT: 1693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1693s # break; 1693s # case G_TYPE_UINT: 1693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1693s # break; 1693s # case G_TYPE_INT64: 1693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1693s # break; 1693s # case G_TYPE_UINT64: 1693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1693s # break; 1693s # case G_TYPE_DOUBLE: 1693s # { 1693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1693s # gdouble da = g_value_get_double (a); 1693s # gdouble db = g_value_get_double (b); 1693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1693s # } 1693s # break; 1693s # case G_TYPE_STRING: 1693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1693s # break; 1693s # case G_TYPE_VARIANT: 1693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1693s # break; 1693s # default: 1693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1693s # else 1693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1693s # break; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ 1693s # * Code for interface org.project.UsefulInterface 1693s # * ------------------------------------------------------------------------ 1693s # */ 1693s # 1693s # /** 1693s # * SECTION:OrgProjectUsefulInterface 1693s # * @title: OrgProjectUsefulInterface 1693s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1693s # * 1693s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1693s # */ 1693s # 1693s # enum 1693s # { 1693s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1693s # }; 1693s # 1693s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1693s # 1693s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1693s # 1693s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "SimpleSignal", 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "simple-signal" 1693s # }; 1693s # 1693s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1693s # { 1693s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1693s # NULL 1693s # }; 1693s # 1693s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "org.project.UsefulInterface", 1693s # NULL, 1693s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "org-project-useful-interface", 1693s # }; 1693s # 1693s # 1693s # /** 1693s # * org_project_useful_interface_interface_info: 1693s # * 1693s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1693s # * 1693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1693s # */ 1693s # GDBusInterfaceInfo * 1693s # org_project_useful_interface_interface_info (void) 1693s # { 1693s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_override_properties: 1693s # * @klass: The class structure for a #GObject derived class. 1693s # * @property_id_begin: The property id to assign to the first overridden property. 1693s # * 1693s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1693s # * The properties are overridden in the order they are defined. 1693s # * 1693s # * Returns: The last property id. 1693s # */ 1693s # guint 1693s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1693s # { 1693s # return property_id_begin - 1; 1693s # } 1693s # 1693s # 1693s # inline static void 1693s # org_project_useful_interface_signal_marshal_simple_signal ( 1693s # GClosure *closure, 1693s # GValue *return_value, 1693s # unsigned int n_param_values, 1693s # const GValue *param_values, 1693s # void *invocation_hint, 1693s # void *marshal_data) 1693s # { 1693s # g_cclosure_marshal_VOID__VOID (closure, 1693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1693s # } 1693s # 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterface: 1693s # * 1693s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterfaceIface: 1693s # * @parent_iface: The parent interface. 1693s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1693s # * 1693s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1693s # */ 1693s # 1693s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1693s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1693s # 1693s # static void 1693s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1693s # { 1693s # /* GObject signals for received D-Bus signals: */ 1693s # /** 1693s # * OrgProjectUsefulInterface::simple-signal: 1693s # * @object: A #OrgProjectUsefulInterface. 1693s # * 1693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1693s # * 1693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1693s # */ 1693s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1693s # g_signal_new ("simple-signal", 1693s # G_TYPE_FROM_INTERFACE (iface), 1693s # G_SIGNAL_RUN_LAST, 1693s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1693s # NULL, 1693s # NULL, 1693s # org_project_useful_interface_signal_marshal_simple_signal, 1693s # G_TYPE_NONE, 1693s # 0); 1693s # 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_emit_simple_signal: 1693s # * @object: A #OrgProjectUsefulInterface. 1693s # * 1693s # * Emits the "SimpleSignal" D-Bus signal. 1693s # */ 1693s # void 1693s # org_project_useful_interface_emit_simple_signal ( 1693s # OrgProjectUsefulInterface *object) 1693s # { 1693s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterfaceProxy: 1693s # * 1693s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterfaceProxyClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1693s # */ 1693s # 1693s # struct _OrgProjectUsefulInterfaceProxyPrivate 1693s # { 1693s # GData *qdata; 1693s # }; 1693s # 1693s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_useful_interface_proxy_finalize (GObject *object) 1693s # { 1693s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1693s # g_datalist_clear (&proxy->priv->qdata); 1693s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # const GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1693s # const gchar *sender_name G_GNUC_UNUSED, 1693s # const gchar *signal_name, 1693s # GVariant *parameters) 1693s # { 1693s # _ExtendedGDBusSignalInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # gsize n; 1693s # guint signal_id; 1693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1693s # if (info == NULL) 1693s # return; 1693s # num_params = g_variant_n_children (parameters); 1693s # paramv = g_new0 (GValue, num_params + 1); 1693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1693s # g_value_set_object (¶mv[0], proxy); 1693s # g_variant_iter_init (&iter, parameters); 1693s # n = 1; 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1693s # g_signal_emitv (paramv, signal_id, 0, NULL); 1693s # for (n = 0; n < num_params + 1; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1693s # GVariant *changed_properties, 1693s # const gchar *const *invalidated_properties) 1693s # { 1693s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1693s # guint n; 1693s # const gchar *key; 1693s # GVariantIter *iter; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # g_variant_get (changed_properties, "a{sv}", &iter); 1693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1693s # g_datalist_remove_data (&proxy->priv->qdata, key); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # g_variant_iter_free (iter); 1693s # for (n = 0; invalidated_properties[n] != NULL; n++) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1693s # #else 1693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1693s # #endif 1693s # 1693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusProxyClass *proxy_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1693s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1693s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1693s # 1693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1693s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1693s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_useful_interface_proxy_new ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # g_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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectUsefulInterface * 1693s # org_project_useful_interface_proxy_new_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new_sync: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectUsefulInterface * 1693s # org_project_useful_interface_proxy_new_sync ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new_for_bus: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_useful_interface_proxy_new_for_bus ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # g_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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new_for_bus_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectUsefulInterface * 1693s # org_project_useful_interface_proxy_new_for_bus_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_proxy_new_for_bus_sync: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectUsefulInterface * 1693s # org_project_useful_interface_proxy_new_for_bus_sync ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterfaceSkeleton: 1693s # * 1693s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectUsefulInterfaceSkeletonClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1693s # */ 1693s # 1693s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1693s # { 1693s # GValue *properties; 1693s # GList *changed_properties; 1693s # GSource *changed_properties_idle_source; 1693s # GMainContext *context; 1693s # GMutex lock; 1693s # }; 1693s # 1693s # static void 1693s # _org_project_useful_interface_skeleton_handle_method_call ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name, 1693s # const gchar *method_name, 1693s # GVariant *parameters, 1693s # GDBusMethodInvocation *invocation, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1693s # _ExtendedGDBusMethodInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # guint num_extra; 1693s # gsize n; 1693s # guint signal_id; 1693s # GValue return_value = G_VALUE_INIT; 1693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1693s # g_assert (info != NULL); 1693s # num_params = g_variant_n_children (parameters); 1693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1693s # n = 0; 1693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1693s # g_value_set_object (¶mv[n++], skeleton); 1693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1693s # g_value_set_object (¶mv[n++], invocation); 1693s # if (info->pass_fdlist) 1693s # { 1693s # #ifdef G_OS_UNIX 1693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1693s # #else 1693s # g_assert_not_reached (); 1693s # #endif 1693s # } 1693s # g_variant_iter_init (&iter, parameters); 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1693s # if (!g_value_get_boolean (&return_value)) 1693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1693s # g_value_unset (&return_value); 1693s # for (n = 0; n < num_params + num_extra; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static GVariant * 1693s # _org_project_useful_interface_skeleton_handle_get_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # GVariant *ret; 1693s # ret = NULL; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # g_value_init (&value, pspec->value_type); 1693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1693s # g_value_unset (&value); 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _org_project_useful_interface_skeleton_handle_set_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GVariant *variant, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # gboolean ret; 1693s # ret = FALSE; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # if (info->use_gvariant) 1693s # g_value_set_variant (&value, variant); 1693s # else 1693s # g_dbus_gvariant_to_gvalue (variant, &value); 1693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # g_value_unset (&value); 1693s # ret = TRUE; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1693s # { 1693s # _org_project_useful_interface_skeleton_handle_method_call, 1693s # _org_project_useful_interface_skeleton_handle_get_property, 1693s # _org_project_useful_interface_skeleton_handle_set_property, 1693s # {NULL} 1693s # }; 1693s # 1693s # static GDBusInterfaceInfo * 1693s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return org_project_useful_interface_interface_info (); 1693s # } 1693s # 1693s # static GDBusInterfaceVTable * 1693s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1693s # } 1693s # 1693s # static GVariant * 1693s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1693s # 1693s # GVariantBuilder builder; 1693s # guint n; 1693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1693s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1693s # goto out; 1693s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1693s # { 1693s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1693s # { 1693s # GVariant *value; 1693s # 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); 1693s # if (value != NULL) 1693s # { 1693s # g_variant_take_ref (value); 1693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1693s # g_variant_unref (value); 1693s # } 1693s # } 1693s # } 1693s # out: 1693s # return g_variant_builder_end (&builder); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # _org_project_useful_interface_on_signal_simple_signal ( 1693s # OrgProjectUsefulInterface *object) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1693s # 1693s # GList *connections, *l; 1693s # GVariant *signal_variant; 1693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1693s # 1693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1693s # for (l = connections; l != NULL; l = l->next) 1693s # { 1693s # GDBusConnection *connection = l->data; 1693s # g_dbus_connection_emit_signal (connection, 1693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1693s # signal_variant, NULL); 1693s # } 1693s # g_variant_unref (signal_variant); 1693s # g_list_free_full (connections, g_object_unref); 1693s # } 1693s # 1693s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_useful_interface_skeleton_finalize (GObject *object) 1693s # { 1693s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1693s # if (skeleton->priv->changed_properties_idle_source != NULL) 1693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1693s # g_main_context_unref (skeleton->priv->context); 1693s # g_mutex_clear (&skeleton->priv->lock); 1693s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1693s # #else 1693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1693s # #endif 1693s # 1693s # g_mutex_init (&skeleton->priv->lock); 1693s # skeleton->priv->context = g_main_context_ref_thread_default (); 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusInterfaceSkeletonClass *skeleton_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1693s # 1693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1693s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1693s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1693s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1693s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1693s # { 1693s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1693s # } 1693s # 1693s # /** 1693s # * org_project_useful_interface_skeleton_new: 1693s # * 1693s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1693s # */ 1693s # OrgProjectUsefulInterface * 1693s # org_project_useful_interface_skeleton_new (void) 1693s # { 1693s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ 1693s # * Code for interface org.project.OtherIface 1693s # * ------------------------------------------------------------------------ 1693s # */ 1693s # 1693s # /** 1693s # * SECTION:OrgProjectOtherIface 1693s # * @title: OrgProjectOtherIface 1693s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1693s # * 1693s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1693s # */ 1693s # 1693s # enum 1693s # { 1693s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1693s # }; 1693s # 1693s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1693s # 1693s # /* ---- Introspection data for org.project.OtherIface ---- */ 1693s # 1693s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "SimpleSignal", 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "simple-signal" 1693s # }; 1693s # 1693s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1693s # { 1693s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1693s # NULL 1693s # }; 1693s # 1693s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "org.project.OtherIface", 1693s # NULL, 1693s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "org-project-other-iface", 1693s # }; 1693s # 1693s # 1693s # /** 1693s # * org_project_other_iface_interface_info: 1693s # * 1693s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1693s # * 1693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1693s # */ 1693s # GDBusInterfaceInfo * 1693s # org_project_other_iface_interface_info (void) 1693s # { 1693s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_override_properties: 1693s # * @klass: The class structure for a #GObject derived class. 1693s # * @property_id_begin: The property id to assign to the first overridden property. 1693s # * 1693s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1693s # * The properties are overridden in the order they are defined. 1693s # * 1693s # * Returns: The last property id. 1693s # */ 1693s # guint 1693s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1693s # { 1693s # return property_id_begin - 1; 1693s # } 1693s # 1693s # 1693s # inline static void 1693s # org_project_other_iface_signal_marshal_simple_signal ( 1693s # GClosure *closure, 1693s # GValue *return_value, 1693s # unsigned int n_param_values, 1693s # const GValue *param_values, 1693s # void *invocation_hint, 1693s # void *marshal_data) 1693s # { 1693s # g_cclosure_marshal_VOID__VOID (closure, 1693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1693s # } 1693s # 1693s # 1693s # /** 1693s # * OrgProjectOtherIface: 1693s # * 1693s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherIfaceIface: 1693s # * @parent_iface: The parent interface. 1693s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1693s # * 1693s # * Virtual table for the D-Bus interface org.project.OtherIface. 1693s # */ 1693s # 1693s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1693s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1693s # 1693s # static void 1693s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1693s # { 1693s # /* GObject signals for received D-Bus signals: */ 1693s # /** 1693s # * OrgProjectOtherIface::simple-signal: 1693s # * @object: A #OrgProjectOtherIface. 1693s # * 1693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1693s # * 1693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1693s # */ 1693s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1693s # g_signal_new ("simple-signal", 1693s # G_TYPE_FROM_INTERFACE (iface), 1693s # G_SIGNAL_RUN_LAST, 1693s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1693s # NULL, 1693s # NULL, 1693s # org_project_other_iface_signal_marshal_simple_signal, 1693s # G_TYPE_NONE, 1693s # 0); 1693s # 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_emit_simple_signal: 1693s # * @object: A #OrgProjectOtherIface. 1693s # * 1693s # * Emits the "SimpleSignal" D-Bus signal. 1693s # */ 1693s # void 1693s # org_project_other_iface_emit_simple_signal ( 1693s # OrgProjectOtherIface *object) 1693s # { 1693s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectOtherIfaceProxy: 1693s # * 1693s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherIfaceProxyClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectOtherIfaceProxy. 1693s # */ 1693s # 1693s # struct _OrgProjectOtherIfaceProxyPrivate 1693s # { 1693s # GData *qdata; 1693s # }; 1693s # 1693s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_other_iface_proxy_finalize (GObject *object) 1693s # { 1693s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1693s # g_datalist_clear (&proxy->priv->qdata); 1693s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # const GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1693s # const gchar *sender_name G_GNUC_UNUSED, 1693s # const gchar *signal_name, 1693s # GVariant *parameters) 1693s # { 1693s # _ExtendedGDBusSignalInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # gsize n; 1693s # guint signal_id; 1693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1693s # if (info == NULL) 1693s # return; 1693s # num_params = g_variant_n_children (parameters); 1693s # paramv = g_new0 (GValue, num_params + 1); 1693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1693s # g_value_set_object (¶mv[0], proxy); 1693s # g_variant_iter_init (&iter, parameters); 1693s # n = 1; 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1693s # g_signal_emitv (paramv, signal_id, 0, NULL); 1693s # for (n = 0; n < num_params + 1; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1693s # GVariant *changed_properties, 1693s # const gchar *const *invalidated_properties) 1693s # { 1693s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1693s # guint n; 1693s # const gchar *key; 1693s # GVariantIter *iter; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # g_variant_get (changed_properties, "a{sv}", &iter); 1693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1693s # g_datalist_remove_data (&proxy->priv->qdata, key); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # g_variant_iter_free (iter); 1693s # for (n = 0; invalidated_properties[n] != NULL; n++) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1693s # #else 1693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1693s # #endif 1693s # 1693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusProxyClass *proxy_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1693s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1693s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1693s # 1693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1693s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1693s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_other_iface_proxy_new ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherIface * 1693s # org_project_other_iface_proxy_new_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new_sync: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherIface * 1693s # org_project_other_iface_proxy_new_sync ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new_for_bus: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_other_iface_proxy_new_for_bus ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new_for_bus_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherIface * 1693s # org_project_other_iface_proxy_new_for_bus_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_proxy_new_for_bus_sync: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherIface * 1693s # org_project_other_iface_proxy_new_for_bus_sync ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectOtherIfaceSkeleton: 1693s # * 1693s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherIfaceSkeletonClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1693s # */ 1693s # 1693s # struct _OrgProjectOtherIfaceSkeletonPrivate 1693s # { 1693s # GValue *properties; 1693s # GList *changed_properties; 1693s # GSource *changed_properties_idle_source; 1693s # GMainContext *context; 1693s # GMutex lock; 1693s # }; 1693s # 1693s # static void 1693s # _org_project_other_iface_skeleton_handle_method_call ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name, 1693s # const gchar *method_name, 1693s # GVariant *parameters, 1693s # GDBusMethodInvocation *invocation, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1693s # _ExtendedGDBusMethodInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # guint num_extra; 1693s # gsize n; 1693s # guint signal_id; 1693s # GValue return_value = G_VALUE_INIT; 1693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1693s # g_assert (info != NULL); 1693s # num_params = g_variant_n_children (parameters); 1693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1693s # n = 0; 1693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1693s # g_value_set_object (¶mv[n++], skeleton); 1693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1693s # g_value_set_object (¶mv[n++], invocation); 1693s # if (info->pass_fdlist) 1693s # { 1693s # #ifdef G_OS_UNIX 1693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1693s # #else 1693s # g_assert_not_reached (); 1693s # #endif 1693s # } 1693s # g_variant_iter_init (&iter, parameters); 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1693s # if (!g_value_get_boolean (&return_value)) 1693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1693s # g_value_unset (&return_value); 1693s # for (n = 0; n < num_params + num_extra; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static GVariant * 1693s # _org_project_other_iface_skeleton_handle_get_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # GVariant *ret; 1693s # ret = NULL; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # g_value_init (&value, pspec->value_type); 1693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1693s # g_value_unset (&value); 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _org_project_other_iface_skeleton_handle_set_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GVariant *variant, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # gboolean ret; 1693s # ret = FALSE; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # if (info->use_gvariant) 1693s # g_value_set_variant (&value, variant); 1693s # else 1693s # g_dbus_gvariant_to_gvalue (variant, &value); 1693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # g_value_unset (&value); 1693s # ret = TRUE; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1693s # { 1693s # _org_project_other_iface_skeleton_handle_method_call, 1693s # _org_project_other_iface_skeleton_handle_get_property, 1693s # _org_project_other_iface_skeleton_handle_set_property, 1693s # {NULL} 1693s # }; 1693s # 1693s # static GDBusInterfaceInfo * 1693s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return org_project_other_iface_interface_info (); 1693s # } 1693s # 1693s # static GDBusInterfaceVTable * 1693s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1693s # } 1693s # 1693s # static GVariant * 1693s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1693s # 1693s # GVariantBuilder builder; 1693s # guint n; 1693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1693s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1693s # goto out; 1693s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1693s # { 1693s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1693s # { 1693s # GVariant *value; 1693s # 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); 1693s # if (value != NULL) 1693s # { 1693s # g_variant_take_ref (value); 1693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1693s # g_variant_unref (value); 1693s # } 1693s # } 1693s # } 1693s # out: 1693s # return g_variant_builder_end (&builder); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # _org_project_other_iface_on_signal_simple_signal ( 1693s # OrgProjectOtherIface *object) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1693s # 1693s # GList *connections, *l; 1693s # GVariant *signal_variant; 1693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1693s # 1693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1693s # for (l = connections; l != NULL; l = l->next) 1693s # { 1693s # GDBusConnection *connection = l->data; 1693s # g_dbus_connection_emit_signal (connection, 1693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1693s # signal_variant, NULL); 1693s # } 1693s # g_variant_unref (signal_variant); 1693s # g_list_free_full (connections, g_object_unref); 1693s # } 1693s # 1693s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_other_iface_skeleton_finalize (GObject *object) 1693s # { 1693s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1693s # if (skeleton->priv->changed_properties_idle_source != NULL) 1693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1693s # g_main_context_unref (skeleton->priv->context); 1693s # g_mutex_clear (&skeleton->priv->lock); 1693s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1693s # #else 1693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1693s # #endif 1693s # 1693s # g_mutex_init (&skeleton->priv->lock); 1693s # skeleton->priv->context = g_main_context_ref_thread_default (); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusInterfaceSkeletonClass *skeleton_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1693s # 1693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1693s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1693s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1693s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1693s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1693s # { 1693s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_iface_skeleton_new: 1693s # * 1693s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1693s # */ 1693s # OrgProjectOtherIface * 1693s # org_project_other_iface_skeleton_new (void) 1693s # { 1693s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1693s # } 1693s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1693s # tmpdir: /tmp/tmpd1qkck0o 1693s # codegen: /usr/bin/gdbus-codegen 1693s # /tmp/tmpd1qkck0o/tmpuhmr_hfx.xml: 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # 1693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd1qkck0o/tmpuhmr_hfx.xml', '--output', '-', '--body'] 1693s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1693s # Output: /* 1693s # * This file is generated by gdbus-codegen, do not modify it. 1693s # * 1693s # * The license of this code is the same as for the D-Bus interface description 1693s # * it was derived from. Note that it links to GLib, so must comply with the 1693s # * LGPL linking clauses. 1693s # */ 1693s # 1693s # #ifdef HAVE_CONFIG_H 1693s # # include "config.h" 1693s # #endif 1693s # 1693s # #include 1693s # #ifdef G_OS_UNIX 1693s # # include 1693s # #endif 1693s # 1693s # #ifdef G_ENABLE_DEBUG 1693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1693s # #else /* !G_ENABLE_DEBUG */ 1693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1693s # * Do not access GValues directly in your code. Instead, use the 1693s # * g_value_get_*() functions 1693s # */ 1693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1693s # #endif /* !G_ENABLE_DEBUG */ 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusArgInfo parent_struct; 1693s # gboolean use_gvariant; 1693s # } _ExtendedGDBusArgInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusMethodInfo parent_struct; 1693s # const gchar *signal_name; 1693s # gboolean pass_fdlist; 1693s # } _ExtendedGDBusMethodInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusSignalInfo parent_struct; 1693s # const gchar *signal_name; 1693s # } _ExtendedGDBusSignalInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusPropertyInfo parent_struct; 1693s # const gchar *hyphen_name; 1693s # guint use_gvariant : 1; 1693s # guint emits_changed_signal : 1; 1693s # } _ExtendedGDBusPropertyInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # GDBusInterfaceInfo parent_struct; 1693s # const gchar *hyphen_name; 1693s # } _ExtendedGDBusInterfaceInfo; 1693s # 1693s # typedef struct 1693s # { 1693s # const _ExtendedGDBusPropertyInfo *info; 1693s # guint prop_id; 1693s # GValue orig_value; /* the value before the change */ 1693s # } ChangedProperty; 1693s # 1693s # static void 1693s # _changed_property_free (ChangedProperty *data) 1693s # { 1693s # g_value_unset (&data->orig_value); 1693s # g_free (data); 1693s # } 1693s # 1693s # static gboolean 1693s # _g_strv_equal0 (gchar **a, gchar **b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # guint n; 1693s # if (a == NULL && b == NULL) 1693s # { 1693s # ret = TRUE; 1693s # goto out; 1693s # } 1693s # if (a == NULL || b == NULL) 1693s # goto out; 1693s # if (g_strv_length (a) != g_strv_length (b)) 1693s # goto out; 1693s # for (n = 0; a[n] != NULL; n++) 1693s # if (g_strcmp0 (a[n], b[n]) != 0) 1693s # goto out; 1693s # ret = TRUE; 1693s # out: 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _g_variant_equal0 (GVariant *a, GVariant *b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # if (a == NULL && b == NULL) 1693s # { 1693s # ret = TRUE; 1693s # goto out; 1693s # } 1693s # if (a == NULL || b == NULL) 1693s # goto out; 1693s # ret = g_variant_equal (a, b); 1693s # out: 1693s # return ret; 1693s # } 1693s # 1693s # G_GNUC_UNUSED static gboolean 1693s # _g_value_equal (const GValue *a, const GValue *b) 1693s # { 1693s # gboolean ret = FALSE; 1693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1693s # switch (G_VALUE_TYPE (a)) 1693s # { 1693s # case G_TYPE_BOOLEAN: 1693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1693s # break; 1693s # case G_TYPE_UCHAR: 1693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1693s # break; 1693s # case G_TYPE_INT: 1693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1693s # break; 1693s # case G_TYPE_UINT: 1693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1693s # break; 1693s # case G_TYPE_INT64: 1693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1693s # break; 1693s # case G_TYPE_UINT64: 1693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1693s # break; 1693s # case G_TYPE_DOUBLE: 1693s # { 1693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1693s # gdouble da = g_value_get_double (a); 1693s # gdouble db = g_value_get_double (b); 1693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1693s # } 1693s # break; 1693s # case G_TYPE_STRING: 1693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1693s # break; 1693s # case G_TYPE_VARIANT: 1693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1693s # break; 1693s # default: 1693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1693s # else 1693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1693s # break; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ 1693s # * Code for interface org.project.SignalingIface 1693s # * ------------------------------------------------------------------------ 1693s # */ 1693s # 1693s # /** 1693s # * SECTION:OrgProjectSignalingIface 1693s # * @title: OrgProjectSignalingIface 1693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1693s # * 1693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1693s # */ 1693s # 1693s # enum 1693s # { 1693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1693s # }; 1693s # 1693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1693s # 1693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1693s # 1693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "SimpleSignal", 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "simple-signal" 1693s # }; 1693s # 1693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1693s # { 1693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1693s # NULL 1693s # }; 1693s # 1693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "org.project.SignalingIface", 1693s # NULL, 1693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "org-project-signaling-iface", 1693s # }; 1693s # 1693s # 1693s # /** 1693s # * org_project_signaling_iface_interface_info: 1693s # * 1693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1693s # * 1693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1693s # */ 1693s # GDBusInterfaceInfo * 1693s # org_project_signaling_iface_interface_info (void) 1693s # { 1693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_override_properties: 1693s # * @klass: The class structure for a #GObject derived class. 1693s # * @property_id_begin: The property id to assign to the first overridden property. 1693s # * 1693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1693s # * The properties are overridden in the order they are defined. 1693s # * 1693s # * Returns: The last property id. 1693s # */ 1693s # guint 1693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1693s # { 1693s # return property_id_begin - 1; 1693s # } 1693s # 1693s # 1693s # inline static void 1693s # org_project_signaling_iface_signal_marshal_simple_signal ( 1693s # GClosure *closure, 1693s # GValue *return_value, 1693s # unsigned int n_param_values, 1693s # const GValue *param_values, 1693s # void *invocation_hint, 1693s # void *marshal_data) 1693s # { 1693s # g_cclosure_marshal_VOID__VOID (closure, 1693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1693s # } 1693s # 1693s # 1693s # /** 1693s # * OrgProjectSignalingIface: 1693s # * 1693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectSignalingIfaceIface: 1693s # * @parent_iface: The parent interface. 1693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1693s # * 1693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1693s # */ 1693s # 1693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1693s # 1693s # static void 1693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1693s # { 1693s # /* GObject signals for received D-Bus signals: */ 1693s # /** 1693s # * OrgProjectSignalingIface::simple-signal: 1693s # * @object: A #OrgProjectSignalingIface. 1693s # * 1693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1693s # * 1693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1693s # */ 1693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1693s # g_signal_new ("simple-signal", 1693s # G_TYPE_FROM_INTERFACE (iface), 1693s # G_SIGNAL_RUN_LAST, 1693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1693s # NULL, 1693s # NULL, 1693s # org_project_signaling_iface_signal_marshal_simple_signal, 1693s # G_TYPE_NONE, 1693s # 0); 1693s # 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_emit_simple_signal: 1693s # * @object: A #OrgProjectSignalingIface. 1693s # * 1693s # * Emits the "SimpleSignal" D-Bus signal. 1693s # */ 1693s # void 1693s # org_project_signaling_iface_emit_simple_signal ( 1693s # OrgProjectSignalingIface *object) 1693s # { 1693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectSignalingIfaceProxy: 1693s # * 1693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectSignalingIfaceProxyClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectSignalingIfaceProxy. 1693s # */ 1693s # 1693s # struct _OrgProjectSignalingIfaceProxyPrivate 1693s # { 1693s # GData *qdata; 1693s # }; 1693s # 1693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_signaling_iface_proxy_finalize (GObject *object) 1693s # { 1693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1693s # g_datalist_clear (&proxy->priv->qdata); 1693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # const GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1693s # const gchar *sender_name G_GNUC_UNUSED, 1693s # const gchar *signal_name, 1693s # GVariant *parameters) 1693s # { 1693s # _ExtendedGDBusSignalInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # gsize n; 1693s # guint signal_id; 1693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1693s # if (info == NULL) 1693s # return; 1693s # num_params = g_variant_n_children (parameters); 1693s # paramv = g_new0 (GValue, num_params + 1); 1693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1693s # g_value_set_object (¶mv[0], proxy); 1693s # g_variant_iter_init (&iter, parameters); 1693s # n = 1; 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1693s # g_signal_emitv (paramv, signal_id, 0, NULL); 1693s # for (n = 0; n < num_params + 1; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1693s # GVariant *changed_properties, 1693s # const gchar *const *invalidated_properties) 1693s # { 1693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1693s # guint n; 1693s # const gchar *key; 1693s # GVariantIter *iter; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # g_variant_get (changed_properties, "a{sv}", &iter); 1693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1693s # g_datalist_remove_data (&proxy->priv->qdata, key); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # g_variant_iter_free (iter); 1693s # for (n = 0; invalidated_properties[n] != NULL; n++) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1693s # #else 1693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1693s # #endif 1693s # 1693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusProxyClass *proxy_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1693s # 1693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_signaling_iface_proxy_new ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectSignalingIface * 1693s # org_project_signaling_iface_proxy_new_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new_sync: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectSignalingIface * 1693s # org_project_signaling_iface_proxy_new_sync ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new_for_bus: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_signaling_iface_proxy_new_for_bus ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectSignalingIface * 1693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectSignalingIface * 1693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectSignalingIfaceSkeleton: 1693s # * 1693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectSignalingIfaceSkeletonClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1693s # */ 1693s # 1693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1693s # { 1693s # GValue *properties; 1693s # GList *changed_properties; 1693s # GSource *changed_properties_idle_source; 1693s # GMainContext *context; 1693s # GMutex lock; 1693s # }; 1693s # 1693s # static void 1693s # _org_project_signaling_iface_skeleton_handle_method_call ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name, 1693s # const gchar *method_name, 1693s # GVariant *parameters, 1693s # GDBusMethodInvocation *invocation, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1693s # _ExtendedGDBusMethodInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # guint num_extra; 1693s # gsize n; 1693s # guint signal_id; 1693s # GValue return_value = G_VALUE_INIT; 1693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1693s # g_assert (info != NULL); 1693s # num_params = g_variant_n_children (parameters); 1693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1693s # n = 0; 1693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1693s # g_value_set_object (¶mv[n++], skeleton); 1693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1693s # g_value_set_object (¶mv[n++], invocation); 1693s # if (info->pass_fdlist) 1693s # { 1693s # #ifdef G_OS_UNIX 1693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1693s # #else 1693s # g_assert_not_reached (); 1693s # #endif 1693s # } 1693s # g_variant_iter_init (&iter, parameters); 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1693s # if (!g_value_get_boolean (&return_value)) 1693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1693s # g_value_unset (&return_value); 1693s # for (n = 0; n < num_params + num_extra; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static GVariant * 1693s # _org_project_signaling_iface_skeleton_handle_get_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # GVariant *ret; 1693s # ret = NULL; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # g_value_init (&value, pspec->value_type); 1693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1693s # g_value_unset (&value); 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _org_project_signaling_iface_skeleton_handle_set_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GVariant *variant, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # gboolean ret; 1693s # ret = FALSE; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # if (info->use_gvariant) 1693s # g_value_set_variant (&value, variant); 1693s # else 1693s # g_dbus_gvariant_to_gvalue (variant, &value); 1693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # g_value_unset (&value); 1693s # ret = TRUE; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1693s # { 1693s # _org_project_signaling_iface_skeleton_handle_method_call, 1693s # _org_project_signaling_iface_skeleton_handle_get_property, 1693s # _org_project_signaling_iface_skeleton_handle_set_property, 1693s # {NULL} 1693s # }; 1693s # 1693s # static GDBusInterfaceInfo * 1693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return org_project_signaling_iface_interface_info (); 1693s # } 1693s # 1693s # static GDBusInterfaceVTable * 1693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1693s # } 1693s # 1693s # static GVariant * 1693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1693s # 1693s # GVariantBuilder builder; 1693s # guint n; 1693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1693s # goto out; 1693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1693s # { 1693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1693s # { 1693s # GVariant *value; 1693s # 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); 1693s # if (value != NULL) 1693s # { 1693s # g_variant_take_ref (value); 1693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1693s # g_variant_unref (value); 1693s # } 1693s # } 1693s # } 1693s # out: 1693s # return g_variant_builder_end (&builder); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # _org_project_signaling_iface_on_signal_simple_signal ( 1693s # OrgProjectSignalingIface *object) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1693s # 1693s # GList *connections, *l; 1693s # GVariant *signal_variant; 1693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1693s # 1693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1693s # for (l = connections; l != NULL; l = l->next) 1693s # { 1693s # GDBusConnection *connection = l->data; 1693s # g_dbus_connection_emit_signal (connection, 1693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1693s # signal_variant, NULL); 1693s # } 1693s # g_variant_unref (signal_variant); 1693s # g_list_free_full (connections, g_object_unref); 1693s # } 1693s # 1693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1693s # { 1693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1693s # if (skeleton->priv->changed_properties_idle_source != NULL) 1693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1693s # g_main_context_unref (skeleton->priv->context); 1693s # g_mutex_clear (&skeleton->priv->lock); 1693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1693s # #else 1693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1693s # #endif 1693s # 1693s # g_mutex_init (&skeleton->priv->lock); 1693s # skeleton->priv->context = g_main_context_ref_thread_default (); 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusInterfaceSkeletonClass *skeleton_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1693s # 1693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1693s # { 1693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1693s # } 1693s # 1693s # /** 1693s # * org_project_signaling_iface_skeleton_new: 1693s # * 1693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1693s # */ 1693s # OrgProjectSignalingIface * 1693s # org_project_signaling_iface_skeleton_new (void) 1693s # { 1693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ 1693s # * Code for interface org.project.OtherSignalingIface 1693s # * ------------------------------------------------------------------------ 1693s # */ 1693s # 1693s # /** 1693s # * SECTION:OrgProjectOtherSignalingIface 1693s # * @title: OrgProjectOtherSignalingIface 1693s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1693s # * 1693s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1693s # */ 1693s # 1693s # enum 1693s # { 1693s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1693s # }; 1693s # 1693s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1693s # 1693s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1693s # 1693s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "SimpleSignal", 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "simple-signal" 1693s # }; 1693s # 1693s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1693s # { 1693s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1693s # NULL 1693s # }; 1693s # 1693s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1693s # { 1693s # { 1693s # -1, 1693s # (gchar *) "org.project.OtherSignalingIface", 1693s # NULL, 1693s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1693s # NULL, 1693s # NULL 1693s # }, 1693s # "org-project-other-signaling-iface", 1693s # }; 1693s # 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_interface_info: 1693s # * 1693s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1693s # * 1693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1693s # */ 1693s # GDBusInterfaceInfo * 1693s # org_project_other_signaling_iface_interface_info (void) 1693s # { 1693s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_override_properties: 1693s # * @klass: The class structure for a #GObject derived class. 1693s # * @property_id_begin: The property id to assign to the first overridden property. 1693s # * 1693s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1693s # * The properties are overridden in the order they are defined. 1693s # * 1693s # * Returns: The last property id. 1693s # */ 1693s # guint 1693s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1693s # { 1693s # return property_id_begin - 1; 1693s # } 1693s # 1693s # 1693s # inline static void 1693s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1693s # GClosure *closure, 1693s # GValue *return_value, 1693s # unsigned int n_param_values, 1693s # const GValue *param_values, 1693s # void *invocation_hint, 1693s # void *marshal_data) 1693s # { 1693s # g_cclosure_marshal_VOID__VOID (closure, 1693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1693s # } 1693s # 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIface: 1693s # * 1693s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIfaceIface: 1693s # * @parent_iface: The parent interface. 1693s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1693s # * 1693s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1693s # */ 1693s # 1693s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1693s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1693s # { 1693s # /* GObject signals for received D-Bus signals: */ 1693s # /** 1693s # * OrgProjectOtherSignalingIface::simple-signal: 1693s # * @object: A #OrgProjectOtherSignalingIface. 1693s # * 1693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1693s # * 1693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1693s # */ 1693s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1693s # g_signal_new ("simple-signal", 1693s # G_TYPE_FROM_INTERFACE (iface), 1693s # G_SIGNAL_RUN_LAST, 1693s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1693s # NULL, 1693s # NULL, 1693s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1693s # G_TYPE_NONE, 1693s # 0); 1693s # 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_emit_simple_signal: 1693s # * @object: A #OrgProjectOtherSignalingIface. 1693s # * 1693s # * Emits the "SimpleSignal" D-Bus signal. 1693s # */ 1693s # void 1693s # org_project_other_signaling_iface_emit_simple_signal ( 1693s # OrgProjectOtherSignalingIface *object) 1693s # { 1693s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1693s # } 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIfaceProxy: 1693s # * 1693s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIfaceProxyClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1693s # */ 1693s # 1693s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1693s # { 1693s # GData *qdata; 1693s # }; 1693s # 1693s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1693s # { 1693s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1693s # g_datalist_clear (&proxy->priv->qdata); 1693s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1693s # guint prop_id G_GNUC_UNUSED, 1693s # const GValue *value G_GNUC_UNUSED, 1693s # GParamSpec *pspec G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1693s # const gchar *sender_name G_GNUC_UNUSED, 1693s # const gchar *signal_name, 1693s # GVariant *parameters) 1693s # { 1693s # _ExtendedGDBusSignalInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # gsize n; 1693s # guint signal_id; 1693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1693s # if (info == NULL) 1693s # return; 1693s # num_params = g_variant_n_children (parameters); 1693s # paramv = g_new0 (GValue, num_params + 1); 1693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1693s # g_value_set_object (¶mv[0], proxy); 1693s # g_variant_iter_init (&iter, parameters); 1693s # n = 1; 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1693s # g_signal_emitv (paramv, signal_id, 0, NULL); 1693s # for (n = 0; n < num_params + 1; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1693s # GVariant *changed_properties, 1693s # const gchar *const *invalidated_properties) 1693s # { 1693s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1693s # guint n; 1693s # const gchar *key; 1693s # GVariantIter *iter; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # g_variant_get (changed_properties, "a{sv}", &iter); 1693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1693s # g_datalist_remove_data (&proxy->priv->qdata, key); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # g_variant_iter_free (iter); 1693s # for (n = 0; invalidated_properties[n] != NULL; n++) 1693s # { 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1693s # if (info != NULL) 1693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1693s # } 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1693s # #else 1693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1693s # #endif 1693s # 1693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusProxyClass *proxy_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1693s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1693s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1693s # 1693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1693s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1693s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_other_signaling_iface_proxy_new ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherSignalingIface * 1693s # org_project_other_signaling_iface_proxy_new_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new_sync: 1693s # * @connection: A #GDBusConnection. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherSignalingIface * 1693s # org_project_other_signaling_iface_proxy_new_sync ( 1693s # GDBusConnection *connection, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new_for_bus: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1693s # * @user_data: User data to pass to @callback. 1693s # * 1693s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1693s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1693s # * 1693s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1693s # */ 1693s # void 1693s # org_project_other_signaling_iface_proxy_new_for_bus ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GAsyncReadyCallback callback, 1693s # gpointer user_data) 1693s # { 1693s # 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); 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherSignalingIface * 1693s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1693s # GAsyncResult *res, 1693s # GError **error) 1693s # { 1693s # GObject *ret; 1693s # GObject *source_object; 1693s # source_object = g_async_result_get_source_object (res); 1693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1693s # g_object_unref (source_object); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1693s # * @bus_type: A #GBusType. 1693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1693s # * @name: A bus name (well-known or unique). 1693s # * @object_path: An object path. 1693s # * @cancellable: (nullable): A #GCancellable or %NULL. 1693s # * @error: Return location for error or %NULL 1693s # * 1693s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1693s # * 1693s # * The calling thread is blocked until a reply is received. 1693s # * 1693s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1693s # */ 1693s # OrgProjectOtherSignalingIface * 1693s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1693s # GBusType bus_type, 1693s # GDBusProxyFlags flags, 1693s # const gchar *name, 1693s # const gchar *object_path, 1693s # GCancellable *cancellable, 1693s # GError **error) 1693s # { 1693s # GInitable *ret; 1693s # 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); 1693s # if (ret != NULL) 1693s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1693s # else 1693s # return NULL; 1693s # } 1693s # 1693s # 1693s # /* ------------------------------------------------------------------------ */ 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIfaceSkeleton: 1693s # * 1693s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1693s # */ 1693s # 1693s # /** 1693s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1693s # * @parent_class: The parent class. 1693s # * 1693s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1693s # */ 1693s # 1693s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1693s # { 1693s # GValue *properties; 1693s # GList *changed_properties; 1693s # GSource *changed_properties_idle_source; 1693s # GMainContext *context; 1693s # GMutex lock; 1693s # }; 1693s # 1693s # static void 1693s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name, 1693s # const gchar *method_name, 1693s # GVariant *parameters, 1693s # GDBusMethodInvocation *invocation, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1693s # _ExtendedGDBusMethodInfo *info; 1693s # GVariantIter iter; 1693s # GVariant *child; 1693s # GValue *paramv; 1693s # gsize num_params; 1693s # guint num_extra; 1693s # gsize n; 1693s # guint signal_id; 1693s # GValue return_value = G_VALUE_INIT; 1693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1693s # g_assert (info != NULL); 1693s # num_params = g_variant_n_children (parameters); 1693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1693s # n = 0; 1693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1693s # g_value_set_object (¶mv[n++], skeleton); 1693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1693s # g_value_set_object (¶mv[n++], invocation); 1693s # if (info->pass_fdlist) 1693s # { 1693s # #ifdef G_OS_UNIX 1693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1693s # #else 1693s # g_assert_not_reached (); 1693s # #endif 1693s # } 1693s # g_variant_iter_init (&iter, parameters); 1693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1693s # { 1693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1693s # if (arg_info->use_gvariant) 1693s # { 1693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1693s # g_value_set_variant (¶mv[n], child); 1693s # n++; 1693s # } 1693s # else 1693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1693s # g_variant_unref (child); 1693s # } 1693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1693s # if (!g_value_get_boolean (&return_value)) 1693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1693s # g_value_unset (&return_value); 1693s # for (n = 0; n < num_params + num_extra; n++) 1693s # g_value_unset (¶mv[n]); 1693s # g_free (paramv); 1693s # } 1693s # 1693s # static GVariant * 1693s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # GVariant *ret; 1693s # ret = NULL; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # g_value_init (&value, pspec->value_type); 1693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1693s # g_value_unset (&value); 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static gboolean 1693s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1693s # GDBusConnection *connection G_GNUC_UNUSED, 1693s # const gchar *sender G_GNUC_UNUSED, 1693s # const gchar *object_path G_GNUC_UNUSED, 1693s # const gchar *interface_name G_GNUC_UNUSED, 1693s # const gchar *property_name, 1693s # GVariant *variant, 1693s # GError **error, 1693s # gpointer user_data) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1693s # GValue value = G_VALUE_INIT; 1693s # GParamSpec *pspec; 1693s # _ExtendedGDBusPropertyInfo *info; 1693s # gboolean ret; 1693s # ret = FALSE; 1693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1693s # g_assert (info != NULL); 1693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1693s # if (pspec == NULL) 1693s # { 1693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1693s # } 1693s # else 1693s # { 1693s # if (info->use_gvariant) 1693s # g_value_set_variant (&value, variant); 1693s # else 1693s # g_dbus_gvariant_to_gvalue (variant, &value); 1693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1693s # g_value_unset (&value); 1693s # ret = TRUE; 1693s # } 1693s # return ret; 1693s # } 1693s # 1693s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1693s # { 1693s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1693s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1693s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1693s # {NULL} 1693s # }; 1693s # 1693s # static GDBusInterfaceInfo * 1693s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return org_project_other_signaling_iface_interface_info (); 1693s # } 1693s # 1693s # static GDBusInterfaceVTable * 1693s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1693s # { 1693s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1693s # } 1693s # 1693s # static GVariant * 1693s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1693s # 1693s # GVariantBuilder builder; 1693s # guint n; 1693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1693s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1693s # goto out; 1693s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1693s # { 1693s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1693s # { 1693s # GVariant *value; 1693s # 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); 1693s # if (value != NULL) 1693s # { 1693s # g_variant_take_ref (value); 1693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1693s # g_variant_unref (value); 1693s # } 1693s # } 1693s # } 1693s # out: 1693s # return g_variant_builder_end (&builder); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1693s # { 1693s # } 1693s # 1693s # static void 1693s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1693s # OrgProjectOtherSignalingIface *object) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1693s # 1693s # GList *connections, *l; 1693s # GVariant *signal_variant; 1693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1693s # 1693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1693s # for (l = connections; l != NULL; l = l->next) 1693s # { 1693s # GDBusConnection *connection = l->data; 1693s # g_dbus_connection_emit_signal (connection, 1693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1693s # signal_variant, NULL); 1693s # } 1693s # g_variant_unref (signal_variant); 1693s # g_list_free_full (connections, g_object_unref); 1693s # } 1693s # 1693s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1693s # 1693s # #else 1693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1693s # 1693s # #endif 1693s # static void 1693s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1693s # { 1693s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1693s # if (skeleton->priv->changed_properties_idle_source != NULL) 1693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1693s # g_main_context_unref (skeleton->priv->context); 1693s # g_mutex_clear (&skeleton->priv->lock); 1693s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1693s # { 1693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1693s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1693s # #else 1693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1693s # #endif 1693s # 1693s # g_mutex_init (&skeleton->priv->lock); 1693s # skeleton->priv->context = g_main_context_ref_thread_default (); 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1693s # { 1693s # GObjectClass *gobject_class; 1693s # GDBusInterfaceSkeletonClass *skeleton_class; 1693s # 1693s # gobject_class = G_OBJECT_CLASS (klass); 1693s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1693s # 1693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1693s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1693s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1693s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1693s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1693s # 1693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1693s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1693s # #endif 1693s # } 1693s # 1693s # static void 1693s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1693s # { 1693s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1693s # } 1693s # 1693s # /** 1693s # * org_project_other_signaling_iface_skeleton_new: 1693s # * 1693s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1693s # * 1693s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1693s # */ 1693s # OrgProjectOtherSignalingIface * 1693s # org_project_other_signaling_iface_skeleton_new (void) 1693s # { 1693s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1693s # } 1694s # Executing: glib/codegen.py.test 1694s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1694s # tmpdir: /tmp/tmpr15y8s7f 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmpr15y8s7f/tmpy0_abs4s.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpy0_abs4s.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_b", 1694s # (gchar *) "b", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalB", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-b" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-b: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_b: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1694s # g_signal_new ("single-arg-signal-b", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_BOOLEAN); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_b: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_b: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalB" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_b ( 1694s # OrgProjectSignalingIface *object, 1694s # gboolean arg_arg_b) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1694s # OrgProjectSignalingIface *object, 1694s # gboolean arg_arg_b) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1694s # arg_arg_b)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmp_kd_j5wt.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmp_kd_j5wt.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_y", 1694s # (gchar *) "y", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalY", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-y" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__UCHAR (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-y: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_y: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1694s # g_signal_new ("single-arg-signal-y", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_UCHAR); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_y: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_y: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalY" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_y ( 1694s # OrgProjectSignalingIface *object, 1694s # guchar arg_arg_y) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1694s # OrgProjectSignalingIface *object, 1694s # guchar arg_arg_y) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1694s # arg_arg_y)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpzm0pg6rh.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpzm0pg6rh.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_n", 1694s # (gchar *) "n", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalN", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-n" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__INT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-n: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_n: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1694s # g_signal_new ("single-arg-signal-n", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_INT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_n: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_n: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalN" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_n ( 1694s # OrgProjectSignalingIface *object, 1694s # gint16 arg_arg_n) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1694s # OrgProjectSignalingIface *object, 1694s # gint16 arg_arg_n) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1694s # arg_arg_n)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpgtzskhv6.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpgtzskhv6.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_q", 1694s # (gchar *) "q", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalQ", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-q" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__UINT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-q: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_q: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1694s # g_signal_new ("single-arg-signal-q", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_UINT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_q: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_q: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalQ" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_q ( 1694s # OrgProjectSignalingIface *object, 1694s # guint16 arg_arg_q) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1694s # OrgProjectSignalingIface *object, 1694s # guint16 arg_arg_q) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1694s # arg_arg_q)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmp4b1klayc.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmp4b1klayc.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_i", 1694s # (gchar *) "i", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalI", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-i" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__INT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-i: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_i: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1694s # g_signal_new ("single-arg-signal-i", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_INT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_i: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_i: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalI" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_i ( 1694s # OrgProjectSignalingIface *object, 1694s # gint arg_arg_i) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1694s # OrgProjectSignalingIface *object, 1694s # gint arg_arg_i) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1694s # arg_arg_i)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpez9yzi_f.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpez9yzi_f.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_u", 1694s # (gchar *) "u", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalU", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-u" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__UINT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-u: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_u: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1694s # g_signal_new ("single-arg-signal-u", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_UINT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_u: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_u: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalU" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_u ( 1694s # OrgProjectSignalingIface *object, 1694s # guint arg_arg_u) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1694s # OrgProjectSignalingIface *object, 1694s # guint arg_arg_u) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1694s # arg_arg_u)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpm6m8_7sj.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpm6m8_7sj.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static void 1694s # _g_dbus_codegen_marshal_VOID__INT64 ( 1694s # GClosure *closure, 1694s # GValue *return_value G_GNUC_UNUSED, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint G_GNUC_UNUSED, 1694s # void *marshal_data) 1694s # { 1694s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1694s # (void *data1, 1694s # gint64 arg_arg_x, 1694s # void *data2); 1694s # _GDbusCodegenMarshalVoid_Int64Func callback; 1694s # GCClosure *cc = (GCClosure*) closure; 1694s # void *data1, *data2; 1694s # 1694s # g_return_if_fail (n_param_values == 2); 1694s # 1694s # if (G_CCLOSURE_SWAP_DATA (closure)) 1694s # { 1694s # data1 = closure->data; 1694s # data2 = g_value_peek_pointer (param_values + 0); 1694s # } 1694s # else 1694s # { 1694s # data1 = g_value_peek_pointer (param_values + 0); 1694s # data2 = closure->data; 1694s # } 1694s # 1694s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1694s # (marshal_data ? marshal_data : cc->callback); 1694s # 1694s # callback (data1, 1694s # g_marshal_value_peek_int64 (param_values + 1), 1694s # data2); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_x", 1694s # (gchar *) "x", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalX", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-x" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-x: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_x: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1694s # g_signal_new ("single-arg-signal-x", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_INT64); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_x: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_x: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalX" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_x ( 1694s # OrgProjectSignalingIface *object, 1694s # gint64 arg_arg_x) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1694s # OrgProjectSignalingIface *object, 1694s # gint64 arg_arg_x) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1694s # arg_arg_x)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpvgizzz8_.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpvgizzz8_.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static void 1694s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1694s # GClosure *closure, 1694s # GValue *return_value G_GNUC_UNUSED, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint G_GNUC_UNUSED, 1694s # void *marshal_data) 1694s # { 1694s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1694s # (void *data1, 1694s # guint64 arg_arg_t, 1694s # void *data2); 1694s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1694s # GCClosure *cc = (GCClosure*) closure; 1694s # void *data1, *data2; 1694s # 1694s # g_return_if_fail (n_param_values == 2); 1694s # 1694s # if (G_CCLOSURE_SWAP_DATA (closure)) 1694s # { 1694s # data1 = closure->data; 1694s # data2 = g_value_peek_pointer (param_values + 0); 1694s # } 1694s # else 1694s # { 1694s # data1 = g_value_peek_pointer (param_values + 0); 1694s # data2 = closure->data; 1694s # } 1694s # 1694s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1694s # (marshal_data ? marshal_data : cc->callback); 1694s # 1694s # callback (data1, 1694s # g_marshal_value_peek_uint64 (param_values + 1), 1694s # data2); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_t", 1694s # (gchar *) "t", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalT", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-t" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-t: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_t: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1694s # g_signal_new ("single-arg-signal-t", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_UINT64); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_t: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_t: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalT" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_t ( 1694s # OrgProjectSignalingIface *object, 1694s # guint64 arg_arg_t) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1694s # OrgProjectSignalingIface *object, 1694s # guint64 arg_arg_t) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1694s # arg_arg_t)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpyqndmwy2.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpyqndmwy2.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_d", 1694s # (gchar *) "d", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalD", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-d" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__DOUBLE (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-d: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_d: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1694s # g_signal_new ("single-arg-signal-d", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_DOUBLE); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_d: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_d: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalD" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_d ( 1694s # OrgProjectSignalingIface *object, 1694s # gdouble arg_arg_d) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1694s # OrgProjectSignalingIface *object, 1694s # gdouble arg_arg_d) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1694s # arg_arg_d)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmp505k9ttx.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmp505k9ttx.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_s", 1694s # (gchar *) "s", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalS", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-s" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__STRING (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-s: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_s: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1694s # g_signal_new ("single-arg-signal-s", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRING); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_s: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_s: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalS" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_s ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_s) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_s) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1694s # arg_arg_s)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpd5t7ceqe.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpd5t7ceqe.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_o", 1694s # (gchar *) "o", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalO", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-o" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__STRING (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-o: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_o: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1694s # g_signal_new ("single-arg-signal-o", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRING); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_o: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_o: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalO" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_o ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_o) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_o) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1694s # arg_arg_o)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmp6wliy0b3.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmp6wliy0b3.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_g", 1694s # (gchar *) "g", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalG", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-g" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__STRING (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-g: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_g: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1694s # g_signal_new ("single-arg-signal-g", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRING); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_g: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_g: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalG" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_g ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_g) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_g) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1694s # arg_arg_g)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmp_jw34d7m.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmp_jw34d7m.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_h", 1694s # (gchar *) "h", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalH", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-h" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VARIANT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-h: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_h: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1694s # g_signal_new ("single-arg-signal-h", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_VARIANT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_h: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_h: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalH" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_h ( 1694s # OrgProjectSignalingIface *object, 1694s # GVariant *arg_arg_h) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1694s # OrgProjectSignalingIface *object, 1694s # GVariant *arg_arg_h) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1694s # arg_arg_h)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpbh8u2kao.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpbh8u2kao.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_ay", 1694s # (gchar *) "ay", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalAy", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-ay" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__STRING (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-ay: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_ay: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1694s # g_signal_new ("single-arg-signal-ay", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRING); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_ay: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalAy" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_ay) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *arg_arg_ay) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1694s # arg_arg_ay)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpcrvfive8.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpcrvfive8.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_as", 1694s # (gchar *) "as", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalAs", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-as" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__BOXED (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-as: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_as: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1694s # g_signal_new ("single-arg-signal-as", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRV); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_as: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_as: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalAs" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_as ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_as) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_as) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1694s # arg_arg_as)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpqnj9gnht.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpqnj9gnht.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_ao", 1694s # (gchar *) "ao", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalAo", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-ao" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__BOXED (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-ao: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_ao: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1694s # g_signal_new ("single-arg-signal-ao", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRV); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_ao: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalAo" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_ao) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_ao) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1694s # arg_arg_ao)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmpv1sbw6v4.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmpv1sbw6v4.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_aay", 1694s # (gchar *) "aay", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalAay", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-aay" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__BOXED (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-aay: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_aay: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1694s # g_signal_new ("single-arg-signal-aay", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_STRV); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_aay: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalAay" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_aay) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1694s # OrgProjectSignalingIface *object, 1694s # const gchar *const *arg_arg_aay) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1694s # arg_arg_aay)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s # /tmp/tmpr15y8s7f/tmplnktkkm0.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr15y8s7f/tmplnktkkm0.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "arg_asv", 1694s # (gchar *) "a{sv}", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SingleArgSignalAsv", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "single-arg-signal-asv" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VARIANT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::single-arg-signal-asv: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_asv: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1694s # g_signal_new ("single-arg-signal-asv", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1694s # G_TYPE_NONE, 1694s # 1, G_TYPE_VARIANT); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_arg_asv: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1694s # OrgProjectSignalingIface *object, 1694s # GVariant *arg_arg_asv) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1694s # OrgProjectSignalingIface *object, 1694s # GVariant *arg_arg_asv) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1694s # arg_arg_asv)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1694s # tmpdir: /tmp/tmp62ewaue9 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmp62ewaue9/tmpos1tbgw9.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp62ewaue9/tmpos1tbgw9.xml', '--output', '-', '--body'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifdef HAVE_CONFIG_H 1694s # # include "config.h" 1694s # #endif 1694s # 1694s # #include 1694s # #ifdef G_OS_UNIX 1694s # # include 1694s # #endif 1694s # 1694s # #ifdef G_ENABLE_DEBUG 1694s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1694s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1694s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1694s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1694s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1694s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1694s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1694s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1694s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1694s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1694s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1694s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1694s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1694s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1694s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1694s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1694s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1694s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1694s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1694s # #else /* !G_ENABLE_DEBUG */ 1694s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1694s # * Do not access GValues directly in your code. Instead, use the 1694s # * g_value_get_*() functions 1694s # */ 1694s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1694s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1694s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1694s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1694s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1694s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1694s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1694s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1694s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1694s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1694s # #endif /* !G_ENABLE_DEBUG */ 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusArgInfo parent_struct; 1694s # gboolean use_gvariant; 1694s # } _ExtendedGDBusArgInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusMethodInfo parent_struct; 1694s # const gchar *signal_name; 1694s # gboolean pass_fdlist; 1694s # } _ExtendedGDBusMethodInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusSignalInfo parent_struct; 1694s # const gchar *signal_name; 1694s # } _ExtendedGDBusSignalInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusPropertyInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # guint use_gvariant : 1; 1694s # guint emits_changed_signal : 1; 1694s # } _ExtendedGDBusPropertyInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # GDBusInterfaceInfo parent_struct; 1694s # const gchar *hyphen_name; 1694s # } _ExtendedGDBusInterfaceInfo; 1694s # 1694s # typedef struct 1694s # { 1694s # const _ExtendedGDBusPropertyInfo *info; 1694s # guint prop_id; 1694s # GValue orig_value; /* the value before the change */ 1694s # } ChangedProperty; 1694s # 1694s # static void 1694s # _changed_property_free (ChangedProperty *data) 1694s # { 1694s # g_value_unset (&data->orig_value); 1694s # g_free (data); 1694s # } 1694s # 1694s # static gboolean 1694s # _g_strv_equal0 (gchar **a, gchar **b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # guint n; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # if (g_strv_length (a) != g_strv_length (b)) 1694s # goto out; 1694s # for (n = 0; a[n] != NULL; n++) 1694s # if (g_strcmp0 (a[n], b[n]) != 0) 1694s # goto out; 1694s # ret = TRUE; 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _g_variant_equal0 (GVariant *a, GVariant *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # if (a == NULL && b == NULL) 1694s # { 1694s # ret = TRUE; 1694s # goto out; 1694s # } 1694s # if (a == NULL || b == NULL) 1694s # goto out; 1694s # ret = g_variant_equal (a, b); 1694s # out: 1694s # return ret; 1694s # } 1694s # 1694s # G_GNUC_UNUSED static gboolean 1694s # _g_value_equal (const GValue *a, const GValue *b) 1694s # { 1694s # gboolean ret = FALSE; 1694s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1694s # switch (G_VALUE_TYPE (a)) 1694s # { 1694s # case G_TYPE_BOOLEAN: 1694s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1694s # break; 1694s # case G_TYPE_UCHAR: 1694s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1694s # break; 1694s # case G_TYPE_INT: 1694s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1694s # break; 1694s # case G_TYPE_UINT: 1694s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1694s # break; 1694s # case G_TYPE_INT64: 1694s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1694s # break; 1694s # case G_TYPE_UINT64: 1694s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1694s # break; 1694s # case G_TYPE_DOUBLE: 1694s # { 1694s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1694s # gdouble da = g_value_get_double (a); 1694s # gdouble db = g_value_get_double (b); 1694s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1694s # } 1694s # break; 1694s # case G_TYPE_STRING: 1694s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1694s # break; 1694s # case G_TYPE_VARIANT: 1694s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1694s # break; 1694s # default: 1694s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1694s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1694s # else 1694s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1694s # break; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static void 1694s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1694s # GClosure *closure, 1694s # GValue *return_value G_GNUC_UNUSED, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint G_GNUC_UNUSED, 1694s # void *marshal_data) 1694s # { 1694s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1694s # (void *data1, 1694s # gboolean arg_an_b, 1694s # guchar arg_an_y, 1694s # gint16 arg_an_n, 1694s # guint16 arg_an_q, 1694s # gint arg_an_i, 1694s # guint arg_an_u, 1694s # gint64 arg_an_x, 1694s # guint64 arg_an_t, 1694s # gdouble arg_an_d, 1694s # const gchar *arg_an_s, 1694s # const gchar *arg_an_o, 1694s # const gchar *arg_an_g, 1694s # GVariant *arg_an_h, 1694s # const gchar *arg_an_ay, 1694s # const gchar *const *arg_an_as, 1694s # const gchar *const *arg_an_ao, 1694s # const gchar *const *arg_an_aay, 1694s # GVariant *arg_an_asv, 1694s # void *data2); 1694s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1694s # GCClosure *cc = (GCClosure*) closure; 1694s # void *data1, *data2; 1694s # 1694s # g_return_if_fail (n_param_values == 19); 1694s # 1694s # if (G_CCLOSURE_SWAP_DATA (closure)) 1694s # { 1694s # data1 = closure->data; 1694s # data2 = g_value_peek_pointer (param_values + 0); 1694s # } 1694s # else 1694s # { 1694s # data1 = g_value_peek_pointer (param_values + 0); 1694s # data2 = closure->data; 1694s # } 1694s # 1694s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1694s # (marshal_data ? marshal_data : cc->callback); 1694s # 1694s # callback (data1, 1694s # g_marshal_value_peek_boolean (param_values + 1), 1694s # g_marshal_value_peek_uchar (param_values + 2), 1694s # g_marshal_value_peek_int (param_values + 3), 1694s # g_marshal_value_peek_uint (param_values + 4), 1694s # g_marshal_value_peek_int (param_values + 5), 1694s # g_marshal_value_peek_uint (param_values + 6), 1694s # g_marshal_value_peek_int64 (param_values + 7), 1694s # g_marshal_value_peek_uint64 (param_values + 8), 1694s # g_marshal_value_peek_double (param_values + 9), 1694s # g_marshal_value_peek_string (param_values + 10), 1694s # g_marshal_value_peek_string (param_values + 11), 1694s # g_marshal_value_peek_string (param_values + 12), 1694s # g_marshal_value_peek_variant (param_values + 13), 1694s # g_marshal_value_peek_string (param_values + 14), 1694s # g_marshal_value_peek_boxed (param_values + 15), 1694s # g_marshal_value_peek_boxed (param_values + 16), 1694s # g_marshal_value_peek_boxed (param_values + 17), 1694s # g_marshal_value_peek_variant (param_values + 18), 1694s # data2); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ 1694s # * Code for interface org.project.SignalingIface 1694s # * ------------------------------------------------------------------------ 1694s # */ 1694s # 1694s # /** 1694s # * SECTION:OrgProjectSignalingIface 1694s # * @title: OrgProjectSignalingIface 1694s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1694s # * 1694s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1694s # */ 1694s # 1694s # enum 1694s # { 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1694s # }; 1694s # 1694s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1694s # 1694s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SimpleSignal", 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "simple-signal" 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_b", 1694s # (gchar *) "b", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_y", 1694s # (gchar *) "y", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_n", 1694s # (gchar *) "n", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_q", 1694s # (gchar *) "q", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_i", 1694s # (gchar *) "i", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_u", 1694s # (gchar *) "u", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_x", 1694s # (gchar *) "x", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_t", 1694s # (gchar *) "t", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_d", 1694s # (gchar *) "d", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_s", 1694s # (gchar *) "s", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_o", 1694s # (gchar *) "o", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_g", 1694s # (gchar *) "g", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_h", 1694s # (gchar *) "h", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_ay", 1694s # (gchar *) "ay", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_as", 1694s # (gchar *) "as", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_ao", 1694s # (gchar *) "ao", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_aay", 1694s # (gchar *) "aay", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "an_asv", 1694s # (gchar *) "a{sv}", 1694s # NULL 1694s # }, 1694s # FALSE 1694s # }; 1694s # 1694s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "SignalWithManyArgs", 1694s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1694s # NULL 1694s # }, 1694s # "signal-with-many-args" 1694s # }; 1694s # 1694s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1694s # { 1694s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1694s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1694s # NULL 1694s # }; 1694s # 1694s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1694s # { 1694s # { 1694s # -1, 1694s # (gchar *) "org.project.SignalingIface", 1694s # NULL, 1694s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1694s # NULL, 1694s # NULL 1694s # }, 1694s # "org-project-signaling-iface", 1694s # }; 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_interface_info: 1694s # * 1694s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1694s # * 1694s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1694s # */ 1694s # GDBusInterfaceInfo * 1694s # org_project_signaling_iface_interface_info (void) 1694s # { 1694s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_override_properties: 1694s # * @klass: The class structure for a #GObject derived class. 1694s # * @property_id_begin: The property id to assign to the first overridden property. 1694s # * 1694s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1694s # * The properties are overridden in the order they are defined. 1694s # * 1694s # * Returns: The last property id. 1694s # */ 1694s # guint 1694s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1694s # { 1694s # return property_id_begin - 1; 1694s # } 1694s # 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_simple_signal ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # g_cclosure_marshal_VOID__VOID (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # inline static void 1694s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1694s # GClosure *closure, 1694s # GValue *return_value, 1694s # unsigned int n_param_values, 1694s # const GValue *param_values, 1694s # void *invocation_hint, 1694s # void *marshal_data) 1694s # { 1694s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1694s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1694s # } 1694s # 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface: 1694s # * 1694s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceIface: 1694s # * @parent_iface: The parent interface. 1694s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1694s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1694s # * 1694s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1694s # */ 1694s # 1694s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1694s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1694s # 1694s # static void 1694s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # /* GObject signals for received D-Bus signals: */ 1694s # /** 1694s # * OrgProjectSignalingIface::simple-signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1694s # g_signal_new ("simple-signal", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_simple_signal, 1694s # G_TYPE_NONE, 1694s # 0); 1694s # 1694s # /** 1694s # * OrgProjectSignalingIface::signal-with-many-args: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_an_b: Argument. 1694s # * @arg_an_y: Argument. 1694s # * @arg_an_n: Argument. 1694s # * @arg_an_q: Argument. 1694s # * @arg_an_i: Argument. 1694s # * @arg_an_u: Argument. 1694s # * @arg_an_x: Argument. 1694s # * @arg_an_t: Argument. 1694s # * @arg_an_d: Argument. 1694s # * @arg_an_s: Argument. 1694s # * @arg_an_o: Argument. 1694s # * @arg_an_g: Argument. 1694s # * @arg_an_h: Argument. 1694s # * @arg_an_ay: Argument. 1694s # * @arg_an_as: Argument. 1694s # * @arg_an_ao: Argument. 1694s # * @arg_an_aay: Argument. 1694s # * @arg_an_asv: Argument. 1694s # * 1694s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1694s # * 1694s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1694s # */ 1694s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1694s # g_signal_new ("signal-with-many-args", 1694s # G_TYPE_FROM_INTERFACE (iface), 1694s # G_SIGNAL_RUN_LAST, 1694s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1694s # NULL, 1694s # NULL, 1694s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1694s # G_TYPE_NONE, 1694s # 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); 1694s # 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_simple_signal: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * 1694s # * Emits the "SimpleSignal" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_emit_signal_with_many_args: 1694s # * @object: A #OrgProjectSignalingIface. 1694s # * @arg_an_b: Argument to pass with the signal. 1694s # * @arg_an_y: Argument to pass with the signal. 1694s # * @arg_an_n: Argument to pass with the signal. 1694s # * @arg_an_q: Argument to pass with the signal. 1694s # * @arg_an_i: Argument to pass with the signal. 1694s # * @arg_an_u: Argument to pass with the signal. 1694s # * @arg_an_x: Argument to pass with the signal. 1694s # * @arg_an_t: Argument to pass with the signal. 1694s # * @arg_an_d: Argument to pass with the signal. 1694s # * @arg_an_s: Argument to pass with the signal. 1694s # * @arg_an_o: Argument to pass with the signal. 1694s # * @arg_an_g: Argument to pass with the signal. 1694s # * @arg_an_h: Argument to pass with the signal. 1694s # * @arg_an_ay: Argument to pass with the signal. 1694s # * @arg_an_as: Argument to pass with the signal. 1694s # * @arg_an_ao: Argument to pass with the signal. 1694s # * @arg_an_aay: Argument to pass with the signal. 1694s # * @arg_an_asv: Argument to pass with the signal. 1694s # * 1694s # * Emits the "SignalWithManyArgs" D-Bus signal. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_emit_signal_with_many_args ( 1694s # OrgProjectSignalingIface *object, 1694s # gboolean arg_an_b, 1694s # guchar arg_an_y, 1694s # gint16 arg_an_n, 1694s # guint16 arg_an_q, 1694s # gint arg_an_i, 1694s # guint arg_an_u, 1694s # gint64 arg_an_x, 1694s # guint64 arg_an_t, 1694s # gdouble arg_an_d, 1694s # const gchar *arg_an_s, 1694s # const gchar *arg_an_o, 1694s # const gchar *arg_an_g, 1694s # GVariant *arg_an_h, 1694s # const gchar *arg_an_ay, 1694s # const gchar *const *arg_an_as, 1694s # const gchar *const *arg_an_ao, 1694s # const gchar *const *arg_an_aay, 1694s # GVariant *arg_an_asv) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxy: 1694s # * 1694s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceProxyClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceProxy. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceProxyPrivate 1694s # { 1694s # GData *qdata; 1694s # }; 1694s # 1694s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_proxy_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1694s # g_datalist_clear (&proxy->priv->qdata); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1694s # guint prop_id G_GNUC_UNUSED, 1694s # const GValue *value G_GNUC_UNUSED, 1694s # GParamSpec *pspec G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1694s # const gchar *sender_name G_GNUC_UNUSED, 1694s # const gchar *signal_name, 1694s # GVariant *parameters) 1694s # { 1694s # _ExtendedGDBusSignalInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # gsize n; 1694s # guint signal_id; 1694s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1694s # if (info == NULL) 1694s # return; 1694s # num_params = g_variant_n_children (parameters); 1694s # paramv = g_new0 (GValue, num_params + 1); 1694s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[0], proxy); 1694s # g_variant_iter_init (&iter, parameters); 1694s # n = 1; 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_signal_emitv (paramv, signal_id, 0, NULL); 1694s # for (n = 0; n < num_params + 1; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1694s # GVariant *changed_properties, 1694s # const gchar *const *invalidated_properties) 1694s # { 1694s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1694s # guint n; 1694s # const gchar *key; 1694s # GVariantIter *iter; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # g_variant_get (changed_properties, "a{sv}", &iter); 1694s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1694s # g_datalist_remove_data (&proxy->priv->qdata, key); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # g_variant_iter_free (iter); 1694s # for (n = 0; invalidated_properties[n] != NULL; n++) 1694s # { 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1694s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1694s # if (info != NULL) 1694s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1694s # } 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1694s # #else 1694s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1694s # #endif 1694s # 1694s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusProxyClass *proxy_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1694s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1694s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1694s # 1694s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1694s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1694s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_sync: 1694s # * @connection: A #GDBusConnection. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_sync ( 1694s # GDBusConnection *connection, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1694s # * @user_data: User data to pass to @callback. 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1694s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1694s # */ 1694s # void 1694s # org_project_signaling_iface_proxy_new_for_bus ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GAsyncReadyCallback callback, 1694s # gpointer user_data) 1694s # { 1694s # 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); 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1694s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1694s # GAsyncResult *res, 1694s # GError **error) 1694s # { 1694s # GObject *ret; 1694s # GObject *source_object; 1694s # source_object = g_async_result_get_source_object (res); 1694s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1694s # g_object_unref (source_object); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1694s # * @bus_type: A #GBusType. 1694s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1694s # * @name: A bus name (well-known or unique). 1694s # * @object_path: An object path. 1694s # * @cancellable: (nullable): A #GCancellable or %NULL. 1694s # * @error: Return location for error or %NULL 1694s # * 1694s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1694s # * 1694s # * The calling thread is blocked until a reply is received. 1694s # * 1694s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1694s # GBusType bus_type, 1694s # GDBusProxyFlags flags, 1694s # const gchar *name, 1694s # const gchar *object_path, 1694s # GCancellable *cancellable, 1694s # GError **error) 1694s # { 1694s # GInitable *ret; 1694s # 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); 1694s # if (ret != NULL) 1694s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1694s # else 1694s # return NULL; 1694s # } 1694s # 1694s # 1694s # /* ------------------------------------------------------------------------ */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeleton: 1694s # * 1694s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1694s # */ 1694s # 1694s # /** 1694s # * OrgProjectSignalingIfaceSkeletonClass: 1694s # * @parent_class: The parent class. 1694s # * 1694s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1694s # */ 1694s # 1694s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1694s # { 1694s # GValue *properties; 1694s # GList *changed_properties; 1694s # GSource *changed_properties_idle_source; 1694s # GMainContext *context; 1694s # GMutex lock; 1694s # }; 1694s # 1694s # static void 1694s # _org_project_signaling_iface_skeleton_handle_method_call ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name, 1694s # const gchar *method_name, 1694s # GVariant *parameters, 1694s # GDBusMethodInvocation *invocation, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # _ExtendedGDBusMethodInfo *info; 1694s # GVariantIter iter; 1694s # GVariant *child; 1694s # GValue *paramv; 1694s # gsize num_params; 1694s # guint num_extra; 1694s # gsize n; 1694s # guint signal_id; 1694s # GValue return_value = G_VALUE_INIT; 1694s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1694s # g_assert (info != NULL); 1694s # num_params = g_variant_n_children (parameters); 1694s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1694s # n = 0; 1694s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_set_object (¶mv[n++], skeleton); 1694s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1694s # g_value_set_object (¶mv[n++], invocation); 1694s # if (info->pass_fdlist) 1694s # { 1694s # #ifdef G_OS_UNIX 1694s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1694s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1694s # #else 1694s # g_assert_not_reached (); 1694s # #endif 1694s # } 1694s # g_variant_iter_init (&iter, parameters); 1694s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1694s # { 1694s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1694s # if (arg_info->use_gvariant) 1694s # { 1694s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1694s # g_value_set_variant (¶mv[n], child); 1694s # n++; 1694s # } 1694s # else 1694s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1694s # g_variant_unref (child); 1694s # } 1694s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1694s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1694s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1694s # if (!g_value_get_boolean (&return_value)) 1694s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1694s # g_value_unset (&return_value); 1694s # for (n = 0; n < num_params + num_extra; n++) 1694s # g_value_unset (¶mv[n]); 1694s # g_free (paramv); 1694s # } 1694s # 1694s # static GVariant * 1694s # _org_project_signaling_iface_skeleton_handle_get_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # GVariant *ret; 1694s # ret = NULL; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # g_value_init (&value, pspec->value_type); 1694s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1694s # g_value_unset (&value); 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static gboolean 1694s # _org_project_signaling_iface_skeleton_handle_set_property ( 1694s # GDBusConnection *connection G_GNUC_UNUSED, 1694s # const gchar *sender G_GNUC_UNUSED, 1694s # const gchar *object_path G_GNUC_UNUSED, 1694s # const gchar *interface_name G_GNUC_UNUSED, 1694s # const gchar *property_name, 1694s # GVariant *variant, 1694s # GError **error, 1694s # gpointer user_data) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1694s # GValue value = G_VALUE_INIT; 1694s # GParamSpec *pspec; 1694s # _ExtendedGDBusPropertyInfo *info; 1694s # gboolean ret; 1694s # ret = FALSE; 1694s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1694s # g_assert (info != NULL); 1694s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1694s # if (pspec == NULL) 1694s # { 1694s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1694s # } 1694s # else 1694s # { 1694s # if (info->use_gvariant) 1694s # g_value_set_variant (&value, variant); 1694s # else 1694s # g_dbus_gvariant_to_gvalue (variant, &value); 1694s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1694s # g_value_unset (&value); 1694s # ret = TRUE; 1694s # } 1694s # return ret; 1694s # } 1694s # 1694s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1694s # { 1694s # _org_project_signaling_iface_skeleton_handle_method_call, 1694s # _org_project_signaling_iface_skeleton_handle_get_property, 1694s # _org_project_signaling_iface_skeleton_handle_set_property, 1694s # {NULL} 1694s # }; 1694s # 1694s # static GDBusInterfaceInfo * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return org_project_signaling_iface_interface_info (); 1694s # } 1694s # 1694s # static GDBusInterfaceVTable * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1694s # { 1694s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1694s # } 1694s # 1694s # static GVariant * 1694s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1694s # 1694s # GVariantBuilder builder; 1694s # guint n; 1694s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1694s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1694s # goto out; 1694s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1694s # { 1694s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1694s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1694s # { 1694s # GVariant *value; 1694s # 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); 1694s # if (value != NULL) 1694s # { 1694s # g_variant_take_ref (value); 1694s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1694s # g_variant_unref (value); 1694s # } 1694s # } 1694s # } 1694s # out: 1694s # return g_variant_builder_end (&builder); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1694s # { 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_simple_signal ( 1694s # OrgProjectSignalingIface *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void 1694s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1694s # OrgProjectSignalingIface *object, 1694s # gboolean arg_an_b, 1694s # guchar arg_an_y, 1694s # gint16 arg_an_n, 1694s # guint16 arg_an_q, 1694s # gint arg_an_i, 1694s # guint arg_an_u, 1694s # gint64 arg_an_x, 1694s # guint64 arg_an_t, 1694s # gdouble arg_an_d, 1694s # const gchar *arg_an_s, 1694s # const gchar *arg_an_o, 1694s # const gchar *arg_an_g, 1694s # GVariant *arg_an_h, 1694s # const gchar *arg_an_ay, 1694s # const gchar *const *arg_an_as, 1694s # const gchar *const *arg_an_ao, 1694s # const gchar *const *arg_an_aay, 1694s # GVariant *arg_an_asv) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # 1694s # GList *connections, *l; 1694s # GVariant *signal_variant; 1694s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1694s # 1694s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1694s # arg_an_b, 1694s # arg_an_y, 1694s # arg_an_n, 1694s # arg_an_q, 1694s # arg_an_i, 1694s # arg_an_u, 1694s # arg_an_x, 1694s # arg_an_t, 1694s # arg_an_d, 1694s # arg_an_s, 1694s # arg_an_o, 1694s # arg_an_g, 1694s # arg_an_h, 1694s # arg_an_ay, 1694s # arg_an_as, 1694s # arg_an_ao, 1694s # arg_an_aay, 1694s # arg_an_asv)); 1694s # for (l = connections; l != NULL; l = l->next) 1694s # { 1694s # GDBusConnection *connection = l->data; 1694s # g_dbus_connection_emit_signal (connection, 1694s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1694s # signal_variant, NULL); 1694s # } 1694s # g_variant_unref (signal_variant); 1694s # g_list_free_full (connections, g_object_unref); 1694s # } 1694s # 1694s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #else 1694s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1694s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1694s # 1694s # #endif 1694s # static void 1694s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1694s # { 1694s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1694s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1694s # if (skeleton->priv->changed_properties_idle_source != NULL) 1694s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1694s # g_main_context_unref (skeleton->priv->context); 1694s # g_mutex_clear (&skeleton->priv->lock); 1694s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1694s # { 1694s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1694s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1694s # #else 1694s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1694s # #endif 1694s # 1694s # g_mutex_init (&skeleton->priv->lock); 1694s # skeleton->priv->context = g_main_context_ref_thread_default (); 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1694s # { 1694s # GObjectClass *gobject_class; 1694s # GDBusInterfaceSkeletonClass *skeleton_class; 1694s # 1694s # gobject_class = G_OBJECT_CLASS (klass); 1694s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1694s # 1694s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1694s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1694s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1694s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1694s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1694s # 1694s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1694s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1694s # #endif 1694s # } 1694s # 1694s # static void 1694s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1694s # { 1694s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1694s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1694s # } 1694s # 1694s # /** 1694s # * org_project_signaling_iface_skeleton_new: 1694s # * 1694s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1694s # * 1694s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1694s # */ 1694s # OrgProjectSignalingIface * 1694s # org_project_signaling_iface_skeleton_new (void) 1694s # { 1694s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1694s # } 1694s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1694s # tmpdir: /tmp/tmphonz7ffn 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmphonz7ffn/tmpu4k3wsvp.xml: 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphonz7ffn/tmpu4k3wsvp.xml', '--generate-docbook', 'test'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: 1694s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1694s # tmpdir: /tmp/tmpzo0w8cdt 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmpzo0w8cdt/tmpvcrsl77p.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzo0w8cdt/tmpvcrsl77p.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1694s # tmpdir: /tmp/tmpmmwbkgfp 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmpmmwbkgfp/tmpie9x1e46.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmmwbkgfp/tmpie9x1e46.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifndef __STDOUT__ 1694s # #define __STDOUT__ 1694s # 1694s # #include 1694s # 1694s # G_BEGIN_DECLS 1694s # 1694s # 1694s # G_END_DECLS 1694s # 1694s # #endif /* __STDOUT__ */ 1694s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1694s # tmpdir: /tmp/tmpjrj3wk9q 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmpjrj3wk9q/tmp_f0z5ikr.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjrj3wk9q/tmp_f0z5ikr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1694s # tmpdir: /tmp/tmpnamguvmm 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmpnamguvmm/tmpqadn02iz.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnamguvmm/tmpqadn02iz.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifndef __STDOUT__ 1694s # #define __STDOUT__ 1694s # 1694s # #include 1694s # 1694s # G_BEGIN_DECLS 1694s # 1694s # 1694s # G_END_DECLS 1694s # 1694s # #endif /* __STDOUT__ */ 1694s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1694s # tmpdir: /tmp/tmp9dsnf_ee 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmp9dsnf_ee/tmp4xhen8ip.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9dsnf_ee/tmp4xhen8ip.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifndef __STDOUT__ 1694s # #define __STDOUT__ 1694s # 1694s # #include 1694s # 1694s # G_BEGIN_DECLS 1694s # 1694s # 1694s # G_END_DECLS 1694s # 1694s # #endif /* __STDOUT__ */ 1694s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1694s # tmpdir: /tmp/tmp0wfkdoaj 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmp0wfkdoaj/tmpcrv4c3b0.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0wfkdoaj/tmpcrv4c3b0.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1694s # tmpdir: /tmp/tmp_7sgfyk4 1694s # codegen: /usr/bin/gdbus-codegen 1694s # /tmp/tmp_7sgfyk4/tmp6tlcwyz4.xml: 1694s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_7sgfyk4/tmp6tlcwyz4.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1694s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1694s # Output: /* 1694s # * This file is generated by gdbus-codegen, do not modify it. 1694s # * 1694s # * The license of this code is the same as for the D-Bus interface description 1694s # * it was derived from. Note that it links to GLib, so must comply with the 1694s # * LGPL linking clauses. 1694s # */ 1694s # 1694s # #ifndef __STDOUT__ 1694s # #define __STDOUT__ 1694s # 1694s # #include 1694s # 1694s # G_BEGIN_DECLS 1694s # 1694s # 1694s # G_END_DECLS 1694s # 1694s # #endif /* __STDOUT__ */ 1695s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1695s # tmpdir: /tmp/tmp12iez0oj 1695s # codegen: /usr/bin/gdbus-codegen 1695s # /tmp/tmp12iez0oj/tmpivkfp0_t.xml: 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp12iez0oj/tmpivkfp0_t.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1695s # tmpdir: /tmp/tmpogtzqoqy 1695s # codegen: /usr/bin/gdbus-codegen 1695s # /tmp/tmpogtzqoqy/tmpr4d5cybs.xml: 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpogtzqoqy/tmpr4d5cybs.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s ok 35 __main__.TestCodegen.test_help 1695s # tmpdir: /tmp/tmp71gd2njn 1695s # codegen: /usr/bin/gdbus-codegen 1695s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1695s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1695s # [--c-generate-autocleanup {none,objects,all}] 1695s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1695s # [--generate-rst OUTFILES] [--pragma-once] 1695s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1695s # [--glib-min-required VERSION] 1695s # [--glib-max-allowed VERSION] 1695s # [--symbol-decorator SYMBOL_DECORATOR] 1695s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1695s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1695s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1695s # [--output FILE | --output-directory OUTDIR] 1695s # FILE [FILE ...] 1695s # 1695s # D-Bus code and documentation generator 1695s # 1695s # positional arguments: 1695s # FILE D-Bus introspection XML file 1695s # 1695s # options: 1695s # -h, --help show this help message and exit 1695s # --interface-prefix PREFIX 1695s # String to strip from D-Bus interface names for code 1695s # and docs 1695s # --c-namespace NAMESPACE 1695s # The namespace to use for generated C code 1695s # --c-generate-object-manager 1695s # Generate a GDBusObjectManagerClient subclass when 1695s # generating C code 1695s # --c-generate-autocleanup {none,objects,all} 1695s # Generate autocleanup support 1695s # --generate-docbook OUTFILES 1695s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1695s # --generate-md OUTFILES 1695s # Generate Markdown in OUTFILES-org.Project.IFace.md 1695s # --generate-rst OUTFILES 1695s # Generate reStructuredText in OUTFILES- 1695s # org.Project.IFace.rst 1695s # --pragma-once Use "pragma once" as the inclusion guard 1695s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1695s # Add annotation (may be used several times) 1695s # --glib-min-required VERSION 1695s # Minimum version of GLib to be supported by the 1695s # outputted code (default: 2.30) 1695s # --glib-max-allowed VERSION 1695s # Maximum version of GLib to be used by the outputted 1695s # code (default: current GLib version) 1695s # --symbol-decorator SYMBOL_DECORATOR 1695s # Macro used to decorate a symbol in the outputted 1695s # header, possibly to export symbols 1695s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1695s # Additional header required for decorator specified by 1695s # --symbol-decorator 1695s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1695s # Additional define required for decorator specified by 1695s # --symbol-decorator 1695s # --generate-c-code OUTFILES 1695s # Generate C code in OUTFILES.[ch] 1695s # --header Generate C headers 1695s # --body Generate C code 1695s # --interface-info-header 1695s # Generate GDBusInterfaceInfo C header 1695s # --interface-info-body 1695s # Generate GDBusInterfaceInfo C code 1695s # --output FILE Write output into the specified file 1695s # --output-directory OUTDIR 1695s # Location to output generated files 1695s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1695s # tmpdir: /tmp/tmphxkofr52 1695s # codegen: /usr/bin/gdbus-codegen 1695s # /tmp/tmphxkofr52/tmpds2cotvd.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxkofr52/tmpds2cotvd.xml', '--generate-rst', 'test'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: 1695s # /tmp/tmphxkofr52/tmp6pyvx64l.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxkofr52/tmp6pyvx64l.xml', '--generate-md', 'test'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: 1695s # /tmp/tmphxkofr52/tmphb78k1jc.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxkofr52/tmphb78k1jc.xml', '--generate-docbook', 'test'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: 1695s ok 37 __main__.TestCodegen.test_no_args 1695s # tmpdir: /tmp/tmpfeiporuu 1695s # codegen: /usr/bin/gdbus-codegen 1695s # Running: ['/usr/bin/gdbus-codegen'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s ok 38 __main__.TestCodegen.test_reproducible 1695s # tmpdir: /tmp/tmpz9zy_7u6 1695s # codegen: /usr/bin/gdbus-codegen 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9zy_7u6/tmpioq8bymn1.xml', '/tmp/tmpz9zy_7u6/tmpirkeebkk2.xml', '--output', '-', '--header'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for com.acme.Coyote */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1695s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1695s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1695s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1695s # 1695s # struct _ComAcmeCoyote; 1695s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1695s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1695s # 1695s # struct _ComAcmeCoyoteIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # 1695s # 1695s # gboolean (*handle_attack) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # gboolean (*handle_run) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # gboolean (*handle_sleep) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1695s # 1695s # void (*surprised) ( 1695s # ComAcmeCoyote *object); 1695s # 1695s # }; 1695s # 1695s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1695s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void com_acme_coyote_complete_run ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # void com_acme_coyote_complete_sleep ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # void com_acme_coyote_complete_attack ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus signal emissions functions: */ 1695s # void com_acme_coyote_emit_surprised ( 1695s # ComAcmeCoyote *object); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void com_acme_coyote_call_run ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_run_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_run_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_call_sleep ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_sleep_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_sleep_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_call_attack ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_attack_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_attack_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* D-Bus property accessors: */ 1695s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1695s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1695s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1695s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1695s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1695s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1695s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1695s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1695s # 1695s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1695s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1695s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1695s # 1695s # struct _ComAcmeCoyoteProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # ComAcmeCoyoteProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _ComAcmeCoyoteProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void com_acme_coyote_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1695s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1695s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1695s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1695s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1695s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1695s # 1695s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1695s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1695s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1695s # 1695s # struct _ComAcmeCoyoteSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # ComAcmeCoyoteSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _ComAcmeCoyoteSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for org.project.Bar.Frobnicator */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1695s # 1695s # struct _OrgProjectBarFrobnicator; 1695s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1695s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1695s # 1695s # struct _OrgProjectBarFrobnicatorIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # gboolean (*handle_random_method) ( 1695s # OrgProjectBarFrobnicator *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1695s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void org_project_bar_frobnicator_complete_random_method ( 1695s # OrgProjectBarFrobnicator *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void org_project_bar_frobnicator_call_random_method ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1695s # 1695s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1695s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1695s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void org_project_bar_frobnicator_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1695s # 1695s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1695s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1695s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9zy_7u6/tmpirkeebkk2.xml', '/tmp/tmpz9zy_7u6/tmpioq8bymn1.xml', '--output', '-', '--header'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for com.acme.Coyote */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1695s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1695s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1695s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1695s # 1695s # struct _ComAcmeCoyote; 1695s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1695s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1695s # 1695s # struct _ComAcmeCoyoteIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # 1695s # 1695s # gboolean (*handle_attack) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # gboolean (*handle_run) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # gboolean (*handle_sleep) ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1695s # 1695s # void (*surprised) ( 1695s # ComAcmeCoyote *object); 1695s # 1695s # }; 1695s # 1695s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1695s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void com_acme_coyote_complete_run ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # void com_acme_coyote_complete_sleep ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # void com_acme_coyote_complete_attack ( 1695s # ComAcmeCoyote *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus signal emissions functions: */ 1695s # void com_acme_coyote_emit_surprised ( 1695s # ComAcmeCoyote *object); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void com_acme_coyote_call_run ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_run_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_run_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_call_sleep ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_sleep_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_sleep_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_call_attack ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean com_acme_coyote_call_attack_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean com_acme_coyote_call_attack_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* D-Bus property accessors: */ 1695s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1695s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1695s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1695s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1695s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1695s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1695s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1695s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1695s # 1695s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1695s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1695s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1695s # 1695s # struct _ComAcmeCoyoteProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # ComAcmeCoyoteProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _ComAcmeCoyoteProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void com_acme_coyote_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void com_acme_coyote_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1695s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1695s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1695s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1695s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1695s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1695s # 1695s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1695s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1695s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1695s # 1695s # struct _ComAcmeCoyoteSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # ComAcmeCoyoteSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _ComAcmeCoyoteSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for org.project.Bar.Frobnicator */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1695s # 1695s # struct _OrgProjectBarFrobnicator; 1695s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1695s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1695s # 1695s # struct _OrgProjectBarFrobnicatorIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # gboolean (*handle_random_method) ( 1695s # OrgProjectBarFrobnicator *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1695s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void org_project_bar_frobnicator_complete_random_method ( 1695s # OrgProjectBarFrobnicator *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void org_project_bar_frobnicator_call_random_method ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1695s # 1695s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1695s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1695s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void org_project_bar_frobnicator_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1695s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1695s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1695s # 1695s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1695s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1695s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9zy_7u6/tmpioq8bymn1.xml', '/tmp/tmpz9zy_7u6/tmpirkeebkk2.xml', '--output', '-', '--body'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifdef HAVE_CONFIG_H 1695s # # include "config.h" 1695s # #endif 1695s # 1695s # #include 1695s # #ifdef G_OS_UNIX 1695s # # include 1695s # #endif 1695s # 1695s # #ifdef G_ENABLE_DEBUG 1695s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1695s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1695s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1695s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1695s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1695s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1695s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1695s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1695s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1695s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1695s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1695s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1695s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1695s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1695s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1695s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1695s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1695s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1695s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1695s # #else /* !G_ENABLE_DEBUG */ 1695s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1695s # * Do not access GValues directly in your code. Instead, use the 1695s # * g_value_get_*() functions 1695s # */ 1695s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1695s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1695s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1695s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1695s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1695s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1695s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1695s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1695s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1695s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1695s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1695s # #endif /* !G_ENABLE_DEBUG */ 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusArgInfo parent_struct; 1695s # gboolean use_gvariant; 1695s # } _ExtendedGDBusArgInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusMethodInfo parent_struct; 1695s # const gchar *signal_name; 1695s # gboolean pass_fdlist; 1695s # } _ExtendedGDBusMethodInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusSignalInfo parent_struct; 1695s # const gchar *signal_name; 1695s # } _ExtendedGDBusSignalInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusPropertyInfo parent_struct; 1695s # const gchar *hyphen_name; 1695s # guint use_gvariant : 1; 1695s # guint emits_changed_signal : 1; 1695s # } _ExtendedGDBusPropertyInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusInterfaceInfo parent_struct; 1695s # const gchar *hyphen_name; 1695s # } _ExtendedGDBusInterfaceInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # guint prop_id; 1695s # GValue orig_value; /* the value before the change */ 1695s # } ChangedProperty; 1695s # 1695s # static void 1695s # _changed_property_free (ChangedProperty *data) 1695s # { 1695s # g_value_unset (&data->orig_value); 1695s # g_free (data); 1695s # } 1695s # 1695s # static gboolean 1695s # _g_strv_equal0 (gchar **a, gchar **b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # guint n; 1695s # if (a == NULL && b == NULL) 1695s # { 1695s # ret = TRUE; 1695s # goto out; 1695s # } 1695s # if (a == NULL || b == NULL) 1695s # goto out; 1695s # if (g_strv_length (a) != g_strv_length (b)) 1695s # goto out; 1695s # for (n = 0; a[n] != NULL; n++) 1695s # if (g_strcmp0 (a[n], b[n]) != 0) 1695s # goto out; 1695s # ret = TRUE; 1695s # out: 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _g_variant_equal0 (GVariant *a, GVariant *b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # if (a == NULL && b == NULL) 1695s # { 1695s # ret = TRUE; 1695s # goto out; 1695s # } 1695s # if (a == NULL || b == NULL) 1695s # goto out; 1695s # ret = g_variant_equal (a, b); 1695s # out: 1695s # return ret; 1695s # } 1695s # 1695s # G_GNUC_UNUSED static gboolean 1695s # _g_value_equal (const GValue *a, const GValue *b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1695s # switch (G_VALUE_TYPE (a)) 1695s # { 1695s # case G_TYPE_BOOLEAN: 1695s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1695s # break; 1695s # case G_TYPE_UCHAR: 1695s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1695s # break; 1695s # case G_TYPE_INT: 1695s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1695s # break; 1695s # case G_TYPE_UINT: 1695s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1695s # break; 1695s # case G_TYPE_INT64: 1695s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1695s # break; 1695s # case G_TYPE_UINT64: 1695s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1695s # break; 1695s # case G_TYPE_DOUBLE: 1695s # { 1695s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1695s # gdouble da = g_value_get_double (a); 1695s # gdouble db = g_value_get_double (b); 1695s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1695s # } 1695s # break; 1695s # case G_TYPE_STRING: 1695s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1695s # break; 1695s # case G_TYPE_VARIANT: 1695s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1695s # break; 1695s # default: 1695s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1695s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1695s # else 1695s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1695s # break; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static void 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint G_GNUC_UNUSED, 1695s # void *marshal_data) 1695s # { 1695s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1695s # (void *data1, 1695s # GDBusMethodInvocation *arg_method_invocation, 1695s # void *data2); 1695s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1695s # GCClosure *cc = (GCClosure*) closure; 1695s # void *data1, *data2; 1695s # gboolean v_return; 1695s # 1695s # g_return_if_fail (return_value != NULL); 1695s # g_return_if_fail (n_param_values == 2); 1695s # 1695s # if (G_CCLOSURE_SWAP_DATA (closure)) 1695s # { 1695s # data1 = closure->data; 1695s # data2 = g_value_peek_pointer (param_values + 0); 1695s # } 1695s # else 1695s # { 1695s # data1 = g_value_peek_pointer (param_values + 0); 1695s # data2 = closure->data; 1695s # } 1695s # 1695s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1695s # (marshal_data ? marshal_data : cc->callback); 1695s # 1695s # v_return = 1695s # callback (data1, 1695s # g_marshal_value_peek_object (param_values + 1), 1695s # data2); 1695s # 1695s # g_value_set_boolean (return_value, v_return); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ 1695s # * Code for interface com.acme.Coyote 1695s # * ------------------------------------------------------------------------ 1695s # */ 1695s # 1695s # /** 1695s # * SECTION:ComAcmeCoyote 1695s # * @title: ComAcmeCoyote 1695s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1695s # * 1695s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1695s # */ 1695s # 1695s # enum 1695s # { 1695s # _COM_ACME_COYOTE_SURPRISED, 1695s # }; 1695s # 1695s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1695s # 1695s # /* ---- Introspection data for com.acme.Coyote ---- */ 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Run", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-run", 1695s # FALSE 1695s # }; 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Sleep", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-sleep", 1695s # FALSE 1695s # }; 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Attack", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-attack", 1695s # FALSE 1695s # }; 1695s # 1695s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_method_info_run.parent_struct, 1695s # &_com_acme_coyote_method_info_sleep.parent_struct, 1695s # &_com_acme_coyote_method_info_attack.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Surprised", 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "surprised" 1695s # }; 1695s # 1695s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Mood", 1695s # (gchar *) "s", 1695s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1695s # NULL 1695s # }, 1695s # "mood", 1695s # FALSE, 1695s # TRUE 1695s # }; 1695s # 1695s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_property_info_mood.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "com.acme.Coyote", 1695s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1695s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1695s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1695s # NULL 1695s # }, 1695s # "com-acme-coyote", 1695s # }; 1695s # 1695s # 1695s # /** 1695s # * com_acme_coyote_interface_info: 1695s # * 1695s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1695s # * 1695s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1695s # */ 1695s # GDBusInterfaceInfo * 1695s # com_acme_coyote_interface_info (void) 1695s # { 1695s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_override_properties: 1695s # * @klass: The class structure for a #GObject derived class. 1695s # * @property_id_begin: The property id to assign to the first overridden property. 1695s # * 1695s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1695s # * The properties are overridden in the order they are defined. 1695s # * 1695s # * Returns: The last property id. 1695s # */ 1695s # guint 1695s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1695s # { 1695s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1695s # return property_id_begin - 1; 1695s # } 1695s # 1695s # 1695s # inline static void 1695s # com_acme_coyote_signal_marshal_surprised ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # g_cclosure_marshal_VOID__VOID (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_run ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_sleep ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_attack ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # 1695s # /** 1695s # * ComAcmeCoyote: 1695s # * 1695s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteIface: 1695s # * @parent_iface: The parent interface. 1695s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1695s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1695s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1695s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1695s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1695s # * 1695s # * Virtual table for the D-Bus interface com.acme.Coyote. 1695s # */ 1695s # 1695s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1695s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1695s # 1695s # static void 1695s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # /* GObject signals for incoming D-Bus method calls: */ 1695s # /** 1695s # * ComAcmeCoyote::handle-run: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-run", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_run, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /** 1695s # * ComAcmeCoyote::handle-sleep: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-sleep", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_sleep, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /** 1695s # * ComAcmeCoyote::handle-attack: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-attack", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_attack, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /* GObject signals for received D-Bus signals: */ 1695s # /** 1695s # * ComAcmeCoyote::surprised: 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1695s # * 1695s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1695s # */ 1695s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1695s # g_signal_new ("surprised", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1695s # NULL, 1695s # NULL, 1695s # com_acme_coyote_signal_marshal_surprised, 1695s # G_TYPE_NONE, 1695s # 0); 1695s # 1695s # /* GObject properties for D-Bus properties: */ 1695s # /** 1695s # * ComAcmeCoyote:mood: 1695s # * 1695s # * Represents the D-Bus property "Mood". 1695s # * 1695s # * 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. 1695s # */ 1695s # g_object_interface_install_property (iface, 1695s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_get_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Gets the value of the "Mood" D-Bus property. 1695s # * 1695s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # const gchar * 1695s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1695s # 1695s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_dup_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Gets a copy of the "Mood" D-Bus property. 1695s # * 1695s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1695s # * 1695s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1695s # */ 1695s # gchar * 1695s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1695s # { 1695s # gchar *value; 1695s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1695s # return value; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_set_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * @value: The value to set. 1695s # * 1695s # * Sets the "Mood" D-Bus property to @value. 1695s # * 1695s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1695s # */ 1695s # void 1695s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1695s # { 1695s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_emit_surprised: 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Emits the "Surprised" D-Bus signal. 1695s # */ 1695s # void 1695s # com_acme_coyote_emit_surprised ( 1695s # ComAcmeCoyote *object) 1695s # { 1695s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_run ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Run", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_run(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_run_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_run_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Run", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_sleep ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Sleep", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_sleep_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_sleep_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Sleep", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_attack ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Attack", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_attack(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_attack_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_attack_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Attack", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_run: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_run ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_sleep: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_sleep ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_attack: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_attack ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteProxy: 1695s # * 1695s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteProxyClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #ComAcmeCoyoteProxy. 1695s # */ 1695s # 1695s # struct _ComAcmeCoyoteProxyPrivate 1695s # { 1695s # GData *qdata; 1695s # }; 1695s # 1695s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1695s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # com_acme_coyote_proxy_finalize (GObject *object) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1695s # g_datalist_clear (&proxy->priv->qdata); 1695s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_get_property (GObject *object, 1695s # guint prop_id, 1695s # GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *variant; 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1695s # if (info->use_gvariant) 1695s # { 1695s # g_value_set_variant (value, variant); 1695s # } 1695s # else 1695s # { 1695s # if (variant != NULL) 1695s # g_dbus_gvariant_to_gvalue (variant, value); 1695s # } 1695s # if (variant != NULL) 1695s # g_variant_unref (variant); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1695s # GAsyncResult *res, 1695s # gpointer user_data) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info = user_data; 1695s # GError *error; 1695s # GVariant *_ret; 1695s # error = NULL; 1695s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1695s # if (!_ret) 1695s # { 1695s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1695s # info->parent_struct.name, 1695s # error->message, g_quark_to_string (error->domain), error->code); 1695s # g_error_free (error); 1695s # } 1695s # else 1695s # { 1695s # g_variant_unref (_ret); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_set_property (GObject *object, 1695s # guint prop_id, 1695s # const GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *variant; 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1695s # "org.freedesktop.DBus.Properties.Set", 1695s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1695s # g_variant_unref (variant); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1695s # const gchar *sender_name G_GNUC_UNUSED, 1695s # const gchar *signal_name, 1695s # GVariant *parameters) 1695s # { 1695s # _ExtendedGDBusSignalInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # gsize n; 1695s # guint signal_id; 1695s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1695s # if (info == NULL) 1695s # return; 1695s # num_params = g_variant_n_children (parameters); 1695s # paramv = g_new0 (GValue, num_params + 1); 1695s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1695s # g_value_set_object (¶mv[0], proxy); 1695s # g_variant_iter_init (&iter, parameters); 1695s # n = 1; 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1695s # g_signal_emitv (paramv, signal_id, 0, NULL); 1695s # for (n = 0; n < num_params + 1; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1695s # GVariant *changed_properties, 1695s # const gchar *const *invalidated_properties) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1695s # guint n; 1695s # const gchar *key; 1695s # GVariantIter *iter; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # g_variant_get (changed_properties, "a{sv}", &iter); 1695s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1695s # g_datalist_remove_data (&proxy->priv->qdata, key); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # g_variant_iter_free (iter); 1695s # for (n = 0; invalidated_properties[n] != NULL; n++) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1695s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # } 1695s # 1695s # static const gchar * 1695s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1695s # GVariant *variant; 1695s # const gchar *value = NULL; 1695s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1695s # if (variant != NULL) 1695s # { 1695s # value = g_variant_get_string (variant, NULL); 1695s # g_variant_unref (variant); 1695s # } 1695s # return value; 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1695s # #else 1695s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1695s # #endif 1695s # 1695s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusProxyClass *proxy_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1695s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1695s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1695s # 1695s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1695s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1695s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1695s # 1695s # com_acme_coyote_override_properties (gobject_class, 1); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # com_acme_coyote_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_sync: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # com_acme_coyote_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus_sync: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteSkeleton: 1695s # * 1695s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteSkeletonClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #ComAcmeCoyoteSkeleton. 1695s # */ 1695s # 1695s # struct _ComAcmeCoyoteSkeletonPrivate 1695s # { 1695s # GValue *properties; 1695s # GList *changed_properties; 1695s # GSource *changed_properties_idle_source; 1695s # GMainContext *context; 1695s # GMutex lock; 1695s # }; 1695s # 1695s # static void 1695s # _com_acme_coyote_skeleton_handle_method_call ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name, 1695s # const gchar *method_name, 1695s # GVariant *parameters, 1695s # GDBusMethodInvocation *invocation, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # _ExtendedGDBusMethodInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # guint num_extra; 1695s # gsize n; 1695s # guint signal_id; 1695s # GValue return_value = G_VALUE_INIT; 1695s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1695s # g_assert (info != NULL); 1695s # num_params = g_variant_n_children (parameters); 1695s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1695s # n = 0; 1695s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1695s # g_value_set_object (¶mv[n++], skeleton); 1695s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1695s # g_value_set_object (¶mv[n++], invocation); 1695s # if (info->pass_fdlist) 1695s # { 1695s # #ifdef G_OS_UNIX 1695s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1695s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1695s # #else 1695s # g_assert_not_reached (); 1695s # #endif 1695s # } 1695s # g_variant_iter_init (&iter, parameters); 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1695s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1695s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1695s # if (!g_value_get_boolean (&return_value)) 1695s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1695s # g_value_unset (&return_value); 1695s # for (n = 0; n < num_params + num_extra; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static GVariant * 1695s # _com_acme_coyote_skeleton_handle_get_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *ret; 1695s # ret = NULL; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # g_value_init (&value, pspec->value_type); 1695s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_value_unset (&value); 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _com_acme_coyote_skeleton_handle_set_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GVariant *variant, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # gboolean ret; 1695s # ret = FALSE; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # if (info->use_gvariant) 1695s # g_value_set_variant (&value, variant); 1695s # else 1695s # g_dbus_gvariant_to_gvalue (variant, &value); 1695s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # g_value_unset (&value); 1695s # ret = TRUE; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1695s # { 1695s # _com_acme_coyote_skeleton_handle_method_call, 1695s # _com_acme_coyote_skeleton_handle_get_property, 1695s # _com_acme_coyote_skeleton_handle_set_property, 1695s # {NULL} 1695s # }; 1695s # 1695s # static GDBusInterfaceInfo * 1695s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return com_acme_coyote_interface_info (); 1695s # } 1695s # 1695s # static GDBusInterfaceVTable * 1695s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1695s # } 1695s # 1695s # static GVariant * 1695s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1695s # 1695s # GVariantBuilder builder; 1695s # guint n; 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1695s # goto out; 1695s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1695s # { 1695s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1695s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1695s # { 1695s # GVariant *value; 1695s # 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); 1695s # if (value != NULL) 1695s # { 1695s # g_variant_take_ref (value); 1695s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1695s # g_variant_unref (value); 1695s # } 1695s # } 1695s # } 1695s # out: 1695s # return g_variant_builder_end (&builder); 1695s # } 1695s # 1695s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1695s # gboolean emit_changed = FALSE; 1695s # 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # { 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # skeleton->priv->changed_properties_idle_source = NULL; 1695s # emit_changed = TRUE; 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # 1695s # if (emit_changed) 1695s # _com_acme_coyote_emit_changed (skeleton); 1695s # } 1695s # 1695s # static void 1695s # _com_acme_coyote_on_signal_surprised ( 1695s # ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # 1695s # GList *connections, *l; 1695s # GVariant *signal_variant; 1695s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1695s # 1695s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1695s # for (l = connections; l != NULL; l = l->next) 1695s # { 1695s # GDBusConnection *connection = l->data; 1695s # g_dbus_connection_emit_signal (connection, 1695s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1695s # signal_variant, NULL); 1695s # } 1695s # g_variant_unref (signal_variant); 1695s # g_list_free_full (connections, g_object_unref); 1695s # } 1695s # 1695s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # com_acme_coyote_skeleton_finalize (GObject *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # guint n; 1695s # for (n = 0; n < 1; n++) 1695s # g_value_unset (&skeleton->priv->properties[n]); 1695s # g_free (skeleton->priv->properties); 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # g_main_context_unref (skeleton->priv->context); 1695s # g_mutex_clear (&skeleton->priv->lock); 1695s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_get_property (GObject *object, 1695s # guint prop_id, 1695s # GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # } 1695s # 1695s # static gboolean 1695s # _com_acme_coyote_emit_changed (gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GList *l; 1695s # GVariantBuilder builder; 1695s # GVariantBuilder invalidated_builder; 1695s # guint num_changes; 1695s # 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1695s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1695s # { 1695s # ChangedProperty *cp = l->data; 1695s # GVariant *variant; 1695s # const GValue *cur_value; 1695s # 1695s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1695s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1695s # { 1695s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1695s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1695s # g_variant_unref (variant); 1695s # num_changes++; 1695s # } 1695s # } 1695s # if (num_changes > 0) 1695s # { 1695s # GList *connections, *ll; 1695s # GVariant *signal_variant; 1695s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1695s # &builder, &invalidated_builder)); 1695s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1695s # for (ll = connections; ll != NULL; ll = ll->next) 1695s # { 1695s # GDBusConnection *connection = ll->data; 1695s # 1695s # g_dbus_connection_emit_signal (connection, 1695s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1695s # "org.freedesktop.DBus.Properties", 1695s # "PropertiesChanged", 1695s # signal_variant, 1695s # NULL); 1695s # } 1695s # g_variant_unref (signal_variant); 1695s # g_list_free_full (connections, g_object_unref); 1695s # } 1695s # else 1695s # { 1695s # g_variant_builder_clear (&builder); 1695s # g_variant_builder_clear (&invalidated_builder); 1695s # } 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # skeleton->priv->changed_properties = NULL; 1695s # skeleton->priv->changed_properties_idle_source = NULL; 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # return FALSE; 1695s # } 1695s # 1695s # static void 1695s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1695s # { 1695s # ChangedProperty *cp; 1695s # GList *l; 1695s # cp = NULL; 1695s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1695s # { 1695s # ChangedProperty *i_cp = l->data; 1695s # if (i_cp->info == info) 1695s # { 1695s # cp = i_cp; 1695s # break; 1695s # } 1695s # } 1695s # if (cp == NULL) 1695s # { 1695s # cp = g_new0 (ChangedProperty, 1); 1695s # cp->prop_id = prop_id; 1695s # cp->info = info; 1695s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1695s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1695s # g_value_copy (orig_value, &cp->orig_value); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_notify (GObject *object, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # if (skeleton->priv->changed_properties != NULL && 1695s # skeleton->priv->changed_properties_idle_source == NULL) 1695s # { 1695s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1695s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1695s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1695s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1695s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1695s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_set_property (GObject *object, 1695s # guint prop_id, 1695s # const GValue *value, 1695s # GParamSpec *pspec) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_object_freeze_notify (object); 1695s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1695s # { 1695s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1695s # info->emits_changed_signal) 1695s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1695s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1695s # g_object_notify_by_pspec (object, pspec); 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # g_object_thaw_notify (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1695s # #else 1695s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1695s # #endif 1695s # 1695s # g_mutex_init (&skeleton->priv->lock); 1695s # skeleton->priv->context = g_main_context_ref_thread_default (); 1695s # skeleton->priv->properties = g_new0 (GValue, 1); 1695s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1695s # } 1695s # 1695s # static const gchar * 1695s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # const gchar *value; 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # return value; 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusInterfaceSkeletonClass *skeleton_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1695s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1695s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1695s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1695s # 1695s # 1695s # com_acme_coyote_override_properties (gobject_class, 1); 1695s # 1695s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1695s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1695s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1695s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1695s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1695s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_skeleton_new: 1695s # * 1695s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_skeleton_new (void) 1695s # { 1695s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ 1695s # * Code for interface org.project.Bar.Frobnicator 1695s # * ------------------------------------------------------------------------ 1695s # */ 1695s # 1695s # /** 1695s # * SECTION:OrgProjectBarFrobnicator 1695s # * @title: OrgProjectBarFrobnicator 1695s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1695s # * 1695s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1695s # */ 1695s # 1695s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1695s # 1695s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "RandomMethod", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-random-method", 1695s # FALSE 1695s # }; 1695s # 1695s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1695s # { 1695s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "org.project.Bar.Frobnicator", 1695s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "org-project-bar-frobnicator", 1695s # }; 1695s # 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_interface_info: 1695s # * 1695s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1695s # * 1695s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1695s # */ 1695s # GDBusInterfaceInfo * 1695s # org_project_bar_frobnicator_interface_info (void) 1695s # { 1695s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_override_properties: 1695s # * @klass: The class structure for a #GObject derived class. 1695s # * @property_id_begin: The property id to assign to the first overridden property. 1695s # * 1695s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1695s # * The properties are overridden in the order they are defined. 1695s # * 1695s # * Returns: The last property id. 1695s # */ 1695s # guint 1695s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1695s # { 1695s # return property_id_begin - 1; 1695s # } 1695s # 1695s # 1695s # inline static void 1695s # org_project_bar_frobnicator_method_marshal_random_method ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicator: 1695s # * 1695s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorIface: 1695s # * @parent_iface: The parent interface. 1695s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1695s # * 1695s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1695s # */ 1695s # 1695s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1695s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1695s # { 1695s # /* GObject signals for incoming D-Bus method calls: */ 1695s # /** 1695s # * OrgProjectBarFrobnicator::handle-random-method: 1695s # * @object: A #OrgProjectBarFrobnicator. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-random-method", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # org_project_bar_frobnicator_method_marshal_random_method, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_call_random_method ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "RandomMethod", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method_finish: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # org_project_bar_frobnicator_call_random_method_finish ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method_sync: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # org_project_bar_frobnicator_call_random_method_sync ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "RandomMethod", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_complete_random_method: 1695s # * @object: A #OrgProjectBarFrobnicator. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_complete_random_method ( 1695s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorProxy: 1695s # * 1695s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorProxyClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1695s # */ 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxyPrivate 1695s # { 1695s # GData *qdata; 1695s # }; 1695s # 1695s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1695s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1695s # { 1695s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1695s # g_datalist_clear (&proxy->priv->qdata); 1695s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1695s # guint prop_id G_GNUC_UNUSED, 1695s # GValue *value G_GNUC_UNUSED, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1695s # guint prop_id G_GNUC_UNUSED, 1695s # const GValue *value G_GNUC_UNUSED, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1695s # const gchar *sender_name G_GNUC_UNUSED, 1695s # const gchar *signal_name, 1695s # GVariant *parameters) 1695s # { 1695s # _ExtendedGDBusSignalInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # gsize n; 1695s # guint signal_id; 1695s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1695s # if (info == NULL) 1695s # return; 1695s # num_params = g_variant_n_children (parameters); 1695s # paramv = g_new0 (GValue, num_params + 1); 1695s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_set_object (¶mv[0], proxy); 1695s # g_variant_iter_init (&iter, parameters); 1695s # n = 1; 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_signal_emitv (paramv, signal_id, 0, NULL); 1695s # for (n = 0; n < num_params + 1; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1695s # GVariant *changed_properties, 1695s # const gchar *const *invalidated_properties) 1695s # { 1695s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1695s # guint n; 1695s # const gchar *key; 1695s # GVariantIter *iter; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # g_variant_get (changed_properties, "a{sv}", &iter); 1695s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1695s # g_datalist_remove_data (&proxy->priv->qdata, key); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # g_variant_iter_free (iter); 1695s # for (n = 0; invalidated_properties[n] != NULL; n++) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1695s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1695s # #else 1695s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1695s # #endif 1695s # 1695s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusProxyClass *proxy_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1695s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1695s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1695s # 1695s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1695s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1695s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_sync: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorSkeleton: 1695s # * 1695s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorSkeletonClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1695s # */ 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1695s # { 1695s # GValue *properties; 1695s # GList *changed_properties; 1695s # GSource *changed_properties_idle_source; 1695s # GMainContext *context; 1695s # GMutex lock; 1695s # }; 1695s # 1695s # static void 1695s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name, 1695s # const gchar *method_name, 1695s # GVariant *parameters, 1695s # GDBusMethodInvocation *invocation, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # _ExtendedGDBusMethodInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # guint num_extra; 1695s # gsize n; 1695s # guint signal_id; 1695s # GValue return_value = G_VALUE_INIT; 1695s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1695s # g_assert (info != NULL); 1695s # num_params = g_variant_n_children (parameters); 1695s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1695s # n = 0; 1695s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_set_object (¶mv[n++], skeleton); 1695s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1695s # g_value_set_object (¶mv[n++], invocation); 1695s # if (info->pass_fdlist) 1695s # { 1695s # #ifdef G_OS_UNIX 1695s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1695s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1695s # #else 1695s # g_assert_not_reached (); 1695s # #endif 1695s # } 1695s # g_variant_iter_init (&iter, parameters); 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1695s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1695s # if (!g_value_get_boolean (&return_value)) 1695s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1695s # g_value_unset (&return_value); 1695s # for (n = 0; n < num_params + num_extra; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static GVariant * 1695s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *ret; 1695s # ret = NULL; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # g_value_init (&value, pspec->value_type); 1695s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_value_unset (&value); 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GVariant *variant, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # gboolean ret; 1695s # ret = FALSE; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # if (info->use_gvariant) 1695s # g_value_set_variant (&value, variant); 1695s # else 1695s # g_dbus_gvariant_to_gvalue (variant, &value); 1695s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # g_value_unset (&value); 1695s # ret = TRUE; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1695s # { 1695s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1695s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1695s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1695s # {NULL} 1695s # }; 1695s # 1695s # static GDBusInterfaceInfo * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return org_project_bar_frobnicator_interface_info (); 1695s # } 1695s # 1695s # static GDBusInterfaceVTable * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1695s # } 1695s # 1695s # static GVariant * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1695s # 1695s # GVariantBuilder builder; 1695s # guint n; 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1695s # goto out; 1695s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1695s # { 1695s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1695s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1695s # { 1695s # GVariant *value; 1695s # 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); 1695s # if (value != NULL) 1695s # { 1695s # g_variant_take_ref (value); 1695s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1695s # g_variant_unref (value); 1695s # } 1695s # } 1695s # } 1695s # out: 1695s # return g_variant_builder_end (&builder); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # g_main_context_unref (skeleton->priv->context); 1695s # g_mutex_clear (&skeleton->priv->lock); 1695s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1695s # #else 1695s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1695s # #endif 1695s # 1695s # g_mutex_init (&skeleton->priv->lock); 1695s # skeleton->priv->context = g_main_context_ref_thread_default (); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusInterfaceSkeletonClass *skeleton_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1695s # 1695s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1695s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1695s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1695s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1695s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_skeleton_new: 1695s # * 1695s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_skeleton_new (void) 1695s # { 1695s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1695s # } 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9zy_7u6/tmpirkeebkk2.xml', '/tmp/tmpz9zy_7u6/tmpioq8bymn1.xml', '--output', '-', '--body'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifdef HAVE_CONFIG_H 1695s # # include "config.h" 1695s # #endif 1695s # 1695s # #include 1695s # #ifdef G_OS_UNIX 1695s # # include 1695s # #endif 1695s # 1695s # #ifdef G_ENABLE_DEBUG 1695s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1695s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1695s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1695s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1695s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1695s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1695s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1695s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1695s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1695s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1695s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1695s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1695s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1695s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1695s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1695s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1695s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1695s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1695s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1695s # #else /* !G_ENABLE_DEBUG */ 1695s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1695s # * Do not access GValues directly in your code. Instead, use the 1695s # * g_value_get_*() functions 1695s # */ 1695s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1695s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1695s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1695s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1695s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1695s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1695s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1695s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1695s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1695s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1695s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1695s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1695s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1695s # #endif /* !G_ENABLE_DEBUG */ 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusArgInfo parent_struct; 1695s # gboolean use_gvariant; 1695s # } _ExtendedGDBusArgInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusMethodInfo parent_struct; 1695s # const gchar *signal_name; 1695s # gboolean pass_fdlist; 1695s # } _ExtendedGDBusMethodInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusSignalInfo parent_struct; 1695s # const gchar *signal_name; 1695s # } _ExtendedGDBusSignalInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusPropertyInfo parent_struct; 1695s # const gchar *hyphen_name; 1695s # guint use_gvariant : 1; 1695s # guint emits_changed_signal : 1; 1695s # } _ExtendedGDBusPropertyInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # GDBusInterfaceInfo parent_struct; 1695s # const gchar *hyphen_name; 1695s # } _ExtendedGDBusInterfaceInfo; 1695s # 1695s # typedef struct 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # guint prop_id; 1695s # GValue orig_value; /* the value before the change */ 1695s # } ChangedProperty; 1695s # 1695s # static void 1695s # _changed_property_free (ChangedProperty *data) 1695s # { 1695s # g_value_unset (&data->orig_value); 1695s # g_free (data); 1695s # } 1695s # 1695s # static gboolean 1695s # _g_strv_equal0 (gchar **a, gchar **b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # guint n; 1695s # if (a == NULL && b == NULL) 1695s # { 1695s # ret = TRUE; 1695s # goto out; 1695s # } 1695s # if (a == NULL || b == NULL) 1695s # goto out; 1695s # if (g_strv_length (a) != g_strv_length (b)) 1695s # goto out; 1695s # for (n = 0; a[n] != NULL; n++) 1695s # if (g_strcmp0 (a[n], b[n]) != 0) 1695s # goto out; 1695s # ret = TRUE; 1695s # out: 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _g_variant_equal0 (GVariant *a, GVariant *b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # if (a == NULL && b == NULL) 1695s # { 1695s # ret = TRUE; 1695s # goto out; 1695s # } 1695s # if (a == NULL || b == NULL) 1695s # goto out; 1695s # ret = g_variant_equal (a, b); 1695s # out: 1695s # return ret; 1695s # } 1695s # 1695s # G_GNUC_UNUSED static gboolean 1695s # _g_value_equal (const GValue *a, const GValue *b) 1695s # { 1695s # gboolean ret = FALSE; 1695s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1695s # switch (G_VALUE_TYPE (a)) 1695s # { 1695s # case G_TYPE_BOOLEAN: 1695s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1695s # break; 1695s # case G_TYPE_UCHAR: 1695s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1695s # break; 1695s # case G_TYPE_INT: 1695s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1695s # break; 1695s # case G_TYPE_UINT: 1695s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1695s # break; 1695s # case G_TYPE_INT64: 1695s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1695s # break; 1695s # case G_TYPE_UINT64: 1695s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1695s # break; 1695s # case G_TYPE_DOUBLE: 1695s # { 1695s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1695s # gdouble da = g_value_get_double (a); 1695s # gdouble db = g_value_get_double (b); 1695s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1695s # } 1695s # break; 1695s # case G_TYPE_STRING: 1695s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1695s # break; 1695s # case G_TYPE_VARIANT: 1695s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1695s # break; 1695s # default: 1695s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1695s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1695s # else 1695s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1695s # break; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static void 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint G_GNUC_UNUSED, 1695s # void *marshal_data) 1695s # { 1695s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1695s # (void *data1, 1695s # GDBusMethodInvocation *arg_method_invocation, 1695s # void *data2); 1695s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1695s # GCClosure *cc = (GCClosure*) closure; 1695s # void *data1, *data2; 1695s # gboolean v_return; 1695s # 1695s # g_return_if_fail (return_value != NULL); 1695s # g_return_if_fail (n_param_values == 2); 1695s # 1695s # if (G_CCLOSURE_SWAP_DATA (closure)) 1695s # { 1695s # data1 = closure->data; 1695s # data2 = g_value_peek_pointer (param_values + 0); 1695s # } 1695s # else 1695s # { 1695s # data1 = g_value_peek_pointer (param_values + 0); 1695s # data2 = closure->data; 1695s # } 1695s # 1695s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1695s # (marshal_data ? marshal_data : cc->callback); 1695s # 1695s # v_return = 1695s # callback (data1, 1695s # g_marshal_value_peek_object (param_values + 1), 1695s # data2); 1695s # 1695s # g_value_set_boolean (return_value, v_return); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ 1695s # * Code for interface com.acme.Coyote 1695s # * ------------------------------------------------------------------------ 1695s # */ 1695s # 1695s # /** 1695s # * SECTION:ComAcmeCoyote 1695s # * @title: ComAcmeCoyote 1695s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1695s # * 1695s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1695s # */ 1695s # 1695s # enum 1695s # { 1695s # _COM_ACME_COYOTE_SURPRISED, 1695s # }; 1695s # 1695s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1695s # 1695s # /* ---- Introspection data for com.acme.Coyote ---- */ 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Run", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-run", 1695s # FALSE 1695s # }; 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Sleep", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-sleep", 1695s # FALSE 1695s # }; 1695s # 1695s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Attack", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-attack", 1695s # FALSE 1695s # }; 1695s # 1695s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_method_info_run.parent_struct, 1695s # &_com_acme_coyote_method_info_sleep.parent_struct, 1695s # &_com_acme_coyote_method_info_attack.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Surprised", 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "surprised" 1695s # }; 1695s # 1695s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "Mood", 1695s # (gchar *) "s", 1695s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1695s # NULL 1695s # }, 1695s # "mood", 1695s # FALSE, 1695s # TRUE 1695s # }; 1695s # 1695s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1695s # { 1695s # &_com_acme_coyote_property_info_mood.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "com.acme.Coyote", 1695s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1695s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1695s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1695s # NULL 1695s # }, 1695s # "com-acme-coyote", 1695s # }; 1695s # 1695s # 1695s # /** 1695s # * com_acme_coyote_interface_info: 1695s # * 1695s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1695s # * 1695s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1695s # */ 1695s # GDBusInterfaceInfo * 1695s # com_acme_coyote_interface_info (void) 1695s # { 1695s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_override_properties: 1695s # * @klass: The class structure for a #GObject derived class. 1695s # * @property_id_begin: The property id to assign to the first overridden property. 1695s # * 1695s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1695s # * The properties are overridden in the order they are defined. 1695s # * 1695s # * Returns: The last property id. 1695s # */ 1695s # guint 1695s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1695s # { 1695s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1695s # return property_id_begin - 1; 1695s # } 1695s # 1695s # 1695s # inline static void 1695s # com_acme_coyote_signal_marshal_surprised ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # g_cclosure_marshal_VOID__VOID (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_run ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_sleep ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # inline static void 1695s # com_acme_coyote_method_marshal_attack ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # 1695s # /** 1695s # * ComAcmeCoyote: 1695s # * 1695s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteIface: 1695s # * @parent_iface: The parent interface. 1695s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1695s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1695s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1695s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1695s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1695s # * 1695s # * Virtual table for the D-Bus interface com.acme.Coyote. 1695s # */ 1695s # 1695s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1695s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1695s # 1695s # static void 1695s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # /* GObject signals for incoming D-Bus method calls: */ 1695s # /** 1695s # * ComAcmeCoyote::handle-run: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-run", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_run, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /** 1695s # * ComAcmeCoyote::handle-sleep: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-sleep", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_sleep, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /** 1695s # * ComAcmeCoyote::handle-attack: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-attack", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # com_acme_coyote_method_marshal_attack, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # /* GObject signals for received D-Bus signals: */ 1695s # /** 1695s # * ComAcmeCoyote::surprised: 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1695s # * 1695s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1695s # */ 1695s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1695s # g_signal_new ("surprised", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1695s # NULL, 1695s # NULL, 1695s # com_acme_coyote_signal_marshal_surprised, 1695s # G_TYPE_NONE, 1695s # 0); 1695s # 1695s # /* GObject properties for D-Bus properties: */ 1695s # /** 1695s # * ComAcmeCoyote:mood: 1695s # * 1695s # * Represents the D-Bus property "Mood". 1695s # * 1695s # * 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. 1695s # */ 1695s # g_object_interface_install_property (iface, 1695s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_get_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Gets the value of the "Mood" D-Bus property. 1695s # * 1695s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # const gchar * 1695s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1695s # 1695s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_dup_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Gets a copy of the "Mood" D-Bus property. 1695s # * 1695s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1695s # * 1695s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1695s # */ 1695s # gchar * 1695s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1695s # { 1695s # gchar *value; 1695s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1695s # return value; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_set_mood: (skip) 1695s # * @object: A #ComAcmeCoyote. 1695s # * @value: The value to set. 1695s # * 1695s # * Sets the "Mood" D-Bus property to @value. 1695s # * 1695s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1695s # */ 1695s # void 1695s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1695s # { 1695s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_emit_surprised: 1695s # * @object: A #ComAcmeCoyote. 1695s # * 1695s # * Emits the "Surprised" D-Bus signal. 1695s # */ 1695s # void 1695s # com_acme_coyote_emit_surprised ( 1695s # ComAcmeCoyote *object) 1695s # { 1695s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_run ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Run", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_run(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_run_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_run_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_run_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Run", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_sleep ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Sleep", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_sleep_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_sleep_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_sleep_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Sleep", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # com_acme_coyote_call_attack ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "Attack", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack_finish: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_call_attack(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_attack_finish ( 1695s # ComAcmeCoyote *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_call_attack_sync: 1695s # * @proxy: A #ComAcmeCoyoteProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # com_acme_coyote_call_attack_sync ( 1695s # ComAcmeCoyote *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "Attack", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_run: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_run ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_sleep: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_sleep ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_complete_attack: 1695s # * @object: A #ComAcmeCoyote. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # com_acme_coyote_complete_attack ( 1695s # ComAcmeCoyote *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteProxy: 1695s # * 1695s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteProxyClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #ComAcmeCoyoteProxy. 1695s # */ 1695s # 1695s # struct _ComAcmeCoyoteProxyPrivate 1695s # { 1695s # GData *qdata; 1695s # }; 1695s # 1695s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1695s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # com_acme_coyote_proxy_finalize (GObject *object) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1695s # g_datalist_clear (&proxy->priv->qdata); 1695s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_get_property (GObject *object, 1695s # guint prop_id, 1695s # GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *variant; 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1695s # if (info->use_gvariant) 1695s # { 1695s # g_value_set_variant (value, variant); 1695s # } 1695s # else 1695s # { 1695s # if (variant != NULL) 1695s # g_dbus_gvariant_to_gvalue (variant, value); 1695s # } 1695s # if (variant != NULL) 1695s # g_variant_unref (variant); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1695s # GAsyncResult *res, 1695s # gpointer user_data) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info = user_data; 1695s # GError *error; 1695s # GVariant *_ret; 1695s # error = NULL; 1695s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1695s # if (!_ret) 1695s # { 1695s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1695s # info->parent_struct.name, 1695s # error->message, g_quark_to_string (error->domain), error->code); 1695s # g_error_free (error); 1695s # } 1695s # else 1695s # { 1695s # g_variant_unref (_ret); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_set_property (GObject *object, 1695s # guint prop_id, 1695s # const GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *variant; 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1695s # "org.freedesktop.DBus.Properties.Set", 1695s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1695s # g_variant_unref (variant); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1695s # const gchar *sender_name G_GNUC_UNUSED, 1695s # const gchar *signal_name, 1695s # GVariant *parameters) 1695s # { 1695s # _ExtendedGDBusSignalInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # gsize n; 1695s # guint signal_id; 1695s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1695s # if (info == NULL) 1695s # return; 1695s # num_params = g_variant_n_children (parameters); 1695s # paramv = g_new0 (GValue, num_params + 1); 1695s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1695s # g_value_set_object (¶mv[0], proxy); 1695s # g_variant_iter_init (&iter, parameters); 1695s # n = 1; 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1695s # g_signal_emitv (paramv, signal_id, 0, NULL); 1695s # for (n = 0; n < num_params + 1; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1695s # GVariant *changed_properties, 1695s # const gchar *const *invalidated_properties) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1695s # guint n; 1695s # const gchar *key; 1695s # GVariantIter *iter; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # g_variant_get (changed_properties, "a{sv}", &iter); 1695s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1695s # g_datalist_remove_data (&proxy->priv->qdata, key); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # g_variant_iter_free (iter); 1695s # for (n = 0; invalidated_properties[n] != NULL; n++) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1695s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # } 1695s # 1695s # static const gchar * 1695s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1695s # GVariant *variant; 1695s # const gchar *value = NULL; 1695s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1695s # if (variant != NULL) 1695s # { 1695s # value = g_variant_get_string (variant, NULL); 1695s # g_variant_unref (variant); 1695s # } 1695s # return value; 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1695s # #else 1695s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1695s # #endif 1695s # 1695s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusProxyClass *proxy_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1695s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1695s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1695s # 1695s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1695s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1695s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1695s # 1695s # com_acme_coyote_override_properties (gobject_class, 1); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # com_acme_coyote_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_sync: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1695s # * 1695s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # com_acme_coyote_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_proxy_new_for_bus_sync: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return COM_ACME_COYOTE (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteSkeleton: 1695s # * 1695s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * ComAcmeCoyoteSkeletonClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #ComAcmeCoyoteSkeleton. 1695s # */ 1695s # 1695s # struct _ComAcmeCoyoteSkeletonPrivate 1695s # { 1695s # GValue *properties; 1695s # GList *changed_properties; 1695s # GSource *changed_properties_idle_source; 1695s # GMainContext *context; 1695s # GMutex lock; 1695s # }; 1695s # 1695s # static void 1695s # _com_acme_coyote_skeleton_handle_method_call ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name, 1695s # const gchar *method_name, 1695s # GVariant *parameters, 1695s # GDBusMethodInvocation *invocation, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # _ExtendedGDBusMethodInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # guint num_extra; 1695s # gsize n; 1695s # guint signal_id; 1695s # GValue return_value = G_VALUE_INIT; 1695s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1695s # g_assert (info != NULL); 1695s # num_params = g_variant_n_children (parameters); 1695s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1695s # n = 0; 1695s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1695s # g_value_set_object (¶mv[n++], skeleton); 1695s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1695s # g_value_set_object (¶mv[n++], invocation); 1695s # if (info->pass_fdlist) 1695s # { 1695s # #ifdef G_OS_UNIX 1695s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1695s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1695s # #else 1695s # g_assert_not_reached (); 1695s # #endif 1695s # } 1695s # g_variant_iter_init (&iter, parameters); 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1695s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1695s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1695s # if (!g_value_get_boolean (&return_value)) 1695s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1695s # g_value_unset (&return_value); 1695s # for (n = 0; n < num_params + num_extra; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static GVariant * 1695s # _com_acme_coyote_skeleton_handle_get_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *ret; 1695s # ret = NULL; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # g_value_init (&value, pspec->value_type); 1695s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_value_unset (&value); 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _com_acme_coyote_skeleton_handle_set_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GVariant *variant, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # gboolean ret; 1695s # ret = FALSE; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # if (info->use_gvariant) 1695s # g_value_set_variant (&value, variant); 1695s # else 1695s # g_dbus_gvariant_to_gvalue (variant, &value); 1695s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # g_value_unset (&value); 1695s # ret = TRUE; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1695s # { 1695s # _com_acme_coyote_skeleton_handle_method_call, 1695s # _com_acme_coyote_skeleton_handle_get_property, 1695s # _com_acme_coyote_skeleton_handle_set_property, 1695s # {NULL} 1695s # }; 1695s # 1695s # static GDBusInterfaceInfo * 1695s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return com_acme_coyote_interface_info (); 1695s # } 1695s # 1695s # static GDBusInterfaceVTable * 1695s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1695s # } 1695s # 1695s # static GVariant * 1695s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1695s # 1695s # GVariantBuilder builder; 1695s # guint n; 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1695s # goto out; 1695s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1695s # { 1695s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1695s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1695s # { 1695s # GVariant *value; 1695s # 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); 1695s # if (value != NULL) 1695s # { 1695s # g_variant_take_ref (value); 1695s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1695s # g_variant_unref (value); 1695s # } 1695s # } 1695s # } 1695s # out: 1695s # return g_variant_builder_end (&builder); 1695s # } 1695s # 1695s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1695s # gboolean emit_changed = FALSE; 1695s # 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # { 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # skeleton->priv->changed_properties_idle_source = NULL; 1695s # emit_changed = TRUE; 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # 1695s # if (emit_changed) 1695s # _com_acme_coyote_emit_changed (skeleton); 1695s # } 1695s # 1695s # static void 1695s # _com_acme_coyote_on_signal_surprised ( 1695s # ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # 1695s # GList *connections, *l; 1695s # GVariant *signal_variant; 1695s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1695s # 1695s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1695s # for (l = connections; l != NULL; l = l->next) 1695s # { 1695s # GDBusConnection *connection = l->data; 1695s # g_dbus_connection_emit_signal (connection, 1695s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1695s # signal_variant, NULL); 1695s # } 1695s # g_variant_unref (signal_variant); 1695s # g_list_free_full (connections, g_object_unref); 1695s # } 1695s # 1695s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # com_acme_coyote_skeleton_finalize (GObject *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # guint n; 1695s # for (n = 0; n < 1; n++) 1695s # g_value_unset (&skeleton->priv->properties[n]); 1695s # g_free (skeleton->priv->properties); 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # g_main_context_unref (skeleton->priv->context); 1695s # g_mutex_clear (&skeleton->priv->lock); 1695s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_get_property (GObject *object, 1695s # guint prop_id, 1695s # GValue *value, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # } 1695s # 1695s # static gboolean 1695s # _com_acme_coyote_emit_changed (gpointer user_data) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1695s # GList *l; 1695s # GVariantBuilder builder; 1695s # GVariantBuilder invalidated_builder; 1695s # guint num_changes; 1695s # 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1695s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1695s # { 1695s # ChangedProperty *cp = l->data; 1695s # GVariant *variant; 1695s # const GValue *cur_value; 1695s # 1695s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1695s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1695s # { 1695s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1695s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1695s # g_variant_unref (variant); 1695s # num_changes++; 1695s # } 1695s # } 1695s # if (num_changes > 0) 1695s # { 1695s # GList *connections, *ll; 1695s # GVariant *signal_variant; 1695s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1695s # &builder, &invalidated_builder)); 1695s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1695s # for (ll = connections; ll != NULL; ll = ll->next) 1695s # { 1695s # GDBusConnection *connection = ll->data; 1695s # 1695s # g_dbus_connection_emit_signal (connection, 1695s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1695s # "org.freedesktop.DBus.Properties", 1695s # "PropertiesChanged", 1695s # signal_variant, 1695s # NULL); 1695s # } 1695s # g_variant_unref (signal_variant); 1695s # g_list_free_full (connections, g_object_unref); 1695s # } 1695s # else 1695s # { 1695s # g_variant_builder_clear (&builder); 1695s # g_variant_builder_clear (&invalidated_builder); 1695s # } 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # skeleton->priv->changed_properties = NULL; 1695s # skeleton->priv->changed_properties_idle_source = NULL; 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # return FALSE; 1695s # } 1695s # 1695s # static void 1695s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1695s # { 1695s # ChangedProperty *cp; 1695s # GList *l; 1695s # cp = NULL; 1695s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1695s # { 1695s # ChangedProperty *i_cp = l->data; 1695s # if (i_cp->info == info) 1695s # { 1695s # cp = i_cp; 1695s # break; 1695s # } 1695s # } 1695s # if (cp == NULL) 1695s # { 1695s # cp = g_new0 (ChangedProperty, 1); 1695s # cp->prop_id = prop_id; 1695s # cp->info = info; 1695s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1695s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1695s # g_value_copy (orig_value, &cp->orig_value); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_notify (GObject *object, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # if (skeleton->priv->changed_properties != NULL && 1695s # skeleton->priv->changed_properties_idle_source == NULL) 1695s # { 1695s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1695s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1695s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1695s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1695s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1695s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_set_property (GObject *object, 1695s # guint prop_id, 1695s # const GValue *value, 1695s # GParamSpec *pspec) 1695s # { 1695s # const _ExtendedGDBusPropertyInfo *info; 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1695s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # g_object_freeze_notify (object); 1695s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1695s # { 1695s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1695s # info->emits_changed_signal) 1695s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1695s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1695s # g_object_notify_by_pspec (object, pspec); 1695s # } 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # g_object_thaw_notify (object); 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1695s # #else 1695s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1695s # #endif 1695s # 1695s # g_mutex_init (&skeleton->priv->lock); 1695s # skeleton->priv->context = g_main_context_ref_thread_default (); 1695s # skeleton->priv->properties = g_new0 (GValue, 1); 1695s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1695s # } 1695s # 1695s # static const gchar * 1695s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1695s # { 1695s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1695s # const gchar *value; 1695s # g_mutex_lock (&skeleton->priv->lock); 1695s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1695s # g_mutex_unlock (&skeleton->priv->lock); 1695s # return value; 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusInterfaceSkeletonClass *skeleton_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1695s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1695s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1695s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1695s # 1695s # 1695s # com_acme_coyote_override_properties (gobject_class, 1); 1695s # 1695s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1695s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1695s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1695s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1695s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1695s # { 1695s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1695s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1695s # } 1695s # 1695s # /** 1695s # * com_acme_coyote_skeleton_new: 1695s # * 1695s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1695s # * 1695s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1695s # */ 1695s # ComAcmeCoyote * 1695s # com_acme_coyote_skeleton_new (void) 1695s # { 1695s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ 1695s # * Code for interface org.project.Bar.Frobnicator 1695s # * ------------------------------------------------------------------------ 1695s # */ 1695s # 1695s # /** 1695s # * SECTION:OrgProjectBarFrobnicator 1695s # * @title: OrgProjectBarFrobnicator 1695s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1695s # * 1695s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1695s # */ 1695s # 1695s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1695s # 1695s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "RandomMethod", 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "handle-random-method", 1695s # FALSE 1695s # }; 1695s # 1695s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1695s # { 1695s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1695s # NULL 1695s # }; 1695s # 1695s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1695s # { 1695s # { 1695s # -1, 1695s # (gchar *) "org.project.Bar.Frobnicator", 1695s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1695s # NULL, 1695s # NULL, 1695s # NULL 1695s # }, 1695s # "org-project-bar-frobnicator", 1695s # }; 1695s # 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_interface_info: 1695s # * 1695s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1695s # * 1695s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1695s # */ 1695s # GDBusInterfaceInfo * 1695s # org_project_bar_frobnicator_interface_info (void) 1695s # { 1695s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_override_properties: 1695s # * @klass: The class structure for a #GObject derived class. 1695s # * @property_id_begin: The property id to assign to the first overridden property. 1695s # * 1695s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1695s # * The properties are overridden in the order they are defined. 1695s # * 1695s # * Returns: The last property id. 1695s # */ 1695s # guint 1695s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1695s # { 1695s # return property_id_begin - 1; 1695s # } 1695s # 1695s # 1695s # inline static void 1695s # org_project_bar_frobnicator_method_marshal_random_method ( 1695s # GClosure *closure, 1695s # GValue *return_value, 1695s # unsigned int n_param_values, 1695s # const GValue *param_values, 1695s # void *invocation_hint, 1695s # void *marshal_data) 1695s # { 1695s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1695s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1695s # } 1695s # 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicator: 1695s # * 1695s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorIface: 1695s # * @parent_iface: The parent interface. 1695s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1695s # * 1695s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1695s # */ 1695s # 1695s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1695s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1695s # { 1695s # /* GObject signals for incoming D-Bus method calls: */ 1695s # /** 1695s # * OrgProjectBarFrobnicator::handle-random-method: 1695s # * @object: A #OrgProjectBarFrobnicator. 1695s # * @invocation: A #GDBusMethodInvocation. 1695s # * 1695s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1695s # * 1695s # * 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. 1695s # * 1695s # * 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. 1695s # */ 1695s # g_signal_new ("handle-random-method", 1695s # G_TYPE_FROM_INTERFACE (iface), 1695s # G_SIGNAL_RUN_LAST, 1695s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1695s # g_signal_accumulator_true_handled, 1695s # NULL, 1695s # org_project_bar_frobnicator_method_marshal_random_method, 1695s # G_TYPE_BOOLEAN, 1695s # 1, 1695s # G_TYPE_DBUS_METHOD_INVOCATION); 1695s # 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_call_random_method ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1695s # "RandomMethod", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # callback, 1695s # user_data); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method_finish: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # org_project_bar_frobnicator_call_random_method_finish ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_call_random_method_sync: 1695s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL. 1695s # * 1695s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1695s # * 1695s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1695s # */ 1695s # gboolean 1695s # org_project_bar_frobnicator_call_random_method_sync ( 1695s # OrgProjectBarFrobnicator *proxy, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GVariant *_ret; 1695s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1695s # "RandomMethod", 1695s # g_variant_new ("()"), 1695s # G_DBUS_CALL_FLAGS_NONE, 1695s # -1, 1695s # cancellable, 1695s # error); 1695s # if (_ret == NULL) 1695s # goto _out; 1695s # g_variant_get (_ret, 1695s # "()"); 1695s # g_variant_unref (_ret); 1695s # _out: 1695s # return _ret != NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_complete_random_method: 1695s # * @object: A #OrgProjectBarFrobnicator. 1695s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1695s # * 1695s # * 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. 1695s # * 1695s # * This method will free @invocation, you cannot use it afterwards. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_complete_random_method ( 1695s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1695s # GDBusMethodInvocation *invocation) 1695s # { 1695s # g_dbus_method_invocation_return_value (invocation, 1695s # g_variant_new ("()")); 1695s # } 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorProxy: 1695s # * 1695s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorProxyClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1695s # */ 1695s # 1695s # struct _OrgProjectBarFrobnicatorProxyPrivate 1695s # { 1695s # GData *qdata; 1695s # }; 1695s # 1695s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1695s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1695s # { 1695s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1695s # g_datalist_clear (&proxy->priv->qdata); 1695s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1695s # guint prop_id G_GNUC_UNUSED, 1695s # GValue *value G_GNUC_UNUSED, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1695s # guint prop_id G_GNUC_UNUSED, 1695s # const GValue *value G_GNUC_UNUSED, 1695s # GParamSpec *pspec G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1695s # const gchar *sender_name G_GNUC_UNUSED, 1695s # const gchar *signal_name, 1695s # GVariant *parameters) 1695s # { 1695s # _ExtendedGDBusSignalInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # gsize n; 1695s # guint signal_id; 1695s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1695s # if (info == NULL) 1695s # return; 1695s # num_params = g_variant_n_children (parameters); 1695s # paramv = g_new0 (GValue, num_params + 1); 1695s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_set_object (¶mv[0], proxy); 1695s # g_variant_iter_init (&iter, parameters); 1695s # n = 1; 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_signal_emitv (paramv, signal_id, 0, NULL); 1695s # for (n = 0; n < num_params + 1; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1695s # GVariant *changed_properties, 1695s # const gchar *const *invalidated_properties) 1695s # { 1695s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1695s # guint n; 1695s # const gchar *key; 1695s # GVariantIter *iter; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # g_variant_get (changed_properties, "a{sv}", &iter); 1695s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1695s # g_datalist_remove_data (&proxy->priv->qdata, key); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # g_variant_iter_free (iter); 1695s # for (n = 0; invalidated_properties[n] != NULL; n++) 1695s # { 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1695s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1695s # if (info != NULL) 1695s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1695s # } 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1695s # #else 1695s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1695s # #endif 1695s # 1695s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusProxyClass *proxy_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1695s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1695s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1695s # 1695s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1695s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1695s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_sync: 1695s # * @connection: A #GDBusConnection. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1695s # * @user_data: User data to pass to @callback. 1695s # * 1695s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1695s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1695s # */ 1695s # void 1695s # org_project_bar_frobnicator_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data) 1695s # { 1695s # 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); 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1695s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error) 1695s # { 1695s # GObject *ret; 1695s # GObject *source_object; 1695s # source_object = g_async_result_get_source_object (res); 1695s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1695s # g_object_unref (source_object); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1695s # * @bus_type: A #GBusType. 1695s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1695s # * @name: A bus name (well-known or unique). 1695s # * @object_path: An object path. 1695s # * @cancellable: (nullable): A #GCancellable or %NULL. 1695s # * @error: Return location for error or %NULL 1695s # * 1695s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1695s # * 1695s # * The calling thread is blocked until a reply is received. 1695s # * 1695s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error) 1695s # { 1695s # GInitable *ret; 1695s # 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); 1695s # if (ret != NULL) 1695s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1695s # else 1695s # return NULL; 1695s # } 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorSkeleton: 1695s # * 1695s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1695s # */ 1695s # 1695s # /** 1695s # * OrgProjectBarFrobnicatorSkeletonClass: 1695s # * @parent_class: The parent class. 1695s # * 1695s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1695s # */ 1695s # 1695s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1695s # { 1695s # GValue *properties; 1695s # GList *changed_properties; 1695s # GSource *changed_properties_idle_source; 1695s # GMainContext *context; 1695s # GMutex lock; 1695s # }; 1695s # 1695s # static void 1695s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name, 1695s # const gchar *method_name, 1695s # GVariant *parameters, 1695s # GDBusMethodInvocation *invocation, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # _ExtendedGDBusMethodInfo *info; 1695s # GVariantIter iter; 1695s # GVariant *child; 1695s # GValue *paramv; 1695s # gsize num_params; 1695s # guint num_extra; 1695s # gsize n; 1695s # guint signal_id; 1695s # GValue return_value = G_VALUE_INIT; 1695s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1695s # g_assert (info != NULL); 1695s # num_params = g_variant_n_children (parameters); 1695s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1695s # n = 0; 1695s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_set_object (¶mv[n++], skeleton); 1695s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1695s # g_value_set_object (¶mv[n++], invocation); 1695s # if (info->pass_fdlist) 1695s # { 1695s # #ifdef G_OS_UNIX 1695s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1695s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1695s # #else 1695s # g_assert_not_reached (); 1695s # #endif 1695s # } 1695s # g_variant_iter_init (&iter, parameters); 1695s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1695s # { 1695s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1695s # if (arg_info->use_gvariant) 1695s # { 1695s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1695s # g_value_set_variant (¶mv[n], child); 1695s # n++; 1695s # } 1695s # else 1695s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1695s # g_variant_unref (child); 1695s # } 1695s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1695s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1695s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1695s # if (!g_value_get_boolean (&return_value)) 1695s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1695s # g_value_unset (&return_value); 1695s # for (n = 0; n < num_params + num_extra; n++) 1695s # g_value_unset (¶mv[n]); 1695s # g_free (paramv); 1695s # } 1695s # 1695s # static GVariant * 1695s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # GVariant *ret; 1695s # ret = NULL; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # g_value_init (&value, pspec->value_type); 1695s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1695s # g_value_unset (&value); 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static gboolean 1695s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1695s # GDBusConnection *connection G_GNUC_UNUSED, 1695s # const gchar *sender G_GNUC_UNUSED, 1695s # const gchar *object_path G_GNUC_UNUSED, 1695s # const gchar *interface_name G_GNUC_UNUSED, 1695s # const gchar *property_name, 1695s # GVariant *variant, 1695s # GError **error, 1695s # gpointer user_data) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1695s # GValue value = G_VALUE_INIT; 1695s # GParamSpec *pspec; 1695s # _ExtendedGDBusPropertyInfo *info; 1695s # gboolean ret; 1695s # ret = FALSE; 1695s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1695s # g_assert (info != NULL); 1695s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1695s # if (pspec == NULL) 1695s # { 1695s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1695s # } 1695s # else 1695s # { 1695s # if (info->use_gvariant) 1695s # g_value_set_variant (&value, variant); 1695s # else 1695s # g_dbus_gvariant_to_gvalue (variant, &value); 1695s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1695s # g_value_unset (&value); 1695s # ret = TRUE; 1695s # } 1695s # return ret; 1695s # } 1695s # 1695s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1695s # { 1695s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1695s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1695s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1695s # {NULL} 1695s # }; 1695s # 1695s # static GDBusInterfaceInfo * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return org_project_bar_frobnicator_interface_info (); 1695s # } 1695s # 1695s # static GDBusInterfaceVTable * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1695s # { 1695s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1695s # } 1695s # 1695s # static GVariant * 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1695s # 1695s # GVariantBuilder builder; 1695s # guint n; 1695s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1695s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1695s # goto out; 1695s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1695s # { 1695s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1695s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1695s # { 1695s # GVariant *value; 1695s # 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); 1695s # if (value != NULL) 1695s # { 1695s # g_variant_take_ref (value); 1695s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1695s # g_variant_unref (value); 1695s # } 1695s # } 1695s # } 1695s # out: 1695s # return g_variant_builder_end (&builder); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1695s # 1695s # #else 1695s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1695s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1695s # 1695s # #endif 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1695s # { 1695s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1695s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1695s # if (skeleton->priv->changed_properties_idle_source != NULL) 1695s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1695s # g_main_context_unref (skeleton->priv->context); 1695s # g_mutex_clear (&skeleton->priv->lock); 1695s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1695s # { 1695s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1695s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1695s # #else 1695s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1695s # #endif 1695s # 1695s # g_mutex_init (&skeleton->priv->lock); 1695s # skeleton->priv->context = g_main_context_ref_thread_default (); 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1695s # { 1695s # GObjectClass *gobject_class; 1695s # GDBusInterfaceSkeletonClass *skeleton_class; 1695s # 1695s # gobject_class = G_OBJECT_CLASS (klass); 1695s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1695s # 1695s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1695s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1695s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1695s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1695s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1695s # 1695s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1695s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1695s # #endif 1695s # } 1695s # 1695s # static void 1695s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1695s # { 1695s # } 1695s # 1695s # /** 1695s # * org_project_bar_frobnicator_skeleton_new: 1695s # * 1695s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1695s # * 1695s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1695s # */ 1695s # OrgProjectBarFrobnicator * 1695s # org_project_bar_frobnicator_skeleton_new (void) 1695s # { 1695s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1695s # } 1695s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1695s # tmpdir: /tmp/tmpclser8o2 1695s # codegen: /usr/bin/gdbus-codegen 1695s # /tmp/tmpclser8o2/tmpw9nljcwk.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpclser8o2/tmpw9nljcwk.xml', '--output', '-', '--header'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for FDPassing */ 1695s # 1695s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1695s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1695s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1695s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1695s # 1695s # struct _FDPassing; 1695s # typedef struct _FDPassing FDPassing; 1695s # typedef struct _FDPassingIface FDPassingIface; 1695s # 1695s # struct _FDPassingIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # gboolean (*handle_hello_fd) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *arg_greeting); 1695s # 1695s # gboolean (*handle_no_annotation) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale); 1695s # 1695s # gboolean (*handle_no_annotation_nested) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *arg_files); 1695s # 1695s # }; 1695s # 1695s # GType fdpassing_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1695s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void fdpassing_complete_hello_fd ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *response); 1695s # 1695s # void fdpassing_complete_no_annotation ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *response, 1695s # const gchar *response_locale); 1695s # 1695s # void fdpassing_complete_no_annotation_nested ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void fdpassing_call_hello_fd ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GUnixFDList *fd_list, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_hello_fd_finish ( 1695s # FDPassing *proxy, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_hello_fd_sync ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GUnixFDList *fd_list, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_finish ( 1695s # FDPassing *proxy, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation_nested ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_finish ( 1695s # FDPassing *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1695s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1695s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1695s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1695s # 1695s # typedef struct _FDPassingProxy FDPassingProxy; 1695s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1695s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1695s # 1695s # struct _FDPassingProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # FDPassingProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void fdpassing_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1695s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1695s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1695s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1695s # 1695s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1695s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1695s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1695s # 1695s # struct _FDPassingSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # FDPassingSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # FDPassing *fdpassing_skeleton_new (void); 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s # /tmp/tmpclser8o2/tmpet6mjit8.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpclser8o2/tmpet6mjit8.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for FDPassing */ 1695s # 1695s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1695s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1695s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1695s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1695s # 1695s # struct _FDPassing; 1695s # typedef struct _FDPassing FDPassing; 1695s # typedef struct _FDPassingIface FDPassingIface; 1695s # 1695s # struct _FDPassingIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # gboolean (*handle_hello_fd) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *arg_greeting); 1695s # 1695s # gboolean (*handle_no_annotation) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale); 1695s # 1695s # gboolean (*handle_no_annotation_nested) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *arg_files); 1695s # 1695s # }; 1695s # 1695s # GType fdpassing_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1695s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void fdpassing_complete_hello_fd ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *response); 1695s # 1695s # void fdpassing_complete_no_annotation ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GVariant *response, 1695s # const gchar *response_locale); 1695s # 1695s # void fdpassing_complete_no_annotation_nested ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void fdpassing_call_hello_fd ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GUnixFDList *fd_list, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_hello_fd_finish ( 1695s # FDPassing *proxy, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_hello_fd_sync ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GUnixFDList *fd_list, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_finish ( 1695s # FDPassing *proxy, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation_nested ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_finish ( 1695s # FDPassing *proxy, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1695s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1695s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1695s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1695s # 1695s # typedef struct _FDPassingProxy FDPassingProxy; 1695s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1695s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1695s # 1695s # struct _FDPassingProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # FDPassingProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void fdpassing_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1695s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1695s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1695s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1695s # 1695s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1695s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1695s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1695s # 1695s # struct _FDPassingSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # FDPassingSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # FDPassing *fdpassing_skeleton_new (void); 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s # /tmp/tmpclser8o2/tmpvakl7d0_.xml: 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # 1695s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpclser8o2/tmpvakl7d0_.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1695s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1695s # Output: /* 1695s # * This file is generated by gdbus-codegen, do not modify it. 1695s # * 1695s # * The license of this code is the same as for the D-Bus interface description 1695s # * it was derived from. Note that it links to GLib, so must comply with the 1695s # * LGPL linking clauses. 1695s # */ 1695s # 1695s # #ifndef __STDOUT__ 1695s # #define __STDOUT__ 1695s # 1695s # #include 1695s # 1695s # G_BEGIN_DECLS 1695s # 1695s # 1695s # /* ------------------------------------------------------------------------ */ 1695s # /* Declarations for FDPassing */ 1695s # 1695s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1695s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1695s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1695s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1695s # 1695s # struct _FDPassing; 1695s # typedef struct _FDPassing FDPassing; 1695s # typedef struct _FDPassingIface FDPassingIface; 1695s # 1695s # struct _FDPassingIface 1695s # { 1695s # GTypeInterface parent_iface; 1695s # 1695s # gboolean (*handle_hello_fd) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *arg_greeting); 1695s # 1695s # gboolean (*handle_no_annotation) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale); 1695s # 1695s # gboolean (*handle_no_annotation_nested) ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # GVariant *arg_files); 1695s # 1695s # }; 1695s # 1695s # GType fdpassing_get_type (void) G_GNUC_CONST; 1695s # 1695s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1695s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1695s # 1695s # 1695s # /* D-Bus method call completion functions: */ 1695s # void fdpassing_complete_hello_fd ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # const gchar *response); 1695s # 1695s # void fdpassing_complete_no_annotation ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list, 1695s # GVariant *response, 1695s # const gchar *response_locale); 1695s # 1695s # void fdpassing_complete_no_annotation_nested ( 1695s # FDPassing *object, 1695s # GDBusMethodInvocation *invocation, 1695s # GUnixFDList *fd_list); 1695s # 1695s # 1695s # 1695s # /* D-Bus method calls: */ 1695s # void fdpassing_call_hello_fd ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_hello_fd_finish ( 1695s # FDPassing *proxy, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_hello_fd_sync ( 1695s # FDPassing *proxy, 1695s # const gchar *arg_greeting, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # gchar **out_response, 1695s # GUnixFDList **out_fd_list, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_finish ( 1695s # FDPassing *proxy, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GUnixFDList **out_fd_list, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_greeting, 1695s # const gchar *arg_greeting_locale, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # GVariant **out_response, 1695s # gchar **out_response_locale, 1695s # GUnixFDList **out_fd_list, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_call_no_annotation_nested ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_finish ( 1695s # FDPassing *proxy, 1695s # GUnixFDList **out_fd_list, 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # 1695s # gboolean fdpassing_call_no_annotation_nested_sync ( 1695s # FDPassing *proxy, 1695s # GVariant *arg_files, 1695s # GDBusCallFlags call_flags, 1695s # gint timeout_msec, 1695s # GUnixFDList *fd_list, 1695s # GUnixFDList **out_fd_list, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1695s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1695s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1695s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1695s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1695s # 1695s # typedef struct _FDPassingProxy FDPassingProxy; 1695s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1695s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1695s # 1695s # struct _FDPassingProxy 1695s # { 1695s # /*< private >*/ 1695s # GDBusProxy parent_instance; 1695s # FDPassingProxyPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingProxyClass 1695s # { 1695s # GDBusProxyClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1695s # #endif 1695s # 1695s # void fdpassing_proxy_new ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_sync ( 1695s # GDBusConnection *connection, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # void fdpassing_proxy_new_for_bus ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GAsyncReadyCallback callback, 1695s # gpointer user_data); 1695s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1695s # GAsyncResult *res, 1695s # GError **error); 1695s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1695s # GBusType bus_type, 1695s # GDBusProxyFlags flags, 1695s # const gchar *name, 1695s # const gchar *object_path, 1695s # GCancellable *cancellable, 1695s # GError **error); 1695s # 1695s # 1695s # /* ---- */ 1695s # 1695s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1695s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1695s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1695s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1695s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1695s # 1695s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1695s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1695s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1695s # 1695s # struct _FDPassingSkeleton 1695s # { 1695s # /*< private >*/ 1695s # GDBusInterfaceSkeleton parent_instance; 1695s # FDPassingSkeletonPrivate *priv; 1695s # }; 1695s # 1695s # struct _FDPassingSkeletonClass 1695s # { 1695s # GDBusInterfaceSkeletonClass parent_class; 1695s # }; 1695s # 1695s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1695s # 1695s # #if GLIB_CHECK_VERSION(2, 44, 0) 1695s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1695s # #endif 1695s # 1695s # FDPassing *fdpassing_skeleton_new (void); 1695s # 1695s # 1695s # G_END_DECLS 1695s # 1695s # #endif /* __STDOUT__ */ 1695s 1..39 1695s ok - glib/codegen.py.test 1695s # Running test: glib/tls-database.test 1695s TAP version 14 1695s # random seed: R02S63e9064701ddc7d1bc7a1d59e9dbb9a4 1695s 1..1 1695s # Start of tls-backend tests 1695s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1695s ok 1 /tls-backend/set-default-database 1695s # End of tls-backend tests 1695s ok - glib/tls-database.test 1695s # Running test: glib/gvariant.test 1695s TAP version 14 1695s # random seed: R02S952227c46ada8c13840d15b0045b4d6d 1695s 1..64 1695s # Start of gvariant tests 1696s ok 1 /gvariant/type 1696s ok 2 /gvariant/typeinfo 1696s ok 3 /gvariant/string 1696s ok 4 /gvariant/utf8 1696s ok 5 /gvariant/containers 1696s ok 6 /gvariant/format-strings 1696s ok 7 /gvariant/invalid-varargs 1696s ok 8 /gvariant/varargs 1696s ok 9 /gvariant/valist 1696s ok 10 /gvariant/builder-memory 1696s ok 11 /gvariant/hashing 1696s ok 12 /gvariant/byteswap 1697s ok 13 /gvariant/parser 1697s ok 14 /gvariant/parse-failures 1697s ok 15 /gvariant/parse-positional 1697s ok 16 /gvariant/floating 1697s ok 17 /gvariant/bytestring 1697s ok 18 /gvariant/lookup-value 1697s ok 19 /gvariant/lookup 1697s ok 20 /gvariant/compare 1697s ok 21 /gvariant/equal 1697s ok 22 /gvariant/fixed-array 1697s ok 23 /gvariant/check-format-string 1697s ok 24 /gvariant/checksum-basic 1697s ok 25 /gvariant/checksum-nested 1697s ok 26 /gvariant/gbytes 1697s ok 27 /gvariant/print-context 1697s ok 28 /gvariant/error-quark 1697s ok 29 /gvariant/stack-builder-init 1697s ok 30 /gvariant/stack-dict-init 1697s ok 31 /gvariant/unaligned-construction 1697s # Start of type tests 1697s # Start of string-scan tests 1697s # Start of recursion tests 1697s ok 32 /gvariant/type/string-scan/recursion/tuple 1697s ok 33 /gvariant/type/string-scan/recursion/array 1697s # End of recursion tests 1697s # End of string-scan tests 1697s # End of type tests 1697s # Start of serialiser tests 1697s ok 34 /gvariant/serialiser/maybe 1697s ok 35 /gvariant/serialiser/array 1697s ok 36 /gvariant/serialiser/tuple 1697s ok 37 /gvariant/serialiser/variant 1697s ok 38 /gvariant/serialiser/strings 1699s # Executing: glib/gvariant.test 1699s ok 39 /gvariant/serialiser/byteswap 1699s # slow test /gvariant/serialiser/byteswap executed in 2.00 secs 1699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1699s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1699s ok 40 /gvariant/serialiser/children 1699s # Start of fuzz tests 1700s ok 41 /gvariant/serialiser/fuzz/1% 1700s # slow test /gvariant/serialiser/fuzz/1% executed in 1.18 secs 1702s ok 42 /gvariant/serialiser/fuzz/5% 1702s # slow test /gvariant/serialiser/fuzz/5% executed in 1.51 secs 1704s # Executing: glib/gvariant.test 1709s # Executing: glib/gvariant.test 1711s ok 43 /gvariant/serialiser/fuzz/9% 1711s # slow test /gvariant/serialiser/fuzz/9% executed in 9.44 secs 1711s ok 44 /gvariant/serialiser/fuzz/13% 1712s ok 45 /gvariant/serialiser/fuzz/17% 1712s # slow test /gvariant/serialiser/fuzz/17% executed in 0.61 secs 1712s # End of fuzz tests 1712s # End of serialiser tests 1712s # Start of varargs tests 1712s # Start of subprocess tests 1712s # End of subprocess tests 1712s # End of varargs tests 1712s # Start of byteswap tests 1712s # /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. 1712s ok 46 /gvariant/byteswap/non-normal-non-aligned 1712s # End of byteswap tests 1712s # Start of parser tests 1712s ok 47 /gvariant/parser/integer-bounds 1712s ok 48 /gvariant/parser/recursion 1712s # Start of recursion tests 1712s ok 49 /gvariant/parser/recursion/typedecls 1712s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1712s # Text form 0: @mmmu 5 1712s # Text form 1: @mmmas ['hello'] 1712s # Text form 2: @mmmu just just nothing 1712s # Text form 3: @mmmas just just nothing 1712s # Text form 4: @mmmu just nothing 1712s # Text form 5: @mmmas just nothing 1712s # Text form 6: @mmmu nothing 1712s # Text form 7: @mmmas nothing 1712s ok 50 /gvariant/parser/recursion/maybes 1712s # End of recursion tests 1712s # End of parser tests 1712s # Start of parse tests 1712s # Start of subprocess tests 1712s # End of subprocess tests 1712s # End of parse tests 1712s # Start of normal-checking tests 1712s ok 51 /gvariant/normal-checking/tuples 1712s ok 52 /gvariant/normal-checking/array-offsets 1712s ok 53 /gvariant/normal-checking/array-offsets2 1712s ok 54 /gvariant/normal-checking/tuple-offsets 1712s ok 55 /gvariant/normal-checking/tuple-offsets2 1712s ok 56 /gvariant/normal-checking/tuple-offsets3 1712s ok 57 /gvariant/normal-checking/tuple-offsets4 1712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1712s ok 58 /gvariant/normal-checking/tuple-offsets5 1712s ok 59 /gvariant/normal-checking/empty-object-path 1712s # Start of array-offsets tests 1712s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1712s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1712s # End of array-offsets tests 1712s # Start of tuple-offsets tests 1712s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1712s # End of tuple-offsets tests 1712s # End of normal-checking tests 1712s # Start of recursion-limits tests 1712s ok 63 /gvariant/recursion-limits/variant-in-variant 1712s ok 64 /gvariant/recursion-limits/array-in-variant 1712s # End of recursion-limits tests 1712s # End of gvariant tests 1712s ok - glib/gvariant.test 1712s # Running test: glib/gnotification.test 1712s TAP version 14 1712s # random seed: R02S84d58ec30384ca16b7574958748d8551 1712s 1..2 1712s # Start of gnotification tests 1712s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1712s ok 1 /gnotification/basic 1712s ok 2 /gnotification/properties 1712s # End of gnotification tests 1712s ok - glib/gnotification.test 1712s # Running test: glib/mimeapps.test 1712s TAP version 14 1712s # random seed: R02Sf83ce6e05aea4e4c5e9ba6386799d8fd 1712s 1..7 1712s # Start of appinfo tests 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1712s ok 1 /appinfo/all 1712s # Start of mime tests 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config 1712s ok 2 /appinfo/mime/api 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config 1712s ok 3 /appinfo/mime/default 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config 1712s ok 4 /appinfo/mime/file 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/config 1712s ok 5 /appinfo/mime/scheme-handler 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config 1712s ok 6 /appinfo/mime/default-last-used 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1712s # removing '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1712s # creating '/tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O0CMZ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_O0CMZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1712s ok 7 /appinfo/mime/ignore-nonexisting 1712s # End of mime tests 1712s # End of appinfo tests 1712s ok - glib/mimeapps.test 1712s # Running test: glib/closure-refcount.test 1712s TAP version 14 1712s # random seed: R02S7ddbe9c3369adccceaa7dc80d5168a0d 1712s 1..1 1712s # Start of closure tests 1712s # Init 0x74a98e8 1712s # Yielding from thread1 1712s # Yielding from thread2 1713s # Yielding from thread1 1713s # Yielding from thread2 1713s # Yielding from main thread 1713s # Yielding from thread1 1713s # Yielding from thread2 1713s # Yielding from thread1 1713s # Yielding from thread2 1713s # Yielding from main thread 1713s # Yielding from thread1 1713s # Yielding from thread2 1713s # Yielding from thread1 1713s # Yielding from thread2 1713s # Yielding from main thread 1713s # Yielding from thread1 1713s # Yielding from thread2 1714s # Yielding from thread1 1714s # Yielding from thread2 1714s # Yielding from main thread 1714s # Executing: glib/closure-refcount.test 1714s # Yielding from thread1 1714s # Yielding from thread2 1714s # Yielding from thread1 1714s # Yielding from thread2 1714s # Yielding from main thread 1714s # Yielding from thread1 1714s # Yielding from thread2 1714s # Yielding from thread1 1714s # Yielding from thread2 1714s # Yielding from main thread 1714s # Yielding from thread1 1714s # Yielding from thread2 1715s # Yielding from thread1 1715s # Yielding from thread2 1715s # Yielding from main thread 1715s # Yielding from thread1 1715s # Yielding from thread2 1715s # Yielding from thread1 1715s # Yielding from thread2 1715s # Yielding from main thread 1715s # Yielding from thread1 1715s # Yielding from thread2 1715s # Yielding from thread1 1715s # Yielding from thread2 1715s # Yielding from thread1 1715s # Yielding from main thread 1715s # Yielding from thread2 1716s # Yielding from thread1 1716s # Yielding from thread2 1716s # Yielding from thread1 1716s # Stopping 1716s # Stopped 1716s ok 1 /closure/refcount 1716s # slow test /closure/refcount executed in 3.66 secs 1716s # End of closure tests 1716s ok - glib/closure-refcount.test 1716s # Running test: glib/hook.test 1716s TAP version 14 1716s # random seed: R02S3b338b10dfb430819229bb5bac09160b 1716s 1..2 1716s # Start of hook tests 1716s ok 1 /hook/basics 1716s ok 2 /hook/corner-cases 1716s # End of hook tests 1716s ok - glib/hook.test 1716s # Running test: glib/autoptr.test 1716s TAP version 14 1716s # random seed: R02S0d501b2bd26d53abf3f798ef83e251c5 1716s 1..6 1716s # Start of autoptr tests 1716s ok 1 /autoptr/autoptr 1716s ok 2 /autoptr/autoptr_steal 1716s ok 3 /autoptr/autolist 1716s ok 4 /autoptr/autoslist 1716s ok 5 /autoptr/autoqueue 1716s ok 6 /autoptr/autoclass 1716s # End of autoptr tests 1716s ok - glib/autoptr.test 1716s # Running test: glib/genmarshal.py.test 1716s TAP version 13 1716s ok 1 __main__.TestGenmarshal.test_empty_list 1716s # tmpdir: /tmp/tmpwy459dj0 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpwy459dj0/tmpd5664a1b.list: 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwy459dj0/tmpd5664a1b.list', '--header', '--quiet'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # 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. */ 1716s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1716s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1716s # 1716s # #include 1716s # 1716s # G_BEGIN_DECLS 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwy459dj0/tmpd5664a1b.list', '--body', '--quiet'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # 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. */ 1716s # #include 1716s # 1716s # #ifdef G_ENABLE_DEBUG 1716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1716s # #else /* !G_ENABLE_DEBUG */ 1716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1716s # * Do not access GValues directly in your code. Instead, use the 1716s # * g_value_get_*() functions 1716s # */ 1716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1716s # #endif /* !G_ENABLE_DEBUG */ 1716s ok 2 __main__.TestGenmarshal.test_help 1716s # tmpdir: /tmp/tmp73yhbk7b 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1716s # [--internal] [--valist-marshallers] [-v] 1716s # [--g-fatal-warnings] [--include-header [HEADER]] 1716s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1716s # [--prototypes] [--header] [--body] 1716s # [--stdinc | --nostdinc] [--quiet | --verbose] 1716s # [FILE ...] 1716s # 1716s # Generate signal marshallers for GObject 1716s # 1716s # positional arguments: 1716s # FILE Files with lists of marshallers to generate, or "-" 1716s # for standard input 1716s # 1716s # options: 1716s # -h, --help show this help message and exit 1716s # --prefix STRING Specify marshaller prefix 1716s # --output FILE Write output into the specified file 1716s # --skip-source Skip source location comments 1716s # --internal Mark generated functions as internal 1716s # --valist-marshallers Generate va_list marshallers 1716s # -v, --version Print version information, and exit 1716s # --g-fatal-warnings Make warnings fatal 1716s # --include-header [HEADER] 1716s # Include the specified header in the body 1716s # --pragma-once Use "pragma once" as the inclusion guard 1716s # -D CPP_DEFINES Pre-processor define 1716s # -U CPP_UNDEFINES Pre-processor undefine 1716s # --prototypes Generate the marshallers prototype in the C code 1716s # --header Generate C headers 1716s # --body Generate C code 1716s # --stdinc Include standard marshallers 1716s # --nostdinc Use standard marshallers 1716s # --quiet Only print warnings and errors 1716s # --verbose Be verbose, and include debugging information 1716s ok 3 __main__.TestGenmarshal.test_no_args 1716s # tmpdir: /tmp/tmpk5876shf 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # Running: ['/usr/bin/glib-genmarshal'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # Output: 1716s ok 4 __main__.TestGenmarshal.test_void_boolean 1716s # tmpdir: /tmp/tmpuugnziw1 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpuugnziw1/tmpzgvnoywb.list: VOID:BOOLEAN 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuugnziw1/tmpzgvnoywb.list', '--header', '--quiet'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # 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. */ 1716s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1716s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1716s # 1716s # #include 1716s # 1716s # G_BEGIN_DECLS 1716s # 1716s # /* VOID:BOOLEAN (/tmp/tmpuugnziw1/tmpzgvnoywb.list:1) */ 1716s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuugnziw1/tmpzgvnoywb.list', '--body', '--quiet'] 1716s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1716s # 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. */ 1716s # #include 1716s # 1716s # #ifdef G_ENABLE_DEBUG 1716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1716s # #else /* !G_ENABLE_DEBUG */ 1716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1716s # * Do not access GValues directly in your code. Instead, use the 1716s # * g_value_get_*() functions 1716s # */ 1716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1716s # #endif /* !G_ENABLE_DEBUG */ 1717s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1717s # tmpdir: /tmp/tmpui9egg8d 1717s # genmarshal: /usr/bin/glib-genmarshal 1717s # /tmp/tmpui9egg8d/tmp59cwj39h.list: VOID:BOOLEAN,INT64 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpui9egg8d/tmp59cwj39h.list', '--header', '--quiet'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # 1717s # #include 1717s # 1717s # G_BEGIN_DECLS 1717s # 1717s # /* VOID:BOOLEAN,INT64 (/tmp/tmpui9egg8d/tmp59cwj39h.list:1) */ 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1717s # GValue *return_value, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint, 1717s # gpointer marshal_data); 1717s # 1717s # 1717s # G_END_DECLS 1717s # 1717s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpui9egg8d/tmp59cwj39h.list', '--body', '--quiet'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #include 1717s # 1717s # #ifdef G_ENABLE_DEBUG 1717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1717s # #else /* !G_ENABLE_DEBUG */ 1717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1717s # * Do not access GValues directly in your code. Instead, use the 1717s # * g_value_get_*() functions 1717s # */ 1717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1717s # #endif /* !G_ENABLE_DEBUG */ 1717s # 1717s # /* VOID:BOOLEAN,INT64 (/tmp/tmpui9egg8d/tmp59cwj39h.list:1) */ 1717s # void 1717s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint G_GNUC_UNUSED, 1717s # gpointer marshal_data) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1717s # gboolean arg1, 1717s # gint64 arg2, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1717s # 1717s # g_return_if_fail (n_param_values == 3); 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = g_value_peek_pointer (param_values + 0); 1717s # } 1717s # else 1717s # { 1717s # data1 = g_value_peek_pointer (param_values + 0); 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # g_marshal_value_peek_boolean (param_values + 1), 1717s # g_marshal_value_peek_int64 (param_values + 2), 1717s # data2); 1717s # } 1717s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1717s # tmpdir: /tmp/tmppnt_4k0l 1717s # genmarshal: /usr/bin/glib-genmarshal 1717s # /tmp/tmppnt_4k0l/tmpcwza5bgz.list: VOID:PARAM 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppnt_4k0l/tmpcwza5bgz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # 1717s # G_BEGIN_DECLS 1717s # 1717s # /* VOID:PARAM (/tmp/tmppnt_4k0l/tmpcwza5bgz.list:1) */ 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1717s # GValue *return_value, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint, 1717s # gpointer marshal_data); 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1717s # GValue *return_value, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types); 1717s # 1717s # 1717s # G_END_DECLS 1717s # 1717s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppnt_4k0l/tmpcwza5bgz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifdef G_ENABLE_DEBUG 1717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1717s # #else /* !G_ENABLE_DEBUG */ 1717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1717s # * Do not access GValues directly in your code. Instead, use the 1717s # * g_value_get_*() functions 1717s # */ 1717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1717s # #endif /* !G_ENABLE_DEBUG */ 1717s # 1717s # /* VOID:PARAM (/tmp/tmppnt_4k0l/tmpcwza5bgz.list:1) */ 1717s # void 1717s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint G_GNUC_UNUSED, 1717s # gpointer marshal_data) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__PARAM callback; 1717s # 1717s # g_return_if_fail (n_param_values == 2); 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = g_value_peek_pointer (param_values + 0); 1717s # } 1717s # else 1717s # { 1717s # data1 = g_value_peek_pointer (param_values + 0); 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # g_marshal_value_peek_param (param_values + 1), 1717s # data2); 1717s # } 1717s # 1717s # void 1717s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__PARAM callback; 1717s # gpointer arg0; 1717s # va_list args_copy; 1717s # 1717s # va_copy (args_copy, args); 1717s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # arg0 = g_param_spec_ref (arg0); 1717s # va_end (args_copy); 1717s # 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = instance; 1717s # } 1717s # else 1717s # { 1717s # data1 = instance; 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # arg0, 1717s # data2); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # g_param_spec_unref (arg0); 1717s # } 1717s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1717s # tmpdir: /tmp/tmpa49xmz7f 1717s # genmarshal: /usr/bin/glib-genmarshal 1717s # /tmp/tmpa49xmz7f/tmpbpxs945q.list: VOID:STRING 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa49xmz7f/tmpbpxs945q.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # 1717s # G_BEGIN_DECLS 1717s # 1717s # /* VOID:STRING (/tmp/tmpa49xmz7f/tmpbpxs945q.list:1) */ 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1717s # GValue *return_value, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint, 1717s # gpointer marshal_data); 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1717s # GValue *return_value, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types); 1717s # 1717s # 1717s # G_END_DECLS 1717s # 1717s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa49xmz7f/tmpbpxs945q.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifdef G_ENABLE_DEBUG 1717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1717s # #else /* !G_ENABLE_DEBUG */ 1717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1717s # * Do not access GValues directly in your code. Instead, use the 1717s # * g_value_get_*() functions 1717s # */ 1717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1717s # #endif /* !G_ENABLE_DEBUG */ 1717s # 1717s # /* VOID:STRING (/tmp/tmpa49xmz7f/tmpbpxs945q.list:1) */ 1717s # void 1717s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint G_GNUC_UNUSED, 1717s # gpointer marshal_data) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__STRING callback; 1717s # 1717s # g_return_if_fail (n_param_values == 2); 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = g_value_peek_pointer (param_values + 0); 1717s # } 1717s # else 1717s # { 1717s # data1 = g_value_peek_pointer (param_values + 0); 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # g_marshal_value_peek_string (param_values + 1), 1717s # data2); 1717s # } 1717s # 1717s # void 1717s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__STRING callback; 1717s # gpointer arg0; 1717s # va_list args_copy; 1717s # 1717s # va_copy (args_copy, args); 1717s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # arg0 = g_strdup (arg0); 1717s # va_end (args_copy); 1717s # 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = instance; 1717s # } 1717s # else 1717s # { 1717s # data1 = instance; 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # arg0, 1717s # data2); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # g_free (arg0); 1717s # } 1717s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1717s # tmpdir: /tmp/tmp19todm61 1717s # genmarshal: /usr/bin/glib-genmarshal 1717s # /tmp/tmp19todm61/tmpznm9kvqp.list: VOID:VARIANT 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp19todm61/tmpznm9kvqp.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1717s # 1717s # G_BEGIN_DECLS 1717s # 1717s # /* VOID:VARIANT (/tmp/tmp19todm61/tmpznm9kvqp.list:1) */ 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1717s # GValue *return_value, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint, 1717s # gpointer marshal_data); 1717s # extern 1717s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1717s # GValue *return_value, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types); 1717s # 1717s # 1717s # G_END_DECLS 1717s # 1717s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1717s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp19todm61/tmpznm9kvqp.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1717s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,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', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ODQM5MrsMP,guid=f570149d93503dc90be1f24f677b6fc9', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IZl8W8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xPpfsG3WBK', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.EuyFSg/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.IZl8W8/build.7dT/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IZl8W8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1717s # 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. */ 1717s # #ifdef G_ENABLE_DEBUG 1717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1717s # #else /* !G_ENABLE_DEBUG */ 1717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1717s # * Do not access GValues directly in your code. Instead, use the 1717s # * g_value_get_*() functions 1717s # */ 1717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1717s # #endif /* !G_ENABLE_DEBUG */ 1717s # 1717s # /* VOID:VARIANT (/tmp/tmp19todm61/tmpznm9kvqp.list:1) */ 1717s # void 1717s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # guint n_param_values, 1717s # const GValue *param_values, 1717s # gpointer invocation_hint G_GNUC_UNUSED, 1717s # gpointer marshal_data) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__VARIANT callback; 1717s # 1717s # g_return_if_fail (n_param_values == 2); 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = g_value_peek_pointer (param_values + 0); 1717s # } 1717s # else 1717s # { 1717s # data1 = g_value_peek_pointer (param_values + 0); 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # g_marshal_value_peek_variant (param_values + 1), 1717s # data2); 1717s # } 1717s # 1717s # void 1717s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1717s # GValue *return_value G_GNUC_UNUSED, 1717s # gpointer instance, 1717s # va_list args, 1717s # gpointer marshal_data, 1717s # int n_params, 1717s # GType *param_types) 1717s # { 1717s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1717s # gpointer arg1, 1717s # gpointer data2); 1717s # GCClosure *cc = (GCClosure *) closure; 1717s # gpointer data1, data2; 1717s # GMarshalFunc_VOID__VARIANT callback; 1717s # gpointer arg0; 1717s # va_list args_copy; 1717s # 1717s # va_copy (args_copy, args); 1717s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # arg0 = g_variant_ref_sink (arg0); 1717s # va_end (args_copy); 1717s # 1717s # 1717s # if (G_CCLOSURE_SWAP_DATA (closure)) 1717s # { 1717s # data1 = closure->data; 1717s # data2 = instance; 1717s # } 1717s # else 1717s # { 1717s # data1 = instance; 1717s # data2 = closure->data; 1717s # } 1717s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1717s # 1717s # callback (data1, 1717s # arg0, 1717s # data2); 1717s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1717s # g_variant_unref (arg0); 1717s # } 1717s 1..8 1717s ok - glib/genmarshal.py.test 1717s # Running test: glib/module-test-library.test 1717s TAP version 14 1717s # random seed: R02S9b4caeceb1221c69ada2081bc6e5dfd1 1717s 1..3 1717s # Start of module tests 1717s ok 1 /module/basics 1717s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1717s ok 2 /module/invalid-libtool-archive 1717s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1717s ok 3 /module/local-binding 1717s # End of module tests 1717s ok - glib/module-test-library.test 1717s # Running test: glib/objects-refcount2.test 1717s TAP version 14 1717s # random seed: R02S8c370710674885bff5cfa661cf771b88 1717s 1..1 1717s # Start of gobject tests 1717s # Start of refcount tests 1717s # init 0x88e11e0 1717s # 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1717s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1718s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # Executing: glib/objects-refcount2.test 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1719s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1720s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1721s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # Executing: glib/objects-refcount2.test 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # Executing: glib/objects-refcount2.test 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # dispose 0x88e11e0! 1729s # 1729s ok 1 /gobject/refcount/object-advanced 1729s # slow test /gobject/refcount/object-advanced executed in 12.11 secs 1729s # End of refcount tests 1729s # End of gobject tests 1729s ok - glib/objects-refcount2.test 1729s # Running test: glib/portal-support-snap-classic.test 1729s TAP version 14 1729s # random seed: R02Sfa483657167cb1f925501b907f831185 1729s 1..3 1729s # Start of portal-support tests 1729s # Start of snap-classic tests 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1729s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/no-snapctl: No such file or directory 1729s ok 1 /portal-support/snap-classic/no-snapctl 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/runtime 1729s # Created snap.yaml in /tmp/test_portal-support-snap-classic_RXQJZ2/meta/snap.yaml 1729s # Created snapctl in /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1729s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/none: No such file or directory 1729s ok 2 /portal-support/snap-classic/none 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/runtime 1729s # Created snap.yaml in /tmp/test_portal-support-snap-classic_RXQJZ2/meta/snap.yaml 1729s # Created snapctl in /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1729s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_RXQJZ2/portal-support/snap-classic/all: No such file or directory 1729s ok 3 /portal-support/snap-classic/all 1729s # End of snap-classic tests 1729s # End of portal-support tests 1729s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_RXQJZ2: No such file or directory 1729s ok - glib/portal-support-snap-classic.test 1729s # Running test: glib/gdbus-addresses.test 1729s TAP version 14 1729s # random seed: R02S03833d754f46dfe3f29109d0355c5203 1729s 1..9 1729s # Start of gdbus tests 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/empty-address/.dirs/runtime 1729s ok 1 /gdbus/empty-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unsupported-address/.dirs/runtime 1729s ok 2 /gdbus/unsupported-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/address-parsing/.dirs/runtime 1729s ok 3 /gdbus/address-parsing 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/unix-address/.dirs/runtime 1729s ok 4 /gdbus/unix-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/nonce-tcp-address/.dirs/runtime 1729s ok 5 /gdbus/nonce-tcp-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/tcp-address/.dirs/runtime 1729s ok 6 /gdbus/tcp-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/autolaunch-address/.dirs/runtime 1729s ok 7 /gdbus/autolaunch-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/mixed-address/.dirs/runtime 1729s ok 8 /gdbus/mixed-address 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WZHJZ2/gdbus/escape-address/.dirs/runtime 1729s ok 9 /gdbus/escape-address 1729s # End of gdbus tests 1729s ok - glib/gdbus-addresses.test 1729s # Running test: glib/rwlock.test 1729s TAP version 14 1729s # random seed: R02S0561afbe5235fe9d18860acc51a5c237 1729s 1..8 1729s # Start of thread tests 1729s ok 1 /thread/rwlock1 1729s ok 2 /thread/rwlock2 1729s ok 3 /thread/rwlock3 1729s ok 4 /thread/rwlock4 1729s ok 5 /thread/rwlock5 1729s ok 6 /thread/rwlock6 1731s ok 7 /thread/rwlock7 1731s # slow test /thread/rwlock7 executed in 2.28 secs 1732s ok 8 /thread/rwlock8 1732s # End of thread tests 1732s ok - glib/rwlock.test 1732s # Running test: glib/macros-c-11.test 1732s TAP version 14 1732s # random seed: R02S285ff267ce30a713e46e732dd15150ba 1732s 1..4 1732s # Start of C tests 1732s ok 1 /C/standard-11 1732s # End of C tests 1732s # Start of alignof tests 1732s ok 2 /alignof/fallback 1732s # End of alignof tests 1732s # Start of assert tests 1732s ok 3 /assert/static 1732s # End of assert tests 1732s # Start of struct tests 1732s ok 4 /struct/sizeof_member 1732s # End of struct tests 1732s ok - glib/macros-c-11.test 1732s # Running test: glib/array-test.test 1732s TAP version 14 1732s # random seed: R02S62cde8e52e78471bd39db9d4466a3e78 1732s 1..113 1732s # Start of array tests 1732s ok 1 /array/ref-count 1732s ok 2 /array/steal 1732s ok 3 /array/clear-func 1732s ok 4 /array/binary-search 1732s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1732s ok 5 /array/copy-sized 1732s ok 6 /array/overflow-append-vals 1732s ok 7 /array/overflow-set-size 1732s # Start of new tests 1732s ok 8 /array/new/zero-terminated 1732s ok 9 /array/new/take 1732s ok 10 /array/new/take-zero-terminated 1732s # Start of take tests 1732s ok 11 /array/new/take/empty 1732s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1732s # End of take tests 1732s # End of new tests 1732s # Start of set-size tests 1732s ok 13 /array/set-size/non-zero-terminated-no-clear 1732s ok 14 /array/set-size/non-zero-terminated-clear 1732s ok 15 /array/set-size/zero-terminated-no-clear 1732s ok 16 /array/set-size/zero-terminated-clear 1732s # Start of sized tests 1732s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1732s ok 18 /array/set-size/sized/non-zero-terminated-clear 1732s ok 19 /array/set-size/sized/zero-terminated-no-clear 1732s ok 20 /array/set-size/sized/zero-terminated-clear 1732s # End of sized tests 1732s # End of set-size tests 1732s # Start of append-val tests 1732s ok 21 /array/append-val/non-zero-terminated-no-clear 1732s ok 22 /array/append-val/non-zero-terminated-clear 1732s ok 23 /array/append-val/zero-terminated-no-clear 1732s ok 24 /array/append-val/zero-terminated-clear 1732s # End of append-val tests 1732s # Start of prepend-val tests 1732s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1732s ok 26 /array/prepend-val/non-zero-terminated-clear 1732s ok 27 /array/prepend-val/zero-terminated-no-clear 1732s ok 28 /array/prepend-val/zero-terminated-clear 1732s # End of prepend-val tests 1732s # Start of prepend-vals tests 1732s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1732s ok 30 /array/prepend-vals/non-zero-terminated-clear 1732s ok 31 /array/prepend-vals/zero-terminated-no-clear 1732s ok 32 /array/prepend-vals/zero-terminated-clear 1732s # End of prepend-vals tests 1732s # Start of insert-vals tests 1732s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1732s ok 34 /array/insert-vals/non-zero-terminated-clear 1732s ok 35 /array/insert-vals/zero-terminated-no-clear 1732s ok 36 /array/insert-vals/zero-terminated-clear 1732s # End of insert-vals tests 1732s # Start of remove-index tests 1732s ok 37 /array/remove-index/non-zero-terminated-no-clear 1732s ok 38 /array/remove-index/non-zero-terminated-clear 1732s ok 39 /array/remove-index/zero-terminated-no-clear 1732s ok 40 /array/remove-index/zero-terminated-clear 1732s # End of remove-index tests 1732s # Start of remove-index-fast tests 1732s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1732s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1732s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1732s ok 44 /array/remove-index-fast/zero-terminated-clear 1732s # End of remove-index-fast tests 1732s # Start of remove-range tests 1732s ok 45 /array/remove-range/non-zero-terminated-no-clear 1732s ok 46 /array/remove-range/non-zero-terminated-clear 1732s ok 47 /array/remove-range/zero-terminated-no-clear 1732s ok 48 /array/remove-range/zero-terminated-clear 1732s # End of remove-range tests 1732s # Start of copy tests 1732s ok 49 /array/copy/non-zero-terminated-no-clear 1732s ok 50 /array/copy/non-zero-terminated-clear 1732s ok 51 /array/copy/zero-terminated-no-clear 1732s ok 52 /array/copy/zero-terminated-clear 1732s # End of copy tests 1732s # Start of sort tests 1732s ok 53 /array/sort/non-zero-terminated-no-clear 1732s ok 54 /array/sort/non-zero-terminated-clear 1732s ok 55 /array/sort/zero-terminated-no-clear 1732s ok 56 /array/sort/zero-terminated-clear 1732s # End of sort tests 1732s # Start of sort-with-data tests 1732s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1732s ok 58 /array/sort-with-data/non-zero-terminated-clear 1732s ok 59 /array/sort-with-data/zero-terminated-no-clear 1732s ok 60 /array/sort-with-data/zero-terminated-clear 1732s # End of sort-with-data tests 1732s # End of array tests 1732s # Start of pointerarray tests 1732s ok 61 /pointerarray/add 1732s ok 62 /pointerarray/insert 1732s ok 63 /pointerarray/new-take 1732s ok 64 /pointerarray/new-take-null-terminated 1732s ok 65 /pointerarray/new-from-array 1732s ok 66 /pointerarray/new-from-null-terminated-array 1732s ok 67 /pointerarray/free-func 1732s ok 68 /pointerarray/array_extend_and_steal 1732s ok 69 /pointerarray/sort 1732s ok 70 /pointerarray/sort-with-data 1732s ok 71 /pointerarray/sort-values 1732s ok 72 /pointerarray/sort-values-with-data 1732s ok 73 /pointerarray/remove-range 1732s ok 74 /pointerarray/steal 1732s # Start of free tests 1732s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1732s ok 75 /pointerarray/free/null-terminated 1732s # End of free tests 1732s # Start of new-take tests 1732s ok 76 /pointerarray/new-take/empty 1732s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1732s ok 78 /pointerarray/new-take/with-free-func 1732s # End of new-take tests 1732s # Start of new-take-null-terminated tests 1732s ok 79 /pointerarray/new-take-null-terminated/empty 1732s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1732s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1732s # End of new-take-null-terminated tests 1732s # Start of new-from-array tests 1732s ok 82 /pointerarray/new-from-array/empty 1732s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1732s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1732s # End of new-from-array tests 1732s # Start of new-from-null-terminated-array tests 1732s ok 85 /pointerarray/new-from-null-terminated-array/empty 1732s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1732s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1732s # End of new-from-null-terminated-array tests 1732s # Start of ref-count tests 1732s ok 88 /pointerarray/ref-count/not-null-terminated 1732s ok 89 /pointerarray/ref-count/null-terminated 1732s # End of ref-count tests 1732s # Start of array_copy tests 1732s # /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 1732s ok 90 /pointerarray/array_copy/not-null-terminated 1732s # /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 1732s ok 91 /pointerarray/array_copy/null-terminated 1732s # End of array_copy tests 1732s # Start of array_extend tests 1732s ok 92 /pointerarray/array_extend/not-null-terminated 1732s ok 93 /pointerarray/array_extend/null-terminated 1732s # End of array_extend tests 1732s # Start of sort tests 1732s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1732s ok 94 /pointerarray/sort/example 1732s # End of sort tests 1732s # Start of sort-with-data tests 1732s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1732s ok 95 /pointerarray/sort-with-data/example 1732s # End of sort-with-data tests 1732s # Start of sort-values tests 1732s ok 96 /pointerarray/sort-values/example 1732s # End of sort-values tests 1732s # Start of sort-values-with-data tests 1732s ok 97 /pointerarray/sort-values-with-data/example 1732s # End of sort-values-with-data tests 1732s # Start of find tests 1732s ok 98 /pointerarray/find/empty 1732s ok 99 /pointerarray/find/non-empty 1732s # End of find tests 1732s # Start of steal_index tests 1732s ok 100 /pointerarray/steal_index/not-null-terminated 1732s ok 101 /pointerarray/steal_index/null-terminated 1732s # End of steal_index tests 1732s # End of pointerarray tests 1732s # Start of bytearray tests 1732s ok 102 /bytearray/steal 1732s ok 103 /bytearray/append 1732s ok 104 /bytearray/prepend 1732s ok 105 /bytearray/remove 1732s ok 106 /bytearray/remove-fast 1732s ok 107 /bytearray/remove-range 1732s ok 108 /bytearray/ref-count 1732s ok 109 /bytearray/sort 1732s ok 110 /bytearray/sort-with-data 1732s ok 111 /bytearray/new-take 1732s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1732s ok 113 /bytearray/free-to-bytes 1732s # End of bytearray tests 1732s ok - glib/array-test.test 1732s # Running test: glib/spawn-singlethread.test 1732s TAP version 14 1732s # random seed: R02Sc86c3c42b2344e9de52341ca202f8b5c 1732s 1..9 1732s # Start of gthread tests 1732s ok 1 /gthread/spawn-single-sync 1732s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1732s ok 2 /gthread/spawn-stderr-socket 1732s ok 3 /gthread/spawn-single-async 1732s # thread 1 1732s # thread 1 1732s ok 4 /gthread/spawn-single-async-with-fds 1732s ok 5 /gthread/spawn-async-with-invalid-fds 1732s ok 6 /gthread/spawn-script 1732s ok 7 /gthread/spawn-posix-spawn 1732s # Start of spawn tests 1732s ok 8 /gthread/spawn/nonexistent 1732s # FD map: 1732s # • 5 → 15 1732s # • 6 → 16 1732s # • 7 → 17 1732s # • 8 → 18 1732s # • 9 → 19 1732s # • 10 → 20 1732s # • 11 → 21 1732s # • 12 → 22 1732s # • 13 → 23 1732s # • 3 → 13 1732s ok 9 /gthread/spawn/fd-assignment-clash 1732s # End of spawn tests 1732s # End of gthread tests 1732s ok - glib/spawn-singlethread.test 1732s # Running test: glib/portal-support-snap.test 1732s TAP version 14 1732s # random seed: R02Sdfa8c248ef9d53908849b98d462ddcbb 1732s 1..7 1732s # Start of portal-support tests 1732s # Start of snap tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/no-snapctl: No such file or directory 1732s ok 1 /portal-support/snap/no-snapctl 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/none: No such file or directory 1732s ok 2 /portal-support/snap/none 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/all: No such file or directory 1732s ok 3 /portal-support/snap/all 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/desktop-only: No such file or directory 1732s ok 4 /portal-support/snap/desktop-only 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/network-only: No such file or directory 1732s ok 5 /portal-support/snap/network-only 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/gsettings-only: No such file or directory 1732s ok 6 /portal-support/snap/gsettings-only 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime 1732s # Created snap.yaml in /tmp/test_portal-support-snap_NADUZ2/meta/snap.yaml 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s # Created snapctl in /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2/portal-support/snap/updates-dynamically: No such file or directory 1732s ok 7 /portal-support/snap/updates-dynamically 1732s # End of snap tests 1732s # End of portal-support tests 1732s Unable to clean up temporary directory /tmp/test_portal-support-snap_NADUZ2: No such file or directory 1732s ok - glib/portal-support-snap.test 1732s # Running test: glib/fileattributematcher.test 1732s TAP version 14 1732s # random seed: R02Sfb663e53d07e0b328e22506e95d5f6e7 1732s 1..3 1732s # Start of fileattributematcher tests 1732s ok 1 /fileattributematcher/exact 1732s ok 2 /fileattributematcher/equality 1732s ok 3 /fileattributematcher/subtract 1732s # End of fileattributematcher tests 1732s ok - glib/fileattributematcher.test 1732s # Running test: glib/protocol.test 1732s TAP version 14 1732s # random seed: R02S28b49805492445349c0b3ffba176248f 1732s 1..9 1732s # Start of glib tests 1732s # Start of testing tests 1732s # Start of protocol tests 1732s ok 1 /glib/testing/protocol/debug 1732s ok 2 /glib/testing/protocol/info 1732s ok 3 /glib/testing/protocol/message 1732s ok 4 /glib/testing/protocol/warning 1732s ok 5 /glib/testing/protocol/critical 1732s ok 6 /glib/testing/protocol/error 1732s ok 7 /glib/testing/protocol/gtest-message 1732s ok 8 /glib/testing/protocol/test-message 1732s ok 9 /glib/testing/protocol/test-error 1732s # End of protocol tests 1732s # End of testing tests 1732s # End of glib tests 1732s ok - glib/protocol.test 1732s # Running test: glib/unix-mounts.test 1732s TAP version 14 1732s # random seed: R02S4b3785c80b0803acb4dc93c022ed5bd3 1732s 1..4 1732s # Start of unix-mounts tests 1732s ok 1 /unix-mounts/is-system-fs-type 1732s ok 2 /unix-mounts/is-system-device-path 1732s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1732s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1732s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1732s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1732s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1732s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1732s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1732s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1732s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1732s ok 3 /unix-mounts/get-mount-points 1732s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1732s ok 4 /unix-mounts/get-mount-entries 1732s # End of unix-mounts tests 1732s ok - glib/unix-mounts.test 1732s # Running test: glib/tls-bindings.test 1732s TAP version 14 1732s # random seed: R02S96a4227d923b103e9fb1b3248886b378 1732s 1..2 1732s # Start of tls-connection tests 1732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1732s ok 1 /tls-connection/get-tls-channel-binding 1732s ok 2 /tls-connection/get-dtls-channel-binding 1732s # End of tls-connection tests 1732s ok - glib/tls-bindings.test 1732s # Running test: glib/struct-info.test 1732s TAP version 14 1732s # random seed: R02S3d29bd40b766bae4652370184766342f 1732s 1..4 1732s # Start of struct-info tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7XT0Z2/struct-info/field-iterators/.dirs/runtime 1732s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1732s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1732s ok 1 /struct-info/field-iterators 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7XT0Z2/struct-info/sizeof-gvalue/.dirs/runtime 1732s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1732s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1732s ok 2 /struct-info/sizeof-gvalue 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7XT0Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1732s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1732s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1732s ok 3 /struct-info/is-pointer-for-struct-method-arg 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7XT0Z2/struct-info/boxed/.dirs/runtime 1732s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1732s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1732s ok 4 /struct-info/boxed 1732s # End of struct-info tests 1732s ok - glib/struct-info.test 1732s # Running test: glib/io-channel.test 1732s TAP version 14 1732s # random seed: R02S6642e1bad92d546aa2e64f33c66ff497 1732s 1..2 1732s # Start of io-channel tests 1732s # Line one 1732s # 1732s # Line two 1732s # 1732s # Line three 1732s # 1732s # /* Hello */ 1732s # 1732s # \x1234\x567890\x6666 1732s # 1732s # read 62 bytes, wrote 62 bytes 1732s ok 1 /io-channel/read-write 1732s # Start of read-line tests 1732s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1732s ok 2 /io-channel/read-line/embedded-nuls 1732s # End of read-line tests 1732s # End of io-channel tests 1732s ok - glib/io-channel.test 1732s # Running test: glib/gdbus-threading.test 1732s TAP version 14 1732s # random seed: R02S4baaee0fd8931daa80706dee73aec2a5 1732s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1732s ok - glib/gdbus-threading.test 1732s # Running test: glib/gdbus-error.test 1732s TAP version 14 1732s # random seed: R02Sfa3428a7ede995838bb05cc044897da7 1732s 1..4 1732s # Start of gdbus tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FJYZZ2/gdbus/registered-errors/.dirs/runtime 1732s ok 1 /gdbus/registered-errors 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FJYZZ2/gdbus/unregistered-errors/.dirs/runtime 1732s ok 2 /gdbus/unregistered-errors 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FJYZZ2/gdbus/transparent-gerror/.dirs/runtime 1732s ok 3 /gdbus/transparent-gerror 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FJYZZ2/gdbus/register-error/.dirs/runtime 1732s ok 4 /gdbus/register-error 1732s # End of gdbus tests 1732s ok - glib/gdbus-error.test 1732s # Running test: glib/function-info.test 1732s TAP version 14 1732s # random seed: R02S62a1a36b6b1ebf801271da91dd70bd21 1732s 1..1 1732s # Start of function-info tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_C4PZZ2/function-info/invoker/.dirs/runtime 1732s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1732s # /function-info/invoker summary: Test preparing a function invoker 1732s ok 1 /function-info/invoker 1732s # End of function-info tests 1732s ok - glib/function-info.test 1732s # Running test: glib/portal-support-flatpak-gsettings-only.test 1732s TAP version 14 1732s # random seed: R02S79030de93074d4be003e0b1ae57a8985 1732s 1..1 1732s # Start of portal-support tests 1732s # Start of flatpak tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/runtime 1732s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_3JLZZ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1732s ok 1 /portal-support/flatpak/gsettings 1732s # End of flatpak tests 1732s # End of portal-support tests 1732s ok - glib/portal-support-flatpak-gsettings-only.test 1732s # Running test: glib/node.test 1732s TAP version 14 1732s # random seed: R02Sea4ed56acd2c18e7f53e38901ce5637d 1732s 1..6 1732s # Start of node tests 1732s ok 1 /node/allocation 1732s ok 2 /node/construction 1732s ok 3 /node/traversal 1732s ok 4 /node/misc 1732s ok 5 /node/unlink 1732s ok 6 /node/copy 1732s # End of node tests 1732s ok - glib/node.test 1732s # Running test: glib/mutex.test 1732s TAP version 14 1732s # random seed: R02S7b70a671c59028252eb687cb91e07305 1732s 1..17 1732s # Start of thread tests 1732s ok 1 /thread/mutex1 1732s ok 2 /thread/mutex2 1732s ok 3 /thread/mutex3 1732s ok 4 /thread/mutex4 1734s # Executing: glib/mutex.test 1734s ok 5 /thread/mutex5 1734s # slow test /thread/mutex5 executed in 1.99 secs 1734s # Start of mutex tests 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1734s ok 6 /thread/mutex/errno 1734s # Start of perf tests 1734s # max perf: 1.000000 mips 1734s ok 7 /thread/mutex/perf/uncontended 1734s # Start of contended tests 1734s # max perf: 2.000000 mips 1734s ok 8 /thread/mutex/perf/contended/1 1734s # max perf: 3.000000 mips 1734s ok 9 /thread/mutex/perf/contended/2 1734s # max perf: 0.125000 mips 1734s ok 10 /thread/mutex/perf/contended/3 1734s # max perf: 0.185185 mips 1734s ok 11 /thread/mutex/perf/contended/4 1734s # max perf: 0.214286 mips 1734s ok 12 /thread/mutex/perf/contended/5 1734s # max perf: 0.166667 mips 1734s ok 13 /thread/mutex/perf/contended/6 1734s # max perf: 0.235294 mips 1734s ok 14 /thread/mutex/perf/contended/7 1734s # max perf: 0.692308 mips 1734s ok 15 /thread/mutex/perf/contended/8 1734s # max perf: 0.057471 mips 1734s ok 16 /thread/mutex/perf/contended/9 1734s # max perf: 0.234043 mips 1734s ok 17 /thread/mutex/perf/contended/10 1734s # End of contended tests 1734s # End of perf tests 1734s # End of mutex tests 1734s # End of thread tests 1734s ok - glib/mutex.test 1734s # Running test: glib/defaultvalue.test 1734s TAP version 14 1734s # random seed: R02Sce7057d0f9e58c247c7eaa4920730dd1 1734s 1..84 1734s # Start of Default Values tests 1734s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1734s ok 2 /Default Values/GAppLaunchContext 1734s ok 3 /Default Values/GApplicationCommandLine 1734s # skipping GApplication:is-remote 1734s ok 4 /Default Values/GApplication 1734s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1734s ok 6 /Default Values/GBindingGroup 1734s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1734s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1734s ok 9 /Default Values/GBytesIcon 1734s ok 10 /Default Values/GCancellable 1734s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1734s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1734s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1734s ok 14 /Default Values/GCredentials 1734s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1734s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1734s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1734s ok 18 /Default Values/GDBusAuthObserver 1734s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1734s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1734s ok 21 /Default Values/GDBusMessage 1734s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1734s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1734s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1734s ok 25 /Default Values/GDBusObjectProxy 1734s ok 26 /Default Values/GDBusObjectSkeleton 1734s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1734s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1734s ok 29 /Default Values/GEmblem 1734s ok 30 /Default Values/GEmblemedIcon 1734s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1734s ok 32 /Default Values/GFileInfo 1734s ok 33 /Default Values/GFileInputStream 1734s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1734s ok 35 /Default Values/GFileOutputStream 1734s ok 36 /Default Values/GFilenameCompleter 1734s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1734s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1734s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1734s ok 40 /Default Values/GInitiallyUnowned 1734s ok 41 /Default Values/GIOModule 1734s ok 42 /Default Values/GListStore 1734s ok 43 /Default Values/GMemoryInputStream 1734s ok 44 /Default Values/GMemoryOutputStream 1734s ok 45 /Default Values/GMenu 1734s ok 46 /Default Values/GMenuItem 1734s ok 47 /Default Values/GMountOperation 1734s ok 48 /Default Values/GNativeSocketAddress 1734s ok 49 /Default Values/GNetworkAddress 1734s ok 50 /Default Values/GNetworkService 1734s ok 51 /Default Values/GNotification 1734s ok 52 /Default Values/GObject 1734s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1734s # skipping GProxyAddressEnumerator:proxy-resolver 1734s ok 54 /Default Values/GProxyAddressEnumerator 1734s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1734s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1734s ok 57 /Default Values/GSignalGroup 1734s ok 58 /Default Values/GSimpleAction 1734s ok 59 /Default Values/GSimpleActionGroup 1734s ok 60 /Default Values/GSimpleAsyncResult 1734s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1734s ok 62 /Default Values/GSimplePermission 1734s ok 63 /Default Values/GSimpleProxyResolver 1734s # skipping GSocketClient:proxy-resolver 1734s ok 64 /Default Values/GSocketClient 1734s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1734s ok 66 /Default Values/GSocket # SKIP initialization failed 1734s ok 67 /Default Values/GSocketListener 1734s ok 68 /Default Values/GSocketService 1734s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1734s ok 70 /Default Values/GSubprocessLauncher 1734s # GLib-GIO-DEBUG: GTask 0x4da7ff0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1734s ok 71 /Default Values/GTask 1734s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1734s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1734s ok 74 /Default Values/GTestDBus 1734s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1734s ok 76 /Default Values/GThreadedSocketService 1734s ok 77 /Default Values/GTlsInteraction 1734s ok 78 /Default Values/GTlsPassword 1734s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1734s ok 80 /Default Values/GUnixFDList 1734s ok 81 /Default Values/GVfs 1734s ok 82 /Default Values/GVolumeMonitor 1734s ok 83 /Default Values/GZlibCompressor 1734s ok 84 /Default Values/GZlibDecompressor 1734s # End of Default Values tests 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s ok - glib/defaultvalue.test 1734s # Running test: glib/g-file-info-filesystem-readonly.test 1734s TAP version 14 1734s # random seed: R02Sf2e78a349418a9c61345d542042f115e 1734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1734s 1..2 1734s # Start of g-file-info-filesystem-readonly tests 1734s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1734s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1734s # End of g-file-info-filesystem-readonly tests 1734s ok - glib/g-file-info-filesystem-readonly.test 1734s # Running test: glib/data-input-stream.test 1734s TAP version 14 1734s # random seed: R02Sc920c966898a3579e4fa3e046466b3fe 1734s 1..10 1734s # Start of data-input-stream tests 1734s ok 1 /data-input-stream/basic 1734s ok 2 /data-input-stream/read-lines-LF 1734s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1734s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1734s ok 5 /data-input-stream/read-lines-CR 1734s ok 6 /data-input-stream/read-lines-CR-LF 1734s ok 7 /data-input-stream/read-lines-any 1734s ok 8 /data-input-stream/read-until 1734s ok 9 /data-input-stream/read-upto 1734s ok 10 /data-input-stream/read-int 1734s # End of data-input-stream tests 1734s ok - glib/data-input-stream.test 1734s # Running test: glib/memory-monitor.test 1734s TAP version 14 1734s # random seed: R02S9a9489b3f88fcd0e28818d6c766657f7 1734s 1..1 1734s # Start of memory-monitor tests 1734s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1734s ok 1 /memory-monitor/default 1734s # End of memory-monitor tests 1734s ok - glib/memory-monitor.test 1734s # Running test: glib/queue.test 1735s TAP version 14 1735s # random seed: R02S54f635022b43d5655891c2e49081f33e 1735s 1..12 1735s # Start of queue tests 1735s ok 1 /queue/basic 1735s ok 2 /queue/copy 1735s ok 3 /queue/off-by-one 1735s ok 4 /queue/find-custom 1735s ok 5 /queue/static 1735s ok 6 /queue/clear 1735s ok 7 /queue/free-full 1735s ok 8 /queue/clear-full 1735s ok 9 /queue/insert-sibling-link 1735s ok 10 /queue/push-nth-link 1735s # Start of clear-full tests 1735s ok 11 /queue/clear-full/noop 1735s # End of clear-full tests 1735s # Start of random tests 1735s ok 12 /queue/random/seed:1378651688 1735s # End of random tests 1735s # End of queue tests 1735s ok - glib/queue.test 1735s # Running test: glib/markup-parse.test 1735s TAP version 14 1735s # random seed: R02Sd55ad51abc5b042ab3928bd935734a0e 1735s 1..71 1735s # Start of markup tests 1735s # Start of parse tests 1735s ok 1 /markup/parse/fail-1.gmarkup 1735s ok 2 /markup/parse/fail-10.gmarkup 1735s ok 3 /markup/parse/fail-11.gmarkup 1735s ok 4 /markup/parse/fail-12.gmarkup 1735s ok 5 /markup/parse/fail-13.gmarkup 1735s ok 6 /markup/parse/fail-14.gmarkup 1735s ok 7 /markup/parse/fail-15.gmarkup 1735s ok 8 /markup/parse/fail-16.gmarkup 1735s ok 9 /markup/parse/fail-17.gmarkup 1735s ok 10 /markup/parse/fail-18.gmarkup 1735s ok 11 /markup/parse/fail-19.gmarkup 1735s ok 12 /markup/parse/fail-2.gmarkup 1735s ok 13 /markup/parse/fail-20.gmarkup 1735s ok 14 /markup/parse/fail-21.gmarkup 1735s ok 15 /markup/parse/fail-22.gmarkup 1735s ok 16 /markup/parse/fail-23.gmarkup 1735s ok 17 /markup/parse/fail-24.gmarkup 1735s ok 18 /markup/parse/fail-25.gmarkup 1735s ok 19 /markup/parse/fail-26.gmarkup 1735s ok 20 /markup/parse/fail-27.gmarkup 1735s ok 21 /markup/parse/fail-28.gmarkup 1735s ok 22 /markup/parse/fail-29.gmarkup 1735s ok 23 /markup/parse/fail-3.gmarkup 1735s ok 24 /markup/parse/fail-30.gmarkup 1735s ok 25 /markup/parse/fail-31.gmarkup 1735s ok 26 /markup/parse/fail-32.gmarkup 1735s ok 27 /markup/parse/fail-33.gmarkup 1735s ok 28 /markup/parse/fail-34.gmarkup 1735s ok 29 /markup/parse/fail-35.gmarkup 1735s ok 30 /markup/parse/fail-36.gmarkup 1735s ok 31 /markup/parse/fail-37.gmarkup 1735s ok 32 /markup/parse/fail-38.gmarkup 1735s ok 33 /markup/parse/fail-39.gmarkup 1735s ok 34 /markup/parse/fail-4.gmarkup 1735s ok 35 /markup/parse/fail-40.gmarkup 1735s ok 36 /markup/parse/fail-41.gmarkup 1735s ok 37 /markup/parse/fail-42.gmarkup 1735s ok 38 /markup/parse/fail-43.gmarkup 1735s ok 39 /markup/parse/fail-44.gmarkup 1735s ok 40 /markup/parse/fail-45.gmarkup 1735s ok 41 /markup/parse/fail-46.gmarkup 1735s ok 42 /markup/parse/fail-47.gmarkup 1735s ok 43 /markup/parse/fail-48.gmarkup 1735s ok 44 /markup/parse/fail-49.gmarkup 1735s ok 45 /markup/parse/fail-5.gmarkup 1735s ok 46 /markup/parse/fail-50.gmarkup 1735s ok 47 /markup/parse/fail-51.gmarkup 1735s ok 48 /markup/parse/fail-52.gmarkup 1735s ok 49 /markup/parse/fail-53.gmarkup 1735s ok 50 /markup/parse/fail-54.gmarkup 1735s ok 51 /markup/parse/fail-6.gmarkup 1735s ok 52 /markup/parse/fail-7.gmarkup 1735s ok 53 /markup/parse/fail-8.gmarkup 1735s ok 54 /markup/parse/fail-9.gmarkup 1735s ok 55 /markup/parse/valid-1.gmarkup 1735s ok 56 /markup/parse/valid-10.gmarkup 1735s ok 57 /markup/parse/valid-11.gmarkup 1735s ok 58 /markup/parse/valid-12.gmarkup 1735s ok 59 /markup/parse/valid-13.gmarkup 1735s ok 60 /markup/parse/valid-14.gmarkup 1735s ok 61 /markup/parse/valid-15.gmarkup 1735s ok 62 /markup/parse/valid-16.gmarkup 1735s ok 63 /markup/parse/valid-17.gmarkup 1735s ok 64 /markup/parse/valid-2.gmarkup 1735s ok 65 /markup/parse/valid-3.gmarkup 1735s ok 66 /markup/parse/valid-4.gmarkup 1735s ok 67 /markup/parse/valid-5.gmarkup 1735s ok 68 /markup/parse/valid-6.gmarkup 1735s ok 69 /markup/parse/valid-7.gmarkup 1735s ok 70 /markup/parse/valid-8.gmarkup 1735s ok 71 /markup/parse/valid-9.gmarkup 1735s # End of parse tests 1735s # End of markup tests 1735s ok - glib/markup-parse.test 1735s # Running test: glib/testfilemonitor.test 1735s TAP version 14 1735s # random seed: R02S81f662dec5a472ab18a323bf04239ff9 1735s 1..8 1735s # Start of monitor tests 1735s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1735s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1735s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1735s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s # Start of file tests 1735s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1735s # End of file tests 1735s # End of monitor tests 1735s ok - glib/testfilemonitor.test 1735s # Running test: glib/refstring.test 1735s TAP version 14 1735s # random seed: R02S230c8162c9107e6fc381ade8c94b1f63 1735s 1..6 1735s # Start of refstring tests 1735s # s = 'hello, world' (0x7ef7f00) 1735s ok 1 /refstring/base 1735s ok 2 /refstring/length 1735s ok 3 /refstring/length-auto 1735s ok 4 /refstring/length-nuls 1735s # s = 'hello, world' (0x7ef0000) 1735s # p = s = 'hello, world' (0x7ef0000) 1735s # releasing p[0x7ef0000] ('hello, world') 1735s # p = 'goodbye, world' (0x7ef0028) 1735s # releasing p[0x7ef0028] ('goodbye, world') 1735s # releasing s[0x7ef0000] ('hello, world') 1735s ok 5 /refstring/intern 1736s ok 6 /refstring/intern-thread-safety 1736s # slow test /refstring/intern-thread-safety executed in 0.91 secs 1736s # End of refstring tests 1736s ok - glib/refstring.test 1736s # Running test: glib/signalgroup.test 1736s TAP version 14 1736s # random seed: R02Se34d9aa9945ea7308e774cbab7830510 1736s 1..9 1736s # Start of GObject tests 1736s # Start of SignalGroup tests 1736s ok 1 /GObject/SignalGroup/invalid 1736s ok 2 /GObject/SignalGroup/simple 1736s ok 3 /GObject/SignalGroup/changing-target 1736s ok 4 /GObject/SignalGroup/blocking 1736s ok 5 /GObject/SignalGroup/weak-ref-target 1736s ok 6 /GObject/SignalGroup/connect-object 1736s ok 7 /GObject/SignalGroup/signal-parsing 1736s ok 8 /GObject/SignalGroup/properties 1736s ok 9 /GObject/SignalGroup/interface 1736s # Start of signal-parsing tests 1736s # End of signal-parsing tests 1736s # End of SignalGroup tests 1736s # End of GObject tests 1736s ok - glib/signalgroup.test 1736s # Running test: glib/stream-rw_all.test 1736s TAP version 14 1736s # random seed: R02Sd0da883d06e04a50067962c77c671688 1736s 1..3 1736s # Start of stream tests 1736s # Start of read_all_async tests 1736s ok 1 /stream/read_all_async/memory 1736s # End of read_all_async tests 1736s # Start of write_all_async tests 1736s ok 2 /stream/write_all_async/memory 1736s # End of write_all_async tests 1736s # Start of read_write_all_async tests 1736s ok 3 /stream/read_write_all_async/pipe 1736s # End of read_write_all_async tests 1736s # End of stream tests 1736s ok - glib/stream-rw_all.test 1736s # Running test: glib/performance.test 1736s Running test simple-construction 1739s # Executing: glib/performance.test 1744s # Executing: glib/performance.test 1745s simple-construction: Millions of constructed objects per second: 9.679 1745s Running test simple-construction1 1748s simple-construction1: Millions of constructed objects per second: 65.529 1748s Running test complex-construction 1749s # Executing: glib/performance.test 1752s complex-construction: Millions of constructed objects per second: 4.229 1752s Running test complex-construction1 1754s # Executing: glib/performance.test 1757s complex-construction1: Millions of constructed objects per second: 6.378 1757s Running test complex-construction2 1759s # Executing: glib/performance.test 1763s not ok - Test timed out after 300 seconds 1763s complex-construction2: Millions of constructed objects per second: 7.189 1763s Running test finalization 1764s # Executing: glib/performance.test 1764s finalization: Millions of finalized objects per second: 1.709 1764s Running test type-check 1765s type-check: Million type checks per second: 39.88 1765s Running test emit-unhandled 1766s emit-unhandled: Emissions per second: 2552510 1766s Running test emit-unhandled-empty 1767s emit-unhandled-empty: Emissions per second: 23673001 1767s Running test emit-unhandled-generic 1768s emit-unhandled-generic: Emissions per second: 3691674 1768s Running test emit-unhandled-generic-empty 1769s # Executing: glib/performance.test 1770s emit-unhandled-generic-empty: Emissions per second: 23903513 1770s Running test emit-unhandled-args 1771s emit-unhandled-args: Emissions per second: 2240305 1771s Running test emit-handled 1772s emit-handled: Emissions per second: 1688543 1772s Running test emit-handled-empty 1773s emit-handled-empty: Emissions per second: 1751127 1773s Running test emit-handled-generic 1774s # Executing: glib/performance.test 1774s emit-handled-generic: Emissions per second: 1748433 1774s Running test emit-handled-generic-empty 1775s emit-handled-generic-empty: Emissions per second: 2978045 1775s Running test emit-handled-args 1776s emit-handled-args: Emissions per second: 1562116 1776s Running test notify-unhandled 1777s notify-unhandled: Notify (unhandled) per second: 11112121 1777s Running test notify-by-pspec-unhandled 1778s notify-by-pspec-unhandled: Notify (unhandled) per second: 75673730 1778s Running test notify-handled 1779s # Executing: glib/performance.test 1779s notify-handled: Notify per second: 1026398 1779s Running test notify-by-pspec-handled 1780s notify-by-pspec-handled: Notify per second: 1118627 1780s Running test property-set 1781s property-set: Property set per second: 10241384 1781s Running test property-get 1782s property-get: Property get per second: 9439107 1782s Running test refcount 1783s refcount: Million refs+unref per second: 16.89 1783s Running test refcount-1 1784s # Executing: glib/performance.test 1784s refcount-1: Million refs+unref per second: 41.10 1784s Running test refcount-toggle 1786s refcount-toggle: Million refs+unref per second: 24.41 1786s ok - glib/performance.test 1786s # Running test: glib/trash.test 1786s TAP version 14 1786s # random seed: R02S7c98f6d12eb58794a1b833975eaa60fc 1786s 1..3 1786s # Start of trash tests 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1786s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1786s # File: /tmp/test-trashJRJXZ2 (parent st_dev: 64) 1786s # Home: /home/ubuntu (st_dev: 64) 1786s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1786s # Target: /home/ubuntu/.local (mount: /) 1786s # Tmp: /tmp/test-trashOHHXZ2 (mount: /) 1786s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1786s ok 3 /trash/long-filename 1786s # End of trash tests 1786s ok - glib/trash.test 1786s # Running test: glib/basic-signals.test 1786s TAP version 14 1786s # random seed: R02Sd1e8c8e3e5e1f4c7da9f5d6f921d2e51 1786s 1..1 1786s # Start of gobject tests 1786s ok 1 /gobject/basic-signals 1786s # End of gobject tests 1786s ok - glib/basic-signals.test 1786s # Running test: glib/gdbus-serialization.test 1786s TAP version 14 1786s # random seed: R02S798d51259d422c0c1522bd436c75f4dc 1786s 1..18 1786s # Start of gdbus tests 1786s # Start of message-serialize tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/basic/.dirs/runtime 1786s ok 1 /gdbus/message-serialize/basic 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/complex/.dirs/runtime 1786s ok 2 /gdbus/message-serialize/complex 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/invalid/.dirs/runtime 1786s ok 3 /gdbus/message-serialize/invalid 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/.dirs/runtime 1786s ok 4 /gdbus/message-serialize/header-checks 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/double-array/.dirs/runtime 1786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1786s ok 5 /gdbus/message-serialize/double-array 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/empty-structure/.dirs/runtime 1786s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1786s ok 6 /gdbus/message-serialize/empty-structure 1786s # Start of header-checks tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1786s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1786s ok 7 /gdbus/message-serialize/header-checks/valid 1786s # End of header-checks tests 1786s # End of message-serialize tests 1786s # Start of message-parse tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1786s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/non-signature-header/.dirs/runtime 1786s ok 9 /gdbus/message-parse/non-signature-header 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1786s ok 10 /gdbus/message-parse/empty-signature-header 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1786s ok 11 /gdbus/message-parse/multiple-signature-header 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1786s ok 12 /gdbus/message-parse/over-long-signature-header 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1786s ok 13 /gdbus/message-parse/deep-header-nesting 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1786s ok 14 /gdbus/message-parse/deep-body-nesting 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/truncated/.dirs/runtime 1786s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1786s ok 15 /gdbus/message-parse/truncated 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/empty-structure/.dirs/runtime 1786s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1786s ok 16 /gdbus/message-parse/empty-structure 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/missing-header/.dirs/runtime 1786s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1786s ok 17 /gdbus/message-parse/missing-header 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_J92XZ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1786s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1786s ok 18 /gdbus/message-parse/invalid-header-type 1786s # End of message-parse tests 1786s # End of gdbus tests 1786s ok - glib/gdbus-serialization.test 1786s # Running test: glib/string.test 1786s TAP version 14 1786s # random seed: R02S6cb43a2fa70fe493c0108b7a811edbdd 1786s 1..23 1786s # Start of string tests 1786s ok 1 /string/test-string-chunks 1786s ok 2 /string/test-string-chunk-insert 1786s ok 3 /string/test-string-new 1786s ok 4 /string/test-string-printf 1786s ok 5 /string/test-string-assign 1786s ok 6 /string/test-string-append-c 1786s ok 7 /string/test-string-append 1786s ok 8 /string/test-string-append-vprintf 1786s ok 9 /string/test-string-prepend-c 1786s ok 10 /string/test-string-prepend 1786s ok 11 /string/test-string-insert 1786s ok 12 /string/test-string-insert-unichar 1786s ok 13 /string/test-string-equal 1786s ok 14 /string/test-string-truncate 1786s ok 15 /string/test-string-overwrite 1786s ok 16 /string/test-string-nul-handling 1786s ok 17 /string/test-string-up-down 1786s ok 18 /string/test-string-set-size 1786s ok 19 /string/test-string-to-bytes 1786s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1786s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1786s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1786s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1786s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1786s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1786s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1786s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1786s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1786s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1786s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1786s # -> 4 replacements, "fd fr fals" 1786s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1786s # -> 3 replacements, "aaaaaaaaa" 1786s # 7: Replacing "a" with "" (limit 0) in "aaa" 1786s # -> 3 replacements, "" 1786s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1786s # -> 1 replacements, "bba" 1786s # 9: Replacing "" with "bar" (limit 0) in "foo" 1786s # -> 4 replacements, "barfbarobarobar" 1786s # 10: Replacing "" with "x" (limit 0) in "" 1786s # -> 1 replacements, "x" 1786s # 11: Replacing "" with "" (limit 0) in "" 1786s # -> 1 replacements, "" 1786s ok 20 /string/test-string-replace 1786s ok 21 /string/test-string-steal 1786s ok 22 /string/test-string-new-take 1786s # Start of test-string-new-take tests 1786s ok 23 /string/test-string-new-take/null 1786s # End of test-string-new-take tests 1786s # End of string tests 1786s ok - glib/string.test 1786s # Running test: glib/cxx.test 1786s TAP version 14 1786s # random seed: R02Saa661aa878cb93fe03a7264e76015ce4 1786s 1..2 1786s # Start of gtask tests 1786s # 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. 1786s ok 1 /gtask/name 1786s # Start of name tests 1786s # 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. 1786s ok 2 /gtask/name/macro-wrapper 1786s # End of name tests 1786s # End of gtask tests 1786s ok - glib/cxx.test 1786s # Running test: glib/filter-streams.test 1786s TAP version 14 1786s # random seed: R02S90d45a7822ef8cfb71c25b4ae2d5aca8 1786s 1..4 1786s # Start of filter-stream tests 1786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1786s ok 1 /filter-stream/input 1786s ok 2 /filter-stream/output 1786s ok 3 /filter-stream/async-input 1786s ok 4 /filter-stream/async-output 1786s # End of filter-stream tests 1786s ok - glib/filter-streams.test 1786s # Running test: glib/file.test 1786s TAP version 14 1786s # random seed: R02S7988e6d96a02ed699df463a2b22f68f7 1786s 1..55 1786s # Start of file tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/basic/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/basic/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/basic/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/basic/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/basic/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/basic/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/basic/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/basic/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/basic/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/basic/.dirs/runtime 1786s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1786s ok 1 /file/basic 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/build-filename/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/build-filename/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/build-filename/.dirs/runtime 1786s ok 2 /file/build-filename 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/build-filenamev/.dirs/runtime 1786s ok 3 /file/build-filenamev 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/parent/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/parent/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/parent/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/parent/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/parent/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/parent/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/parent/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/parent/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/parent/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/parent/.dirs/runtime 1786s ok 4 /file/parent 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/child/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/child/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/child/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/child/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/child/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/child/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/child/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/child/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/child/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/child/.dirs/runtime 1786s ok 5 /file/child 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/empty-path/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/empty-path/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/empty-path/.dirs/runtime 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1786s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1786s ok 6 /file/empty-path 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/type/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/type/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/type/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/type/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/type/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/type/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/type/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/type/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/type/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/type/.dirs/runtime 1786s ok 7 /file/type 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/parse-name/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/parse-name/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/parse-name/.dirs/runtime 1786s ok 8 /file/parse-name 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace-load/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace-load/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace-load/.dirs/runtime 1786s ok 9 /file/replace-load 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace-cancel/.dirs/runtime 1786s # Bug Reference: https://bugzilla.gnome.org/629301 1786s ok 10 /file/replace-cancel 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace-symlink/.dirs/runtime 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1786s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1786s # Using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_symlink_5VKVZ2 1786s ok 11 /file/replace-symlink 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-new-tmp/.dirs/runtime 1786s ok 12 /file/async-new-tmp 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-new-tmp-dir/.dirs/runtime 1786s ok 13 /file/async-new-tmp-dir 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-delete/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-delete/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-delete/.dirs/runtime 1786s ok 14 /file/async-delete 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-make-symlink/.dirs/runtime 1786s ok 15 /file/async-make-symlink 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/copy-preserve-mode/.dirs/runtime 1786s # Current umask: 2 1786s # Vector 0 1786s # Vector 1 1786s # Vector 2 1786s # Vector 3 1786s # Vector 4 1786s # Vector 5 1786s # Vector 6 1786s # Vector 7 1786s # Vector 8 1786s # Vector 9 1786s # Vector 10 1786s ok 16 /file/copy-preserve-mode 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/copy-async-with-closures/.dirs/runtime 1786s ok 17 /file/copy-async-with-closures 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/measure/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/measure/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/measure/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/measure/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/measure/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/measure/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/measure/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/measure/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/measure/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/measure/.dirs/runtime 1786s ok 18 /file/measure 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/measure-async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/measure-async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/measure-async/.dirs/runtime 1786s ok 19 /file/measure-async 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/load-bytes/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/load-bytes/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/load-bytes/.dirs/runtime 1786s ok 20 /file/load-bytes 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/load-bytes-async/.dirs/runtime 1786s ok 21 /file/load-bytes-async 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/load-bytes-4gb/.dirs/runtime 1786s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/load-contents-4gb/.dirs/runtime 1786s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/load-contents-4gb-async/.dirs/runtime 1786s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/.dirs/runtime 1786s ok 25 /file/writev 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/build-attribute-list-for-copy/.dirs/runtime 1786s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1786s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1786s # 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::* 1786s # 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::* 1786s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1786s # Attributes for copy: standard::size,xattr::* 1786s # Attributes for copy: standard::size,unix::mode,xattr::* 1786s ok 26 /file/build-attribute-list-for-copy 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/move_async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/move_async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/move_async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/move_async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/move_async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/move_async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/move_async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/move_async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/move_async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/move_async/.dirs/runtime 1786s ok 27 /file/move_async 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/move-async-with-closures/.dirs/runtime 1786s ok 28 /file/move-async-with-closures 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/query-zero-length-content-type/.dirs/runtime 1786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1786s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1786s ok 29 /file/query-zero-length-content-type 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/runtime 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/data/applications 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/config 1786s ok 30 /file/query-default-handler-file 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/runtime 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/data/applications 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config 1786s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CUQUZ2/file/query-default-handler-file/.dirs/config to /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config 1786s ok 31 /file/query-default-handler-file-async 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/runtime 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/data/applications 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config 1786s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CUQUZ2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config 1786s ok 32 /file/query-default-handler-uri 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/runtime 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/data/applications 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/config 1786s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CUQUZ2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/config 1786s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CUQUZ2/file/query-default-handler-uri-async/.dirs/config 1786s ok 33 /file/query-default-handler-uri-async 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/enumerator-cancellation/.dirs/runtime 1786s ok 34 /file/enumerator-cancellation 1786s # Start of async-create-delete tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-create-delete/0/.dirs/runtime 1786s ok 35 /file/async-create-delete/0 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-create-delete/1/.dirs/runtime 1786s ok 36 /file/async-create-delete/1 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-create-delete/10/.dirs/runtime 1786s ok 37 /file/async-create-delete/10 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-create-delete/25/.dirs/runtime 1786s ok 38 /file/async-create-delete/25 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/async-create-delete/4096/.dirs/runtime 1786s ok 39 /file/async-create-delete/4096 1786s # End of async-create-delete tests 1786s # Start of replace-symlink tests 1786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/home 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/cache 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/system-config2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/config 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/system-data2 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/data 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/state 1786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace-symlink/using-etag/.dirs/runtime 1786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1786s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1786s # Using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_symlink_using_etag_B93MZ2 1788s ok 40 /file/replace-symlink/using-etag 1788s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1788s # End of replace-symlink tests 1788s # Start of replace tests 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace/write-only/.dirs/runtime 1788s # /file/replace/write-only summary: Test various situations for g_file_replace() 1788s # Current umask: 2 1788s # Test 0, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_Q10MZ2 1788s # Test 1, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_RG1MZ2 1788s # Test 2, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_XXWMZ2 1788s # Test 3, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_HXSMZ2 1788s # Test 4, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_YETMZ2 1788s # Test 5, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_5QTMZ2 1788s # Test 6, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MGPMZ2 1788s # Test 7, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_01RMZ2 1788s # Test 8, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_G8RMZ2 1788s # Test 9, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_C07KZ2 1788s # Test 10, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MF9KZ2 1788s # Test 11, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2Q4KZ2 1788s # Test 12, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_CL4KZ2 1788s # Test 13, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_D24KZ2 1788s # Test 14, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_QM6KZ2 1788s # Test 15, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_771KZ2 1788s # Test 16, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_Y43KZ2 1788s # Test 17, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_UJZKZ2 1788s # Test 18, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_Z0UKZ2 1788s # Test 19, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_PVWKZ2 1788s # Test 20, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_YWXKZ2 1788s # Test 21, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_TLTKZ2 1788s # Test 22, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_JFPKZ2 1788s # Test 23, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_EQPKZ2 1788s # Test 24, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_P6QKZ2 1788s # Test 25, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_40MKZ2 1788s # Test 26, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_KCNKZ2 1788s # Test 27, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_0TNKZ2 1788s # Test 28, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MOXLZ2 1788s # Test 29, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_CEZLZ2 1788s # Test 30, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_44TLZ2 1788s # Test 31, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_HHULZ2 1788s # Test 32, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_F8VLZ2 1788s # Test 33, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_OGSLZ2 1788s # Test 34, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_TUSLZ2 1788s # Test 35, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_AATLZ2 1788s # Test 36, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_X1OLZ2 1788s # Test 37, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_JMKLZ2 1788s # Test 38, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_L2LLZ2 1788s # Test 39, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_LOHLZ2 1788s # Test 40, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_YCJLZ2 1788s # Test 41, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_30ELZ2 1788s # Test 42, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2HGLZ2 1788s # Test 43, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MBCLZ2 1788s # Test 44, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_ZZDLZ2 1788s # Test 45, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_1DTJZ2 1788s # Test 46, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_V2UJZ2 1788s # Test 47, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_IHVJZ2 1788s # Test 48, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2MQJZ2 1788s # We do not have CAP_DAC_OVERRIDE or equivalent 1788s ok 41 /file/replace/write-only 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/replace/read-write/.dirs/runtime 1788s # /file/replace/read-write summary: Test various situations for g_file_replace() 1788s # Current umask: 2 1788s # Test 0, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_QUQJZ2 1788s # Test 1, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_9ERJZ2 1788s # Test 2, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_KXMJZ2 1788s # Test 3, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_5APJZ2 1788s # Test 4, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_7MPJZ2 1788s # Test 5, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_0TJJZ2 1788s # Test 6, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_IEMJZ2 1788s # Test 7, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_UFIJZ2 1788s # Test 8, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_3IIJZ2 1788s # Test 9, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_S7IJZ2 1788s # Test 10, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2HEJZ2 1788s # Test 11, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_FAGJZ2 1788s # Test 12, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_8CAJZ2 1788s # Test 13, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_SRAJZ2 1788s # Test 14, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_ITCJZ2 1788s # Test 15, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MH8IZ2 1788s # Test 16, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_WRIKZ2 1788s # Test 17, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_D6JKZ2 1788s # Test 18, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_OTFKZ2 1788s # Test 19, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_MUHKZ2 1788s # Test 20, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_Y2CKZ2 1788s # Test 21, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_S9EKZ2 1788s # Test 22, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_EMAKZ2 1788s # Test 23, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_QABKZ2 1788s # Test 24, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2M6JZ2 1788s # Test 25, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_N07JZ2 1788s # Test 26, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_CX8JZ2 1788s # Test 27, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_2S8JZ2 1788s # Test 28, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_AM4JZ2 1788s # Test 29, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_JB0JZ2 1788s # Test 30, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_7D0JZ2 1788s # Test 31, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_L30JZ2 1788s # Test 32, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_EF2JZ2 1788s # Test 33, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_70XJZ2 1788s # Test 34, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_04YJZ2 1788s # Test 35, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_1FZJZ2 1788s # Test 36, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_BFGIZ2 1788s # Test 37, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_GICIZ2 1788s # Test 38, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_1EEIZ2 1788s # Test 39, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_CMAIZ2 1788s # Test 40, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_S15HZ2 1788s # Test 41, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_417HZ2 1788s # Test 42, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_S93HZ2 1788s # Test 43, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_PFZHZ2 1788s # Test 44, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_YT1HZ2 1788s # Test 45, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_3RVHZ2 1788s # Test 46, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_K3XHZ2 1788s # Test 47, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_IBYHZ2 1788s # Test 48, using temporary directory /tmp/test_file_CUQUZ2/g_file_replace_DTTHZ2 1788s # We do not have CAP_DAC_OVERRIDE or equivalent 1788s ok 42 /file/replace/read-write 1788s # End of replace tests 1788s # Start of copy tests 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/copy/progress/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/copy/progress/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/copy/progress/.dirs/runtime 1788s ok 43 /file/copy/progress 1788s # End of copy tests 1788s # Start of writev tests 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/no-bytes-written/.dirs/runtime 1788s ok 44 /file/writev/no-bytes-written 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/no-vectors/.dirs/runtime 1788s ok 45 /file/writev/no-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/empty-vectors/.dirs/runtime 1788s ok 46 /file/writev/empty-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/too-big-vectors/.dirs/runtime 1788s ok 47 /file/writev/too-big-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async/.dirs/runtime 1788s ok 48 /file/writev/async 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async_all/.dirs/runtime 1788s ok 49 /file/writev/async_all 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async_all-empty-vectors/.dirs/runtime 1788s ok 50 /file/writev/async_all-empty-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async_all-no-vectors/.dirs/runtime 1788s ok 51 /file/writev/async_all-no-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async_all-to-big-vectors/.dirs/runtime 1788s ok 52 /file/writev/async_all-to-big-vectors 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/writev/async_all-cancellation/.dirs/runtime 1788s ok 53 /file/writev/async_all-cancellation 1788s # End of writev tests 1788s # Start of from-uri tests 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/from-uri/ignores-query-string/.dirs/runtime 1788s ok 54 /file/from-uri/ignores-query-string 1788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/home 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/cache 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/system-config2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/config 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/system-data2 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/data 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/state 1788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CUQUZ2/file/from-uri/ignores-fragment/.dirs/runtime 1788s ok 55 /file/from-uri/ignores-fragment 1788s # End of from-uri tests 1788s # End of file tests 1788s ok - glib/file.test 1788s # Running test: glib/qdata.test 1788s TAP version 14 1788s # random seed: R02S40ae04927af129b5eb00763d5854ddb3 1788s 1..2 1788s # Start of qdata tests 1789s # Executing: glib/qdata.test 1789s ok 1 /qdata/threaded 1789s # slow test /qdata/threaded executed in 0.76 secs 1789s ok 2 /qdata/dup 1789s # End of qdata tests 1789s ok - glib/qdata.test 1789s # Running test: glib/srvtarget.test 1789s TAP version 14 1789s # random seed: R02Sffff593f8a6f3f0717acb08593fc085b 1789s 1..1 1789s # Start of srvtarget tests 1790s ok 1 /srvtarget/srv-target-ordering 1790s # slow test /srvtarget/srv-target-ordering executed in 0.60 secs 1790s # End of srvtarget tests 1790s ok - glib/srvtarget.test 1790s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=349.3s; system=121.0s; maxrss=154580 1790s autopkgtest [05:59:58]: test installed-tests: -----------------------] 1795s installed-tests PASS 1795s autopkgtest [06:00:03]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1798s autopkgtest [06:00:06]: test closure-refcount: preparing testbed 1800s Reading package lists... 1801s Building dependency tree... 1801s Reading state information... 1801s Starting pkgProblemResolver with broken count: 0 1802s Starting 2 pkgProblemResolver with broken count: 0 1802s Done 1803s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1811s autopkgtest [06:00:19]: test closure-refcount: [----------------------- 1814s Running test: glib/closure-refcount.test 1814s TAP version 14 1814s # random seed: R02S420f3dd93be70b2313d303a3c03c6fcd 1814s 1..1 1814s # Start of closure tests 1814s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1814s # End of closure tests 1814s PASS: glib/closure-refcount.test 1814s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432 1814s autopkgtest [06:00:22]: test closure-refcount: -----------------------] 1818s closure-refcount PASS 1818s autopkgtest [06:00:26]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1822s autopkgtest [06:00:30]: test debugcontroller: preparing testbed 1824s Reading package lists... 1825s Building dependency tree... 1825s Reading state information... 1825s Starting pkgProblemResolver with broken count: 0 1825s Starting 2 pkgProblemResolver with broken count: 0 1826s Done 1827s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1835s autopkgtest [06:00:43]: test debugcontroller: [----------------------- 1837s Running test: glib/debugcontroller.test 1837s TAP version 14 1837s # random seed: R02S133b1a6c9054dd78fcc770dd10a840ff 1837s 1..3 1837s # Start of debug-controller tests 1837s # Start of dbus tests 1837s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Debug output enabled 1837s # GLib-GIO-DEBUG: Debug output disabled 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s ok 1 /debug-controller/dbus/basic 1837s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s ok 2 /debug-controller/dbus/duplicate 1837s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Debug output enabled 1837s # GLib-GIO-DEBUG: Debug output disabled 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1837s ok 3 /debug-controller/dbus/properties 1837s # End of dbus tests 1837s # End of debug-controller tests 1837s PASS: glib/debugcontroller.test 1837s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4480 1837s autopkgtest [06:00:45]: test debugcontroller: -----------------------] 1841s debugcontroller PASS 1841s autopkgtest [06:00:49]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1845s autopkgtest [06:00:53]: test gdbus-server-auth: preparing testbed 1847s Reading package lists... 1848s Building dependency tree... 1848s Reading state information... 1848s Starting pkgProblemResolver with broken count: 0 1849s Starting 2 pkgProblemResolver with broken count: 0 1849s Done 1850s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1858s autopkgtest [06:01:06]: test gdbus-server-auth: [----------------------- 1860s Running test: glib/gdbus-server-auth.test 1860s TAP version 14 1860s # random seed: R02S7603c2a4e370705a603ab0ca9f1c879c 1860s 1..9 1860s # Start of gdbus tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/.dirs/runtime 1860s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-EJXMZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1860s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-EJXMZ2/dbus-8cd70n8n 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1860s ok 1 /gdbus/server-auth 1860s # Start of server-auth tests 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/abstract/.dirs/runtime 1860s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-Q9UKZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1860s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-Q9UKZ2/dbus-iWNwG0BD 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1860s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1860s ok 2 /gdbus/server-auth/abstract 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/tcp/.dirs/runtime 1860s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1860s # Connectable address: tcp:host=127.0.0.1,port=34797 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1860s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1860s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1860s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1860s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1860s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1860s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1861s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1861s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1861s ok 3 /gdbus/server-auth/tcp 1861s # slow test /gdbus/server-auth/tcp executed in 0.89 secs 1861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/home 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/cache 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/config 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/data 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/state 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/.dirs/runtime 1861s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-JLCZZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1861s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-JLCZZ2/dbus-170Uj2aO 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1861s ok 4 /gdbus/server-auth/anonymous 1861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/home 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/cache 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/system-config2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/config 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/system-data2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/data 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/state 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/.dirs/runtime 1861s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-CC9LZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1861s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-CC9LZ2/dbus-jV8Rbnxy 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1861s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1861s ok 5 /gdbus/server-auth/external 1861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/home 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/cache 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/system-config2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/config 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/system-data2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/data 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/state 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/.dirs/runtime 1861s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-LR3MZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1861s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-LR3MZ2/dbus-NwVPgipl 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1861s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1861s ok 6 /gdbus/server-auth/sha1 1861s # Start of anonymous tests 1861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1861s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1861s # Connectable address: tcp:host=127.0.0.1,port=42793 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1861s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1861s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1861s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1861s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1861s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1862s ok 7 /gdbus/server-auth/anonymous/tcp 1862s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.85 secs 1862s # End of anonymous tests 1862s # Start of external tests 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1862s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-IBVYZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1862s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9EWMZ2/gdbus-server-auth-IBVYZ2/dbus-JytO8KJr 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15445 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1862s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15445,uid=1000,gid=1000 1862s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15445 1862s ok 8 /gdbus/server-auth/external/require-same-user 1862s # End of external tests 1862s # Start of sha1 tests 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9EWMZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1862s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1862s # Connectable address: tcp:host=127.0.0.1,port=42821 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1862s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1862s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1862s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1862s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1863s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1863s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1863s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1863s ok 9 /gdbus/server-auth/sha1/tcp 1863s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1863s # End of sha1 tests 1863s # End of server-auth tests 1863s # End of gdbus tests 1863s PASS: glib/gdbus-server-auth.test 1863s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=5888 1863s autopkgtest [06:01:11]: test gdbus-server-auth: -----------------------] 1867s autopkgtest [06:01:15]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1867s gdbus-server-auth PASS 1871s autopkgtest [06:01:19]: test gdbus-threading: preparing testbed 1873s Reading package lists... 1874s Building dependency tree... 1874s Reading state information... 1874s Starting pkgProblemResolver with broken count: 0 1875s Starting 2 pkgProblemResolver with broken count: 0 1875s Done 1876s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1884s autopkgtest [06:01:32]: test gdbus-threading: [----------------------- 1886s Running test: glib/gdbus-threading.test 1886s TAP version 14 1886s # random seed: R02Scefe6af182be3a994941f4956ecce732 1886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1886s 1..3 1886s # Start of gdbus tests 1886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/home 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/cache 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/system-config2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/config 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/system-data2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/data 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/state 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_J2QQZ2/gdbus/delivery-in-thread/.dirs/runtime 1886s ok 1 /gdbus/delivery-in-thread 1886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/home 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/cache 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/system-config2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/config 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/system-data2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/data 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/state 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_J2QQZ2/gdbus/method-calls-in-thread/.dirs/runtime 1887s ok 2 /gdbus/method-calls-in-thread 1887s # slow test /gdbus/method-calls-in-thread executed in 0.88 secs 1887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/home 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/cache 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/system-config2 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/config 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/system-data2 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/data 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/state 1887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_J2QQZ2/gdbus/threaded-singleton/.dirs/runtime 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: refcount of 0xecb039c0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1890s ok 3 /gdbus/threaded-singleton 1890s # slow test /gdbus/threaded-singleton executed in 2.43 secs 1890s # End of gdbus tests 1890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1890s PASS: glib/gdbus-threading.test 1890s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.3s; system=0.9s; maxrss=4224 1890s autopkgtest [06:01:38]: test gdbus-threading: -----------------------] 1894s gdbus-threading PASS 1894s autopkgtest [06:01:42]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1898s autopkgtest [06:01:46]: test gmenumodel: preparing testbed 1900s Reading package lists... 1901s Building dependency tree... 1901s Reading state information... 1901s Starting pkgProblemResolver with broken count: 0 1902s Starting 2 pkgProblemResolver with broken count: 0 1902s Done 1903s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1911s autopkgtest [06:01:59]: test gmenumodel: [----------------------- 1913s Running test: glib/gmenumodel.test 1913s TAP version 14 1913s # random seed: R02Sec8fee2c920a14d4a7e5cd4edc7d573b 1913s 1..15 1913s # Start of gmenu tests 1914s ok 1 /gmenu/equality 1914s # slow test /gmenu/equality executed in 0.90 secs 1915s ok 2 /gmenu/random 1915s # slow test /gmenu/random executed in 1.02 secs 1915s ok 3 /gmenu/attributes 1915s ok 4 /gmenu/links 1915s ok 5 /gmenu/mutable 1915s ok 6 /gmenu/convenience 1915s ok 7 /gmenu/menuitem 1915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1915s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1915s ok 8 /gmenu/input-validation 1915s # Start of dbus tests 1915s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1916s ok 9 /gmenu/dbus/roundtrip 1916s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1916s ok 10 /gmenu/dbus/subscriptions 1918s Executing: glib/gmenumodel.test 1918s ok 11 /gmenu/dbus/threaded 1918s # slow test /gmenu/dbus/threaded executed in 1.84 secs 1918s # Start of peer tests 1919s ok 12 /gmenu/dbus/peer/roundtrip 1919s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1920s ok 13 /gmenu/dbus/peer/subscriptions 1920s # End of peer tests 1920s # Start of export tests 1920s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1920s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1920s ok 14 /gmenu/dbus/export/error-handling 1920s # End of export tests 1920s # End of dbus tests 1920s # Start of attributes tests 1920s ok 15 /gmenu/attributes/iterate 1920s # End of attributes tests 1920s # End of gmenu tests 1920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1920s PASS: glib/gmenumodel.test 1920s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.8s; system=1.7s; maxrss=7168 1920s autopkgtest [06:02:08]: test gmenumodel: -----------------------] 1924s autopkgtest [06:02:12]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1924s gmenumodel PASS 1928s autopkgtest [06:02:16]: test mainloop: preparing testbed 1930s Reading package lists... 1930s Building dependency tree... 1930s Reading state information... 1931s Starting pkgProblemResolver with broken count: 0 1931s Starting 2 pkgProblemResolver with broken count: 0 1931s Done 1933s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1941s autopkgtest [06:02:29]: test mainloop: [----------------------- 1943s Running test: glib/mainloop.test 1943s TAP version 14 1943s # random seed: R02S310e208bd42cf29e9fef3a64f4d4ff86 1943s 1..45 1943s # Start of maincontext tests 1943s ok 1 /maincontext/basic 1943s # Add same-priority sources: 33 1943s # Find each source: 3 1943s # Remove in random order: 79 1943s ok 2 /maincontext/nsources_same_priority 1943s # Add different-priority sources: 41 1943s # Find each source: 3 1943s # Remove in random order: 85 1943s ok 3 /maincontext/nsources_different_priority 1943s # Add sources from threads: 275 1944s # Remove sources from threads: 262 1944s ok 4 /maincontext/nsources_threadpool 1944s # slow test /maincontext/nsources_threadpool executed in 0.55 secs 1944s ok 5 /maincontext/source_finalization 1944s # /maincontext/idle-once summary: Test g_idle_add_once() works 1944s ok 6 /maincontext/idle-once 1944s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1944s ok 7 /maincontext/timeout-once 1944s # Start of source_finalization_from_source tests 1944s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 8 /maincontext/source_finalization_from_source/0 1944s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 9 /maincontext/source_finalization_from_source/1 1944s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 10 /maincontext/source_finalization_from_source/2 1944s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 11 /maincontext/source_finalization_from_source/3 1944s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 12 /maincontext/source_finalization_from_source/4 1944s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 13 /maincontext/source_finalization_from_source/5 1944s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 14 /maincontext/source_finalization_from_source/6 1944s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 15 /maincontext/source_finalization_from_source/7 1944s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 16 /maincontext/source_finalization_from_source/8 1944s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1944s ok 17 /maincontext/source_finalization_from_source/9 1944s # End of source_finalization_from_source tests 1944s # Start of source_finalization_from_dispatch tests 1944s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1944s ok 18 /maincontext/source_finalization_from_dispatch/0 1944s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1944s ok 19 /maincontext/source_finalization_from_dispatch/1 1944s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1944s ok 20 /maincontext/source_finalization_from_dispatch/2 1944s # End of source_finalization_from_dispatch tests 1944s # End of maincontext tests 1944s # Start of mainloop tests 1944s ok 21 /mainloop/basic 1944s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1944s ok 23 /mainloop/priorities 1944s ok 24 /mainloop/invoke 1944s # slow test /mainloop/invoke executed in 0.50 secs 1945s ok 25 /mainloop/child_sources 1945s # slow test /mainloop/child_sources executed in 1.20 secs 1948s ok 26 /mainloop/recursive_child_sources 1948s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1948s ok 27 /mainloop/recursive_loop_child_sources 1948s ok 28 /mainloop/swapping_child_sources 1948s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1948s ok 29 /mainloop/blocked_child_sources 1948s Executing: glib/mainloop.test 1949s ok 30 /mainloop/source_time 1949s # slow test /mainloop/source_time executed in 1.00 secs 1949s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1949s ok 31 /mainloop/overflow 1949s ok 32 /mainloop/ready-time 1949s # slow test /mainloop/ready-time executed in 0.50 secs 1949s ok 33 /mainloop/wakeup 1949s ok 34 /mainloop/remove-invalid 1949s ok 35 /mainloop/unref-while-pending 1950s ok 36 /mainloop/unix-fd 1950s # slow test /mainloop/unix-fd executed in 0.89 secs 1950s ok 37 /mainloop/unix-fd-source 1950s ok 38 /mainloop/source-unix-fd-api 1950s ok 39 /mainloop/wait 1950s ok 40 /mainloop/unix-file-poll 1950s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1950s ok 41 /mainloop/unix-fd-priority 1950s ok 42 /mainloop/nfds 1950s ok 43 /mainloop/steal-fd 1950s # Start of ownerless-polling tests 1950s ok 44 /mainloop/ownerless-polling/attach-first 1950s ok 45 /mainloop/ownerless-polling/pop-first 1950s # End of ownerless-polling tests 1950s # End of mainloop tests 1950s PASS: glib/mainloop.test 1950s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.7s; system=3.1s; maxrss=9544 1951s autopkgtest [06:02:39]: test mainloop: -----------------------] 1955s mainloop PASS 1955s autopkgtest [06:02:43]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1959s autopkgtest [06:02:47]: test memory-monitor-dbus: preparing testbed 1960s Reading package lists... 1961s Building dependency tree... 1961s Reading state information... 1962s Starting pkgProblemResolver with broken count: 0 1962s Starting 2 pkgProblemResolver with broken count: 0 1962s Done 1963s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1971s autopkgtest [06:02:59]: test memory-monitor-dbus: [----------------------- 1973s Running test: glib/memory-monitor-dbus.test 1973s TAP version 13 1973s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1973s # Received memory warning signal, level 1973s # Received memory warning signal, level 1973s # Received memory warning signal, level 1973s 1..1 1973s PASS: glib/memory-monitor-dbus.test 1973s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.1s; maxrss=20836 1974s autopkgtest [06:03:02]: test memory-monitor-dbus: -----------------------] 1978s memory-monitor-dbus PASS 1978s autopkgtest [06:03:06]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1981s autopkgtest [06:03:09]: test socket: preparing testbed 1983s Reading package lists... 1984s Building dependency tree... 1984s Reading state information... 1985s Starting pkgProblemResolver with broken count: 0 1985s Starting 2 pkgProblemResolver with broken count: 0 1985s Done 1986s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1994s autopkgtest [06:03:22]: test socket: [----------------------- 1996s Running test: glib/socket.test 1996s TAP version 14 1996s # random seed: R02S366cf15487d65f89c8722dfbe25ab2a6 1996s 1..28 1996s # Start of socket tests 1997s ok 1 /socket/ipv4_sync 1997s # slow test /socket/ipv4_sync executed in 1.00 secs 1998s ok 2 /socket/ipv4_async 1998s # slow test /socket/ipv4_async executed in 1.00 secs 1998s ok 3 /socket/ipv6_sync 1998s ok 4 /socket/ipv6_async 1998s ok 5 /socket/ipv6_v4mapped 1999s ok 6 /socket/close_graceful 1999s # slow test /socket/close_graceful executed in 1.00 secs 1999s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1999s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1999s ok 8 /socket/fd_reuse 1999s ok 9 /socket/address 1999s ok 10 /socket/unix-from-fd 1999s ok 11 /socket/unix-connection 1999s ok 12 /socket/unix-connection-ancillary-data 1999s ok 13 /socket/source-postmortem 1999s ok 14 /socket/read_write 1999s ok 15 /socket/read_writev 1999s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1999s ok 16 /socket/receive_bytes 1999s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1999s ok 17 /socket/receive_bytes_from 1999s # Start of ipv4_sync tests 1999s ok 18 /socket/ipv4_sync/datagram 1999s # Start of datagram tests 2000s ok 19 /socket/ipv4_sync/datagram/timeouts 2000s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2000s # End of datagram tests 2000s # End of ipv4_sync tests 2000s # Start of ipv6_sync tests 2000s ok 20 /socket/ipv6_sync/datagram 2000s # Start of datagram tests 2001s ok 21 /socket/ipv6_sync/datagram/timeouts 2001s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2001s # End of datagram tests 2001s # End of ipv6_sync tests 2001s # Start of reuse tests 2001s ok 22 /socket/reuse/tcp 2001s ok 23 /socket/reuse/udp 2001s # End of reuse tests 2001s # Start of get_available tests 2001s ok 24 /socket/get_available/datagram 2001s ok 25 /socket/get_available/stream 2001s # End of get_available tests 2001s # Start of credentials tests 2001s # Supported on this OS: GCredentials:linux-ucred:pid=0 2001s ok 26 /socket/credentials/tcp_client 2001s # Supported on this OS: GCredentials:linux-ucred:pid=0 2001s ok 27 /socket/credentials/tcp_server 2001s # Supported on this OS: GCredentials:linux-ucred:pid=17503,uid=1000,gid=1000 2001s ok 28 /socket/credentials/unix_socketpair 2001s # End of credentials tests 2001s # End of socket tests 2001s PASS: glib/socket.test 2001s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3968 2002s autopkgtest [06:03:30]: test socket: -----------------------] 2005s autopkgtest [06:03:33]: test socket: - - - - - - - - - - results - - - - - - - - - - 2005s socket PASS 2009s autopkgtest [06:03:37]: test testfilemonitor: preparing testbed 2011s Reading package lists... 2011s Building dependency tree... 2011s Reading state information... 2012s Starting pkgProblemResolver with broken count: 0 2012s Starting 2 pkgProblemResolver with broken count: 0 2012s Done 2014s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2022s autopkgtest [06:03:50]: test testfilemonitor: [----------------------- 2023s Running test: glib/testfilemonitor.test 2023s TAP version 14 2023s # random seed: R02S7d693f81c5ddc777eca985ce0398570b 2023s 1..8 2023s # Start of monitor tests 2023s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2023s # Using temporary directory: /tmp/gio-test-testfilemonitor_UK4OZ2 2023s # Using GFileMonitor GInotifyFileMonitor 2025s ok 1 /monitor/atomic-replace 2025s # slow test /monitor/atomic-replace executed in 2.00 secs 2025s # Using temporary directory: /tmp/gio-test-testfilemonitor_6E1OZ2 2025s # Using GFileMonitor GInotifyFileMonitor 2028s ok 2 /monitor/file-changes 2028s # slow test /monitor/file-changes executed in 2.50 secs 2028s # Using temporary directory: /tmp/gio-test-testfilemonitor_CI20Z2 2028s # Using GFileMonitor GInotifyFileMonitor 2029s Executing: glib/testfilemonitor.test 2031s ok 3 /monitor/dir-monitor 2031s # slow test /monitor/dir-monitor executed in 3.50 secs 2031s # Using temporary directory: /tmp/gio-test-testfilemonitor_Z3UOZ2 2031s # Using GFileMonitor GInotifyFileMonitor 2034s Executing: glib/testfilemonitor.test 2039s Executing: glib/testfilemonitor.test 2044s Executing: glib/testfilemonitor.test 2049s Executing: glib/testfilemonitor.test 2054s Executing: glib/testfilemonitor.test 2057s ok 4 /monitor/dir-not-existent 2057s # slow test /monitor/dir-not-existent executed in 25.02 secs 2057s # Using temporary directory: /tmp/gio-test-testfilemonitor_M9PPZ2 2057s # Using GFileMonitor 0 GInotifyFileMonitor 2057s # Using GFileMonitor 1 GInotifyFileMonitor 2059s ok 5 /monitor/cross-dir-moves 2059s # slow test /monitor/cross-dir-moves executed in 2.00 secs 2059s # Using temporary directory: /tmp/gio-test-testfilemonitor_9VMPZ2 2059s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2059s ok 6 /monitor/finalize-in-callback 2059s # Using temporary directory: /tmp/gio-test-testfilemonitor_DXWNZ2 2059s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2059s ok 7 /monitor/root 2059s # Start of file tests 2059s # Using temporary directory: /tmp/gio-test-testfilemonitor_H5WNZ2 2059s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2059s # Running with hard link tests 2059s # Using GFileMonitor GInotifyFileMonitor 2059s Executing: glib/testfilemonitor.test 2062s # Event 0 at expected index 7 skipped because it is marked as optional 2062s # Event 2 at expected index 11 skipped because it is marked as optional 2062s ok 8 /monitor/file/hard-links 2062s # slow test /monitor/file/hard-links executed in 3.51 secs 2062s # End of file tests 2062s # End of monitor tests 2062s PASS: glib/testfilemonitor.test 2062s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4096 2062s autopkgtest [06:04:30]: test testfilemonitor: -----------------------] 2066s testfilemonitor PASS 2067s autopkgtest [06:04:34]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2070s autopkgtest [06:04:38]: test thread-pool-slow: preparing testbed 2072s Reading package lists... 2073s Building dependency tree... 2073s Reading state information... 2074s Starting pkgProblemResolver with broken count: 0 2074s Starting 2 pkgProblemResolver with broken count: 0 2074s Done 2076s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2083s autopkgtest [06:04:51]: test thread-pool-slow: [----------------------- 2085s Running test: glib/thread-pool-slow.test 2085s TAP version 14 2085s # random seed: R02S4068fc99f55052b74f9d5fdd02783c79 2085s 1..7 2085s # Start of threadpool tests 2085s ok 1 /threadpool/functions 2086s ok 2 /threadpool/stop-unused 2086s # slow test /threadpool/stop-unused executed in 0.52 secs 2086s ok 3 /threadpool/pools 2086s # [unsorted] ===> pushed new thread with id:20, number of threads:1, unprocessed:1 2086s # [unsorted] ===> pushed new thread with id:93, number of threads:2, unprocessed:2 2086s # [unsorted] ===> pushed new thread with id:6, number of threads:3, unprocessed:2 2086s # [unsorted] ===> pushed new thread with id:31, number of threads:4, unprocessed:3 2086s # [unsorted] ===> pushed new thread with id:93, number of threads:5, unprocessed:4 2086s # [unsorted] ===> pushed new thread with id:66, number of threads:6, unprocessed:5 2086s # [unsorted] ===> pushed new thread with id:79, number of threads:7, unprocessed:2 2086s # [unsorted] ===> pushed new thread with id:10, number of threads:8, unprocessed:3 2086s # [unsorted] ===> pushed new thread with id:7, number of threads:9, unprocessed:4 2086s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:5 2086s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:5 2086s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:5 2086s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:6 2086s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:4 2086s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:5 2086s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:6 2086s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:7 2086s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:8 2086s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:9 2086s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:10 2086s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:11 2086s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:12 2086s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:13 2086s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:14 2086s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:15 2086s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:16 2086s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:17 2086s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:18 2086s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:19 2086s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:20 2086s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:21 2086s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:22 2086s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:23 2086s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:24 2086s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:25 2086s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:26 2086s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:27 2086s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:28 2086s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:29 2086s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:30 2086s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:31 2086s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:32 2086s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:33 2086s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:34 2086s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:35 2086s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:36 2086s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:37 2086s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:38 2086s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:39 2086s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:40 2086s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:41 2086s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:42 2086s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:43 2086s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 2086s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:45 2086s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:46 2086s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:47 2086s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:48 2086s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:49 2086s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:50 2086s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:51 2086s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:52 2086s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:53 2086s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:54 2086s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:55 2086s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:56 2086s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:57 2086s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:58 2086s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:59 2086s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:60 2086s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:61 2086s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:62 2086s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:63 2086s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:64 2086s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:65 2086s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:66 2086s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:67 2086s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:68 2086s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:69 2086s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:70 2086s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:71 2086s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:72 2086s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:73 2086s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:74 2086s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:75 2086s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:76 2086s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:77 2086s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:78 2086s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:79 2086s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:80 2086s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:81 2086s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:82 2086s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:83 2086s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:84 2086s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:85 2086s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:86 2086s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:87 2086s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:88 2086s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:89 2086s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:90 2086s ok 4 /threadpool/no-sort 2086s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:1 2086s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:2 2086s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:3 2086s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:4 2086s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:5 2086s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:6 2086s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:7 2086s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:8 2086s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:9 2086s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:10 2086s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:11 2086s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:12 2086s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:13 2086s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:14 2086s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:15 2086s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:16 2086s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:17 2086s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:18 2086s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:19 2086s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:20 2086s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:21 2086s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:22 2086s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:23 2086s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:24 2086s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:25 2086s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:26 2086s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:27 2086s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:28 2086s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:29 2086s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:30 2086s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:31 2086s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:32 2086s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:33 2086s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:34 2086s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:35 2086s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:36 2086s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:37 2086s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:38 2086s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:39 2086s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:40 2086s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:41 2086s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:42 2086s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:43 2086s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:44 2086s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:45 2086s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:46 2086s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:47 2086s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:48 2086s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:49 2086s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:50 2086s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:51 2086s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:52 2086s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:53 2086s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:54 2086s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:55 2086s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:56 2086s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:57 2086s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:58 2086s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:59 2086s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:60 2086s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:61 2086s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:62 2086s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:63 2086s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:64 2086s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:65 2086s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:66 2086s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:67 2086s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:68 2086s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:69 2086s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:70 2086s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:71 2086s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:72 2086s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:73 2086s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:74 2086s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:75 2086s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:76 2086s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:77 2086s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:78 2086s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:79 2086s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:80 2086s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:81 2086s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:82 2086s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:83 2086s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:84 2086s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:85 2086s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:86 2086s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:87 2086s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:88 2086s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:89 2086s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:90 2086s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:91 2086s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:92 2086s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:93 2086s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:94 2086s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:95 2086s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:96 2086s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:97 2086s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98 2086s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:99 2086s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:100 2086s # Starting thread pool processing 2086s ok 5 /threadpool/sort 2087s ok 6 /threadpool/stop-unused-multiple 2087s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 2087s # Pool idle thread count: 0, unprocessed jobs: 47 2087s # Pool idle thread count: 0, unprocessed jobs: 0 2087s # Pool idle thread count: 0, unprocessed jobs: 0 2088s # Pool idle thread count: 10, unprocessed jobs: 0 2088s # Pool idle thread count: 10, unprocessed jobs: 0 2088s # Pool idle thread count: 10, unprocessed jobs: 0 2088s # Pool idle thread count: 10, unprocessed jobs: 0 2089s # Pool idle thread count: 10, unprocessed jobs: 0 2089s # Pool idle thread count: 10, unprocessed jobs: 0 2089s # Pool idle thread count: 10, unprocessed jobs: 0 2089s # Pool idle thread count: 10, unprocessed jobs: 0 2090s # Pool idle thread count: 10, unprocessed jobs: 0 2090s # Pool idle thread count: 10, unprocessed jobs: 0 2090s # Pool idle thread count: 10, unprocessed jobs: 0 2090s # Pool idle thread count: 10, unprocessed jobs: 0 2090s Executing: glib/thread-pool-slow.test 2091s # Pool idle thread count: 10, unprocessed jobs: 0 2091s # Pool idle thread count: 10, unprocessed jobs: 0 2091s # Pool idle thread count: 10, unprocessed jobs: 0 2091s # Pool idle thread count: 10, unprocessed jobs: 0 2092s # Pool idle thread count: 10, unprocessed jobs: 0 2092s # Pool idle thread count: 10, unprocessed jobs: 0 2092s # Pool idle thread count: 10, unprocessed jobs: 0 2092s # Pool idle thread count: 10, unprocessed jobs: 0 2093s # Pool idle thread count: 10, unprocessed jobs: 0 2093s # Pool idle thread count: 10, unprocessed jobs: 0 2093s # Pool idle thread count: 10, unprocessed jobs: 0 2093s # Pool idle thread count: 10, unprocessed jobs: 0 2094s # Pool idle thread count: 10, unprocessed jobs: 0 2094s # Pool idle thread count: 10, unprocessed jobs: 0 2094s # Pool idle thread count: 10, unprocessed jobs: 0 2094s # Pool idle thread count: 10, unprocessed jobs: 0 2095s # Pool idle thread count: 10, unprocessed jobs: 0 2095s # Pool idle thread count: 10, unprocessed jobs: 0 2095s # Pool idle thread count: 10, unprocessed jobs: 0 2095s # Pool idle thread count: 10, unprocessed jobs: 0 2095s Executing: glib/thread-pool-slow.test 2096s # Pool idle thread count: 10, unprocessed jobs: 2 2096s # Pool idle thread count: 10, unprocessed jobs: 2 2096s # Pool idle thread count: 8, unprocessed jobs: 0 2096s # Pool idle thread count: 8, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2097s # Pool idle thread count: 10, unprocessed jobs: 0 2098s # Pool idle thread count: 2, unprocessed jobs: 0 2098s # Pool idle thread count: 2, unprocessed jobs: 0 2098s # Pool idle thread count: 2, unprocessed jobs: 0 2098s # Pool idle thread count: 2, unprocessed jobs: 0 2099s # Pool idle thread count: 2, unprocessed jobs: 0 2099s # Pool idle thread count: 2, unprocessed jobs: 0 2099s # Pool idle thread count: 2, unprocessed jobs: 0 2099s # Pool idle thread count: 2, unprocessed jobs: 0 2100s # Pool idle thread count: 2, unprocessed jobs: 0 2100s # Pool idle thread count: 2, unprocessed jobs: 0 2100s # Pool idle thread count: 2, unprocessed jobs: 0 2100s # Pool idle thread count: 2, unprocessed jobs: 0 2100s Executing: glib/thread-pool-slow.test 2101s # Pool idle thread count: 2, unprocessed jobs: 0 2101s # Pool idle thread count: 2, unprocessed jobs: 0 2101s # Pool idle thread count: 2, unprocessed jobs: 0 2101s # Pool idle thread count: 2, unprocessed jobs: 0 2102s # Pool idle thread count: 2, unprocessed jobs: 0 2102s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2103s # Pool idle thread count: 2, unprocessed jobs: 0 2104s # Pool idle thread count: 2, unprocessed jobs: 0 2104s # Pool idle thread count: 2, unprocessed jobs: 0 2104s # Pool idle thread count: 2, unprocessed jobs: 0 2104s # Pool idle thread count: 2, unprocessed jobs: 0 2105s # Pool idle thread count: 2, unprocessed jobs: 0 2105s # Pool idle thread count: 2, unprocessed jobs: 0 2105s # Pool idle thread count: 2, unprocessed jobs: 0 2105s # Pool idle thread count: 2, unprocessed jobs: 0 2105s Executing: glib/thread-pool-slow.test 2106s # Pool idle thread count: 2, unprocessed jobs: 0 2106s # Pool idle thread count: 2, unprocessed jobs: 0 2106s ok 7 /threadpool/idle-time 2106s # slow test /threadpool/idle-time executed in 19.53 secs 2106s # End of threadpool tests 2106s PASS: glib/thread-pool-slow.test 2106s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=2944 2106s autopkgtest [06:05:14]: test thread-pool-slow: -----------------------] 2110s autopkgtest [06:05:18]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2110s thread-pool-slow PASS 2114s autopkgtest [06:05:22]: test threadtests: preparing testbed 2116s Reading package lists... 2117s Building dependency tree... 2117s Reading state information... 2117s Starting pkgProblemResolver with broken count: 0 2117s Starting 2 pkgProblemResolver with broken count: 0 2117s Done 2119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2127s autopkgtest [06:05:35]: test threadtests: [----------------------- 2129s Running test: glib/threadtests.test 2129s TAP version 14 2129s # random seed: R02Sdc34f33490ecd6b1f7d16bcf68e75032 2129s 1..5 2129s # Start of GObject tests 2129s ok 1 /GObject/threaded-object-init 2130s ok 2 /GObject/threaded-weak-ref 2130s # slow test /GObject/threaded-weak-ref executed in 1.04 secs 2130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2130s # /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 2134s Executing: glib/threadtests.test 2139s Executing: glib/threadtests.test 2144s Executing: glib/threadtests.test 2147s ok 3 /GObject/threaded-toggle-notify 2147s # slow test /GObject/threaded-toggle-notify executed in 17.14 secs 2147s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2147s # Start of threaded-weak-ref tests 2147s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2147s # /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. 2147s ok 5 /GObject/threaded-weak-ref/on-finalization 2147s # End of threaded-weak-ref tests 2147s # End of GObject tests 2147s PASS: glib/threadtests.test 2147s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=66.0s; system=1.5s; maxrss=2560 2148s autopkgtest [06:05:56]: test threadtests: -----------------------] 2151s autopkgtest [06:05:59]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2151s threadtests PASS 2155s autopkgtest [06:06:03]: test timeout: preparing testbed 2157s Reading package lists... 2157s Building dependency tree... 2157s Reading state information... 2158s Starting pkgProblemResolver with broken count: 0 2158s Starting 2 pkgProblemResolver with broken count: 0 2158s Done 2159s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2167s autopkgtest [06:06:15]: test timeout: [----------------------- 2169s Running test: glib/timeout.test 2169s TAP version 14 2169s # random seed: R02S2bb82e050606744e72f52b7179fd7227 2169s 1..5 2169s # Start of timeout tests 2169s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2171s ok 1 /timeout/seconds 2171s # slow test /timeout/seconds executed in 2.10 secs 2173s ok 2 /timeout/seconds-once 2173s # slow test /timeout/seconds-once executed in 2.10 secs 2173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2174s Executing: glib/timeout.test 2175s ok 3 /timeout/weeks-overflow 2175s # slow test /timeout/weeks-overflow executed in 2.10 secs 2175s ok 4 /timeout/far-future-ready-time 2179s Executing: glib/timeout.test 2184s Executing: glib/timeout.test 2185s ok 5 /timeout/rounding 2185s # slow test /timeout/rounding executed in 9.94 secs 2185s # End of timeout tests 2185s PASS: glib/timeout.test 2185s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 2186s autopkgtest [06:06:34]: test timeout: -----------------------] 2190s timeout PASS 2190s autopkgtest [06:06:38]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2193s autopkgtest [06:06:41]: test timer: preparing testbed 2195s Reading package lists... 2196s Building dependency tree... 2196s Reading state information... 2197s Starting pkgProblemResolver with broken count: 0 2197s Starting 2 pkgProblemResolver with broken count: 0 2197s Done 2198s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2206s autopkgtest [06:06:54]: test timer: [----------------------- 2208s Running test: glib/timer.test 2208s TAP version 14 2208s # random seed: R02S918a920f840cb3fa65579489e6a0ae86 2208s 1..10 2208s # Start of timer tests 2208s ok 1 /timer/basic 2208s ok 2 /timer/stop 2208s ok 3 /timer/continue 2208s ok 4 /timer/reset 2208s ok 5 /timer/is_active 2208s # End of timer tests 2208s # Start of timeval tests 2208s ok 6 /timeval/add 2208s ok 7 /timeval/from-iso8601 2208s ok 8 /timeval/to-iso8601 2208s # Start of to-iso8601 tests 2208s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 2208s # End of to-iso8601 tests 2208s # End of timeval tests 2208s # Start of usleep tests 2208s ok 10 /usleep/with-zero-wait 2208s # End of usleep tests 2208s PASS: glib/timer.test 2208s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 2208s autopkgtest [06:06:56]: test timer: -----------------------] 2212s autopkgtest [06:07:00]: test timer: - - - - - - - - - - results - - - - - - - - - - 2212s timer PASS 2216s autopkgtest [06:07:04]: test 1065022-futureproofing: preparing testbed 2268s autopkgtest [06:07:56]: testbed dpkg architecture: armhf 2270s autopkgtest [06:07:58]: testbed apt version: 2.9.14ubuntu1 2274s autopkgtest [06:08:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2276s autopkgtest [06:08:04]: testbed release detected to be: plucky 2283s autopkgtest [06:08:11]: updating testbed package index (apt update) 2285s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 2285s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 2286s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 2286s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 2286s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 2286s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 2286s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 2286s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 2286s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [155 kB] 2286s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 2286s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [764 kB] 2286s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5240 B] 2286s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 2286s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 2286s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 2286s Get:16 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 2287s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 2287s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 2287s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 2287s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 2291s Fetched 41.1 MB in 6s (7438 kB/s) 2292s Reading package lists... 2298s autopkgtest [06:08:26]: upgrading testbed (apt dist-upgrade and autopurge) 2300s Reading package lists... 2301s Building dependency tree... 2301s Reading state information... 2302s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 2302s Starting 2 pkgProblemResolver with broken count: 0 2302s Done 2303s Entering ResolveByKeep 2304s 2305s The following package was automatically installed and is no longer required: 2305s libassuan0 2305s Use 'apt autoremove' to remove it. 2305s The following NEW packages will be installed: 2305s openssl-provider-legacy python3-bcrypt 2305s The following packages will be upgraded: 2305s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 2305s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 2305s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 2305s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 2305s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 2305s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 2305s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 2305s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 2305s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 2305s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 2305s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 2305s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 2305s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 2305s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 2305s libreadline8t64 libselinux1 libsframe1 libsmartcols1 libssl3t64 libstdc++6 2305s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 2305s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 2305s make mount openssl pci.ids publicsuffix python-apt-common python3 2305s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 2305s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 2305s python3-newt python3-openssl python3-pkg-resources python3-problem-report 2305s python3-rich python3-setuptools python3-software-properties python3-wadllib 2305s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 2305s readline-common rsync software-properties-common systemd systemd-cryptsetup 2305s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 2305s util-linux uuid-runtime whiptail xauth 2305s 140 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 2305s Need to get 58.4 MB of archives. 2305s After this operation, 8823 kB of additional disk space will be used. 2305s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 2305s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 2305s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 2305s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 2305s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 2305s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 2305s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 2306s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 2306s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 2306s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 2306s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 2306s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 2306s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 2306s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 2306s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 2306s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 2306s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 2306s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 2306s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 2306s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 2306s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 2306s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 2306s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 2306s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 2306s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 2306s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 2306s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 2306s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 2306s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 2306s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 2306s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 2306s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 2306s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 2306s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 2306s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 2306s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 2306s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 2306s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 2306s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 2306s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 2306s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 2306s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 2306s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 2306s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 2306s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 2306s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 2306s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 2306s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 2306s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 2306s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 2306s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 2306s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 2306s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 2306s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 2306s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 2306s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 2306s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 2306s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 2306s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 2306s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 2306s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 2306s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 2306s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 2306s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 2306s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 2306s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 2306s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 2306s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 2307s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 2307s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 2307s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 2307s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 2307s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 2307s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 2307s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 2307s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 2307s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 2307s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 2307s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 2307s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 2307s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 2307s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 2307s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 2307s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 2307s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 2307s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 2307s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 2307s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 2307s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 2307s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 2307s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 2307s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 2307s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 2307s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 2307s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 2307s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 2307s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 2307s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 2307s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 2307s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 2307s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 2307s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 2307s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 2307s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 2307s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 2307s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 2308s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 2308s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 2308s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 2308s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 2308s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 2308s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 2308s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 2308s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 2308s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 2308s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 2308s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 2308s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 2308s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 2308s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 2308s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 2308s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 2308s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 2308s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 2308s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 2308s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 2308s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 2308s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 2308s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 2308s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 2308s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 2308s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 2308s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 2308s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 2308s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 2308s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 2308s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 2308s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 2308s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 2308s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 2308s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 2308s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 2309s Preconfiguring packages ... 2309s Fetched 58.4 MB in 3s (17.7 MB/s) 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 2310s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 2310s Setting up bash (5.2.37-1ubuntu1) ... 2310s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 2310s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 2310s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 2310s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 2310s Setting up tar (1.35+dfsg-3.1) ... 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 2310s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2310s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 2310s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2310s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 2310s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2310s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 2310s (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 ... 59970 files and directories currently installed.) 2310s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 2310s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2311s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 2311s (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 ... 59970 files and directories currently installed.) 2311s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 2311s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2311s Setting up libc6:armhf (2.40-4ubuntu1) ... 2311s (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 ... 59970 files and directories currently installed.) 2311s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 2311s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 2311s Selecting previously unselected package openssl-provider-legacy. 2311s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 2311s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 2311s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 2311s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 2312s (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 ... 59973 files and directories currently installed.) 2312s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 2312s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 2312s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 2312s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 2312s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 2312s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 2312s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 2312s (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 ... 59974 files and directories currently installed.) 2312s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 2312s (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 ... 59974 files and directories currently installed.) 2312s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 2312s (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 ... 59974 files and directories currently installed.) 2312s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2312s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 2312s (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 ... 59974 files and directories currently installed.) 2312s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 2312s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2313s Setting up util-linux (2.40.2-1ubuntu2) ... 2313s fstrim.service is a disabled or a static unit not running, not starting it. 2314s (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 ... 59974 files and directories currently installed.) 2314s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 2314s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2314s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 2314s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2314s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 2314s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2314s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 2314s Unpacking readline-common (8.2-6) over (8.2-5) ... 2314s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 2314s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 2314s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 2314s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 2314s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 2314s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 2314s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 2314s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 2314s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 2314s (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 ... 59974 files and directories currently installed.) 2314s Preparing to unpack .../libnss-systemd_257-2ubuntu1_armhf.deb ... 2314s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2314s Preparing to unpack .../systemd_257-2ubuntu1_armhf.deb ... 2314s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 2315s Preparing to unpack .../udev_257-2ubuntu1_armhf.deb ... 2315s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 2315s Preparing to unpack .../libsystemd-shared_257-2ubuntu1_armhf.deb ... 2315s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2315s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 2315s (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 ... 59967 files and directories currently installed.) 2315s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 2315s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2315s Setting up libsystemd0:armhf (257-2ubuntu1) ... 2315s Setting up mount (2.40.2-1ubuntu2) ... 2315s Setting up systemd (257-2ubuntu1) ... 2315s Installing new version of config file /etc/systemd/logind.conf ... 2315s Installing new version of config file /etc/systemd/sleep.conf ... 2315s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2315s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 2315s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2316s (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 ... 59967 files and directories currently installed.) 2316s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 2316s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 2316s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 2316s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2316s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 2316s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2316s Setting up libudev1:armhf (257-2ubuntu1) ... 2316s (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 ... 59967 files and directories currently installed.) 2316s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 2316s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 2316s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 2317s (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 ... 59967 files and directories currently installed.) 2317s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 2317s Unpacking base-passwd (3.6.6) over (3.6.5) ... 2317s Setting up base-passwd (3.6.6) ... 2317s (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 ... 59967 files and directories currently installed.) 2317s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 2317s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2317s Setting up libc-bin (2.40-4ubuntu1) ... 2317s (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 ... 59967 files and directories currently installed.) 2317s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 2317s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 2317s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 2317s (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 ... 59967 files and directories currently installed.) 2317s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 2318s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 2318s Setting up apt (2.9.18) ... 2319s (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 ... 59966 files and directories currently installed.) 2319s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 2319s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 2319s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 2319s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 2319s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 2319s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 2319s Setting up libgpg-error0:armhf (1.51-3) ... 2319s (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 ... 59966 files and directories currently installed.) 2319s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 2319s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 2319s Setting up libnpth0t64:armhf (1.8-2) ... 2319s (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 ... 59966 files and directories currently installed.) 2319s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 2319s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2319s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 2319s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2320s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 2320s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2320s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 2320s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2320s Setting up gpgv (2.4.4-2ubuntu21) ... 2320s (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 ... 59966 files and directories currently installed.) 2320s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 2320s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 2320s Setting up python3-minimal (3.12.8-1) ... 2320s (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 ... 59966 files and directories currently installed.) 2320s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 2320s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 2320s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 2320s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 2321s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 2321s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 2321s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 2321s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 2321s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 2321s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 2321s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 2321s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 2321s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 2321s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 2321s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 2321s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 2322s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 2322s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 2322s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 2322s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 2322s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 2322s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2322s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 2322s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2322s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 2322s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 2322s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 2322s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 2322s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 2322s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 2323s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 2323s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 2323s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 2323s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 2323s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 2323s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 2323s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 2323s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2323s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 2323s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2323s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 2323s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 2323s Setting up libcap-ng0:armhf (0.8.5-4) ... 2323s (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 ... 59953 files and directories currently installed.) 2323s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 2323s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 2323s Setting up libunistring5:armhf (1.3-1) ... 2323s (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 ... 59953 files and directories currently installed.) 2323s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 2323s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2323s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 2323s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 2323s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 2323s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 2324s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 2324s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2324s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 2324s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2324s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 2324s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 2324s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 2324s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 2324s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 2324s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2324s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 2324s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 2324s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 2324s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 2325s Preparing to unpack .../10-ucf_3.0046_all.deb ... 2325s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 2325s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 2325s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2325s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 2325s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 2325s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 2325s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 2325s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 2325s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 2325s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 2325s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 2325s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 2325s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2325s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 2325s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 2325s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 2325s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2325s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 2325s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2325s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 2325s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 2326s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 2326s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 2326s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 2326s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 2326s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 2326s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 2326s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 2326s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 2326s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 2326s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 2326s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 2326s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 2326s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 2326s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 2326s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 2326s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2326s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 2326s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 2326s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 2326s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 2326s Preparing to unpack .../31-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 2326s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2326s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 2326s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2326s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 2326s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2326s Preparing to unpack .../34-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 2326s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2326s Preparing to unpack .../35-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 2326s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2327s Preparing to unpack .../36-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 2327s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2327s Preparing to unpack .../37-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 2327s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 2327s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 2327s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2327s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 2327s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2327s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 2327s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 2327s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 2327s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 2327s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 2327s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 2327s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 2327s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 2327s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 2327s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 2327s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 2327s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 2327s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 2327s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 2328s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 2328s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2328s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 2328s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 2328s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 2328s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 2328s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 2328s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 2328s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 2328s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 2328s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 2328s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 2328s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 2328s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 2328s Selecting previously unselected package python3-bcrypt. 2328s Preparing to unpack .../54-python3-bcrypt_4.2.0-2.1_armhf.deb ... 2328s Unpacking python3-bcrypt (4.2.0-2.1) ... 2328s Preparing to unpack .../55-python3-cryptography_43.0.0-1_armhf.deb ... 2328s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 2328s Preparing to unpack .../56-python3-jinja2_3.1.3-1.1_all.deb ... 2329s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 2329s Preparing to unpack .../57-python3-json-pointer_2.4-3_all.deb ... 2329s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 2329s Preparing to unpack .../58-python3-jsonpatch_1.32-5_all.deb ... 2329s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 2329s Preparing to unpack .../59-python3-openssl_24.3.0-1_all.deb ... 2329s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 2329s Preparing to unpack .../60-python3-pkg-resources_75.6.0-1_all.deb ... 2329s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 2329s Preparing to unpack .../61-python3-setuptools_75.6.0-1_all.deb ... 2329s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 2330s Preparing to unpack .../62-software-properties-common_0.108_all.deb ... 2330s Unpacking software-properties-common (0.108) over (0.105) ... 2330s Preparing to unpack .../63-python3-software-properties_0.108_all.deb ... 2330s Unpacking python3-software-properties (0.108) over (0.105) ... 2330s Preparing to unpack .../64-python3-wadllib_2.0.0-2_all.deb ... 2330s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 2330s Setting up systemd-sysv (257-2ubuntu1) ... 2330s Setting up pci.ids (0.0~2024.11.25-1) ... 2330s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 2330s Setting up apt-utils (2.9.18) ... 2330s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 2330s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 2330s Setting up libyaml-0-2:armhf (0.2.5-2) ... 2330s Setting up python3.12-gdbm (3.12.8-3) ... 2330s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 2330s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 2330s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 2330s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 2330s Setting up gettext-base (0.22.5-3) ... 2330s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 2330s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 2330s Setting up locales (2.40-4ubuntu1) ... 2331s Generating locales (this might take a while)... 2335s en_US.UTF-8... done 2335s Generation complete. 2335s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 2335s Setting up tzdata (2024b-4ubuntu1) ... 2335s 2335s Current default time zone: 'Etc/UTC' 2335s Local time is now: Mon Jan 6 06:09:03 UTC 2025. 2335s Universal Time is now: Mon Jan 6 06:09:03 UTC 2025. 2335s Run 'dpkg-reconfigure tzdata' if you wish to change it. 2335s 2335s Setting up eject (2.40.2-1ubuntu2) ... 2335s Setting up libftdi1-2:armhf (1.5-8) ... 2335s Setting up libglib2.0-data (2.82.4-1) ... 2335s Setting up systemd-cryptsetup (257-2ubuntu1) ... 2335s Setting up libwrap0:armhf (7.6.q-34) ... 2335s Setting up make (4.4.1-1) ... 2335s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 2335s Setting up bash-completion (1:2.16.0-1) ... 2335s Setting up libfribidi0:armhf (1.0.16-1) ... 2335s Setting up libpng16-16t64:armhf (1.6.44-3) ... 2335s Setting up systemd-timesyncd (257-2ubuntu1) ... 2336s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 2336s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 2336s Setting up udev (257-2ubuntu1) ... 2337s Setting up usb.ids (2024.12.04-1) ... 2337s Setting up ucf (3.0046) ... 2337s Installing new version of config file /etc/ucf.conf ... 2337s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 2337s Setting up whiptail (0.52.24-4ubuntu1) ... 2337s Setting up python-apt-common (2.9.6build1) ... 2337s Setting up dracut-install (105-2ubuntu5) ... 2337s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 2338s uuidd.service is a disabled or a static unit not running, not starting it. 2338s Setting up xauth (1:1.1.2-1.1) ... 2338s Setting up groff-base (1.23.0-7) ... 2338s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 2338s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 2338s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 2338s Setting up curl (8.11.1-1ubuntu1) ... 2338s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 2338s Setting up openssl (3.4.0-1ubuntu2) ... 2338s Installing new version of config file /etc/ssl/openssl.cnf ... 2338s Setting up libgpg-error-l10n (1.51-3) ... 2338s Setting up iputils-ping (3:20240905-1ubuntu1) ... 2338s Setting up readline-common (8.2-6) ... 2338s Setting up publicsuffix (20241206.1516-0.1) ... 2338s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 2338s Setting up libbpf1:armhf (1:1.5.0-2) ... 2338s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 2338s Setting up rsync (3.3.0+ds1-2) ... 2339s rsync.service is a disabled or a static unit not running, not starting it. 2339s Setting up python3.13-gdbm (3.13.1-2) ... 2339s Setting up ethtool (1:6.11-1) ... 2339s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 2339s Setting up systemd-resolved (257-2ubuntu1) ... 2340s Setting up libxkbcommon0:armhf (1.7.0-2) ... 2340s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 2340s Setting up python3.12-minimal (3.12.8-3) ... 2341s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 2341s No schema files found: doing nothing. 2341s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 2341s Setting up libreadline8t64:armhf (8.2-6) ... 2341s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 2341s Setting up gpgconf (2.4.4-2ubuntu21) ... 2341s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 2341s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 2341s Setting up gpg (2.4.4-2ubuntu21) ... 2341s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 2341s Setcap worked! gst-ptp-helper is not suid! 2341s Setting up gpg-agent (2.4.4-2ubuntu21) ... 2342s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 2342s Setting up python3.12 (3.12.8-3) ... 2343s Setting up gpgsm (2.4.4-2ubuntu21) ... 2343s Setting up libglib2.0-bin (2.82.4-1) ... 2343s Setting up libappstream5:armhf (1.0.4-1) ... 2343s Setting up libqmi-glib5:armhf (1.35.6-1) ... 2343s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 2343s Setting up fdisk (2.40.2-1ubuntu2) ... 2343s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 2343s Setting up dirmngr (2.4.4-2ubuntu21) ... 2344s Setting up appstream (1.0.4-1) ... 2344s ✔ Metadata cache was updated successfully. 2344s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 2344s Setting up keyboxd (2.4.4-2ubuntu21) ... 2344s Setting up gnupg (2.4.4-2ubuntu21) ... 2344s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 2344s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 2344s Setting up libqmi-proxy (1.35.6-1) ... 2344s Setting up libfwupd3:armhf (2.0.3-3) ... 2344s Setting up python3 (3.12.8-1) ... 2344s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 2345s Setting up python3-jinja2 (3.1.3-1.1) ... 2345s Setting up python3-wadllib (2.0.0-2) ... 2345s Setting up python3-json-pointer (2.4-3) ... 2345s Setting up fwupd (2.0.3-3) ... 2346s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 2346s fwupd.service is a disabled or a static unit not running, not starting it. 2346s Setting up python3-pkg-resources (75.6.0-1) ... 2346s Setting up python3-attr (24.2.0-1) ... 2347s Setting up python3-setuptools (75.6.0-1) ... 2348s Setting up python3-rich (13.9.4-1) ... 2348s Setting up python3-gdbm:armhf (3.13.1-1) ... 2348s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 2349s Setting up python3-apt (2.9.6build1) ... 2349s Setting up python3-jsonpatch (1.32-5) ... 2349s Setting up python3-bcrypt (4.2.0-2.1) ... 2349s Setting up python3-apport (2.31.0-0ubuntu2) ... 2349s Setting up python3-software-properties (0.108) ... 2350s Setting up python3-cryptography (43.0.0-1) ... 2350s Setting up python3-openssl (24.3.0-1) ... 2350s Setting up software-properties-common (0.108) ... 2350s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 2351s Setting up apport (2.31.0-0ubuntu2) ... 2352s apport-autoreport.service is a disabled or a static unit not running, not starting it. 2352s Processing triggers for dbus (1.14.10-4ubuntu5) ... 2352s Processing triggers for shared-mime-info (2.4-5) ... 2352s Warning: program compiled against libxml 212 using older 209 2353s Processing triggers for debianutils (5.21) ... 2353s Processing triggers for install-info (7.1.1-1) ... 2353s Processing triggers for initramfs-tools (0.142ubuntu35) ... 2353s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2353s Processing triggers for systemd (257-2ubuntu1) ... 2353s Processing triggers for man-db (2.13.0-1) ... 2359s Reading package lists... 2359s Building dependency tree... 2359s Reading state information... 2360s Starting pkgProblemResolver with broken count: 0 2360s Starting 2 pkgProblemResolver with broken count: 0 2360s Done 2362s The following packages will be REMOVED: 2362s libassuan0* 2362s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2362s After this operation, 68.6 kB disk space will be freed. 2363s (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 ... 60003 files and directories currently installed.) 2363s Removing libassuan0:armhf (2.5.6-1build1) ... 2363s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2365s autopkgtest [06:09:33]: rebooting testbed after setup commands that affected boot 2429s Reading package lists... 2429s Building dependency tree... 2429s Reading state information... 2430s Starting pkgProblemResolver with broken count: 0 2430s Starting 2 pkgProblemResolver with broken count: 0 2430s Done 2432s The following NEW packages will be installed: 2432s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2432s libdconf1 2432s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2432s Need to get 138 kB of archives. 2432s After this operation, 569 kB of additional disk space will be used. 2432s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libdconf1 armhf 0.40.0-4build2 [38.4 kB] 2432s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-service armhf 0.40.0-4build2 [27.4 kB] 2432s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-gsettings-backend armhf 0.40.0-4build2 [23.6 kB] 2432s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-repack all 1.54 [11.2 kB] 2432s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 2433s Fetched 138 kB in 0s (361 kB/s) 2433s Selecting previously unselected package libdconf1:armhf. 2433s (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 ... 59998 files and directories currently installed.) 2433s Preparing to unpack .../libdconf1_0.40.0-4build2_armhf.deb ... 2433s Unpacking libdconf1:armhf (0.40.0-4build2) ... 2433s Selecting previously unselected package dconf-service. 2433s Preparing to unpack .../dconf-service_0.40.0-4build2_armhf.deb ... 2433s Unpacking dconf-service (0.40.0-4build2) ... 2433s Selecting previously unselected package dconf-gsettings-backend:armhf. 2433s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_armhf.deb ... 2433s Unpacking dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2433s Selecting previously unselected package dpkg-repack. 2433s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 2433s Unpacking dpkg-repack (1.54) ... 2433s Selecting previously unselected package gsettings-desktop-schemas. 2433s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 2433s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 2433s Setting up dpkg-repack (1.54) ... 2433s Setting up libdconf1:armhf (0.40.0-4build2) ... 2433s Setting up dconf-service (0.40.0-4build2) ... 2433s Setting up dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2433s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 2433s Processing triggers for man-db (2.13.0-1) ... 2434s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 2434s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2451s autopkgtest [06:10:59]: test 1065022-futureproofing: [----------------------- 2453s + export DEBIAN_FRONTEND=noninteractive 2453s + n=0 2453s + failed=0 2453s + binary_package=libglib2.0-0t64 2453s + future_binary_package=libglib2.0-0xyz 2453s + pwd 2453s + srcdir=/tmp/autopkgtest.IZl8W8/build.7dT/src 2453s + mktemp -d 2453s + tmpdir=/tmp/tmp.VJ9Rm6iwZX 2453s + cd /tmp/tmp.VJ9Rm6iwZX 2453s + [ -e /tmp/autopkgtest.IZl8W8/build.7dT/src/debian/tests/manual/local-1065022.sources ] 2453s + dpkg-query -W dpkg-repack 2453s dpkg-repack 1.54 2454s + dpkg-repack --generate libglib2.0-0t64 2454s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2454s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.QL9z0j for libglib2.0-0t64 2454s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.QL9z0j ." 2454s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.QL9z0j/DEBIAN/control 2454s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.QL9z0j/DEBIAN/control 2454s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.QL9z0j/DEBIAN/control 2454s + 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.QL9z0j/DEBIAN/control 2454s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.QL9z0j libglib2.0-0xyz.deb 2454s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2456s + apt-get -y install ./libglib2.0-0xyz.deb 2456s Reading package lists... 2457s Building dependency tree... 2457s Reading state information... 2458s The following packages were automatically installed and are no longer required: 2458s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 2458s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2458s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2458s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport 2458s python3-certifi python3-chardet python3-configobj python3-debconf 2458s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 2458s python3-problem-report python3-pygments python3-requests python3-rich 2458s python3-systemd python3-urllib3 sgml-base xml-core 2458s Use 'apt autoremove' to remove them. 2458s The following additional packages will be installed: 2458s xdg-user-dirs 2458s Suggested packages: 2458s low-memory-monitor 2458s Recommended packages: 2458s shared-mime-info 2458s The following packages will be REMOVED: 2458s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 2458s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 2458s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas 2458s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 2458s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 2458s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1 2458s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 2458s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 2458s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 2458s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 2458s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 2458s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 2458s shared-mime-info software-properties-common ubuntu-minimal udisks2 2458s unattended-upgrades 2458s The following NEW packages will be installed: 2458s libglib2.0-0xyz xdg-user-dirs 2458s 0 upgraded, 2 newly installed, 60 to remove and 0 not upgraded. 2458s Need to get 17.4 kB/1439 kB of archives. 2458s After this operation, 33.9 MB disk space will be freed. 2458s Get:1 /tmp/tmp.VJ9Rm6iwZX/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.82.4-1 [1421 kB] 2459s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-user-dirs armhf 0.18-2 [17.4 kB] 2459s Fetched 17.4 kB in 0s (71.0 kB/s) 2459s (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 ... 60066 files and directories currently installed.) 2459s Removing appstream (1.0.4-1) ... 2459s Removing bolt (0.9.8-1) ... 2460s Removing cloud-init (24.4-0ubuntu1) ... 2460s Removing cloud-init-base (24.4-0ubuntu1) ... 2461s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 2461s Removing dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2461s Removing dconf-service (0.40.0-4build2) ... 2461s Removing fwupd (2.0.3-3) ... 2461s Removing software-properties-common (0.108) ... 2461s Removing python3-software-properties (0.108) ... 2462s Removing networkd-dispatcher (2.2.4-1.1) ... 2462s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ... 2462s Removing packagekit-tools (1.3.0-2) ... 2462s Removing packagekit (1.3.0-2) ... 2462s Removing libappstream5:armhf (1.0.4-1) ... 2463s Removing udisks2 (2.10.1-11ubuntu1) ... 2463s Removing libblockdev-crypto3:armhf (3.2.1-1) ... 2463s Removing libblockdev-fs3:armhf (3.2.1-1) ... 2463s Removing libblockdev-loop3:armhf (3.2.1-1) ... 2463s Removing libblockdev-mdraid3:armhf (3.2.1-1) ... 2463s Removing libblockdev-nvme3:armhf (3.2.1-1) ... 2463s Removing libblockdev-part3:armhf (3.2.1-1) ... 2463s Removing libblockdev-swap3:armhf (3.2.1-1) ... 2463s Removing libblockdev3:armhf (3.2.1-1) ... 2463s Removing libblockdev-utils3:armhf (3.2.1-1) ... 2463s Removing libdconf1:armhf (0.40.0-4build2) ... 2463s Removing libfwupd3:armhf (2.0.3-3) ... 2464s Removing shared-mime-info (2.4-5) ... 2464s Removing unattended-upgrades (2.9.1+nmu4ubuntu1) ... 2464s Removing python3-dbus (1.3.2-5build4) ... 2464s Removing libglib2.0-bin (2.82.4-1) ... 2464s Removing libgstreamer1.0-0:armhf (1.24.10-2) ... 2464s Removing libgudev-1.0-0:armhf (1:238-5ubuntu1) ... 2464s Removing libjcat1:armhf (0.2.0-2build3) ... 2464s Removing libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 2464s Removing libqmi-proxy (1.35.6-1) ... 2464s Removing libqmi-glib5:armhf (1.35.6-1) ... 2464s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 2464s Removing libmbim-glib4:armhf (1.31.2-0ubuntu4) ... 2464s Removing libmm-glib0:armhf (1.23.4-0ubuntu2) ... 2464s Removing ubuntu-minimal (1.544) ... 2464s Removing netplan.io (1.1.1-1) ... 2465s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 2465s Removing python3-netplan (1.1.1-1) ... 2465s Removing netplan-generator (1.1.1-1) ... 2465s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 2465s Removing libnetplan1:armhf (1.1.1-1) ... 2465s Removing libpackagekit-glib2-18:armhf (1.3.0-2) ... 2465s Removing polkitd (125-2ubuntu1) ... 2465s Removing libpolkit-agent-1-0:armhf (125-2ubuntu1) ... 2465s Removing libpolkit-gobject-1-0:armhf (125-2ubuntu1) ... 2466s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu4) ... 2466s Removing libudisks2-0:armhf (2.10.1-11ubuntu1) ... 2466s Removing libvolume-key1:armhf (0.3.12-8) ... 2466s Removing libxmlb2:armhf (0.3.21-1) ... 2466s Removing apport (2.31.0-0ubuntu2) ... 2466s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 2467s Removing python3-gi (3.50.0-3build1) ... 2467s Removing gir1.2-girepository-2.0:armhf (1.82.0-3) ... 2467s Removing gir1.2-glib-2.0:armhf (2.82.4-1) ... 2467s Removing libgirepository-1.0-1:armhf (1.82.0-3) ... 2467s Removing libglib2.0-0t64:armhf (2.82.4-1) ... 2467s Selecting previously unselected package libglib2.0-0xyz:armhf. 2467s (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 ... 58780 files and directories currently installed.) 2467s Preparing to unpack .../libglib2.0-0xyz.deb ... 2467s Unpacking libglib2.0-0xyz:armhf (2.82.4-1) ... 2467s Selecting previously unselected package xdg-user-dirs. 2467s Preparing to unpack .../xdg-user-dirs_0.18-2_armhf.deb ... 2467s Unpacking xdg-user-dirs (0.18-2) ... 2467s Setting up xdg-user-dirs (0.18-2) ... 2467s Setting up libglib2.0-0xyz:armhf (2.82.4-1) ... 2467s No schema files found: removed existing output file. 2467s Processing triggers for dbus (1.14.10-4ubuntu5) ... 2468s Processing triggers for sgml-base (1.31) ... 2468s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2468s Processing triggers for man-db (2.13.0-1) ... 2469s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2469s + n=1 2469s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2469s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2469s + failed=1 2469s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2469s + n=2 2469s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2469s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2469s + failed=1 2469s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2469s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2469s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2469s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2469s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2469s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2469s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 2469s + n=3 2469s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2469s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2469s + failed=1 2469s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 2469s + n=4 2469s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 2469s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2469s + failed=1 2469s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 2469s + n=5 2469s + test -e /usr/lib/*/gio/modules/giomodule.cache 2469s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2469s + failed=1 2469s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 2469s + n=6 2469s + test -s /usr/lib/*/gio/modules/giomodule.cache 2469s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2469s + failed=1 2469s + apt-get -y purge libglib2.0-0t64 2469s Reading package lists... 2469s Building dependency tree... 2469s Reading state information... 2471s The following packages were automatically installed and are no longer required: 2471s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 2471s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2471s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2471s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport 2471s python3-certifi python3-chardet python3-configobj python3-debconf 2471s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 2471s python3-problem-report python3-pygments python3-requests python3-rich 2471s python3-systemd python3-urllib3 sgml-base xml-core 2471s Use 'apt autoremove' to remove them. 2471s The following packages will be REMOVED: 2471s libglib2.0-0t64* 2472s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2472s After this operation, 0 B of additional disk space will be used. 2472s (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 ... 58815 files and directories currently installed.) 2472s Purging configuration files for libglib2.0-0t64:armhf (2.82.4-1) ... 2472s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2472s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2472s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2472s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2472s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2472s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2472s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2472s + n=7 2472s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2472s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2472s + failed=1 2472s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2472s + n=8 2472s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2472s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2472s + failed=1 2472s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 2472s + n=9 2472s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2472s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2472s + failed=1 2472s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 2472s + n=10 2472s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 2472s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2472s + failed=1 2472s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 2472s + n=11 2472s + test -e /usr/lib/*/gio/modules/giomodule.cache 2472s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2472s + failed=1 2472s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 2472s + n=12 2472s + test -s /usr/lib/*/gio/modules/giomodule.cache 2472s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2472s + failed=1 2472s + apt-get -y purge libglib2.0-0xyz 2472s Reading package lists... 2473s Building dependency tree... 2473s Reading state information... 2474s The following packages were automatically installed and are no longer required: 2474s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 2474s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2474s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 2474s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d libunwind8 2474s python3-apport python3-certifi python3-chardet python3-configobj 2474s python3-debconf python3-distro-info python3-markdown-it python3-mdurl 2474s python3-openssl python3-problem-report python3-pygments python3-requests 2474s python3-rich python3-systemd python3-urllib3 sgml-base xdg-user-dirs 2474s xml-core 2474s Use 'apt autoremove' to remove them. 2474s The following packages will be REMOVED: 2474s libglib2.0-0xyz* 2475s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2475s After this operation, 3115 kB disk space will be freed. 2475s (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 ... 58815 files and directories currently installed.) 2475s Removing libglib2.0-0xyz:armhf (2.82.4-1) ... 2475s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2475s (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 ... 58790 files and directories currently installed.) 2475s Purging configuration files for libglib2.0-0xyz:armhf (2.82.4-1) ... 2476s + assert_not test -eok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2476s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2476s /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2476s + n=13 2476s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2476s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2476s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2476s + n=14 2476s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2476s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2476s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 2476s + n=15 2476s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2476s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2476s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 2476s + n=16 2476s + test -e /usr/lib/*/gio/modules/giomodule.cache 2476s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2476s + echo 1..16 2476s + exit 1 2476s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2476s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2476s 1..16 2476s autopkgtest [06:11:24]: test 1065022-futureproofing: -----------------------] 2480s autopkgtest [06:11:28]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2480s 1065022-futureproofing FLAKY non-zero exit status 1 2484s autopkgtest [06:11:32]: @@@@@@@@@@@@@@@@@@@@ summary 2484s build PASS (superficial) 2484s build-static PASS (superficial) 2484s girepository-tools PASS (superficial) 2484s libgio-2.0-dev-bin PASS (superficial) 2484s libglib2.0-dev PASS (superficial) 2484s installed-tests PASS 2484s closure-refcount PASS 2484s debugcontroller PASS 2484s gdbus-server-auth PASS 2484s gdbus-threading PASS 2484s gmenumodel PASS 2484s mainloop PASS 2484s memory-monitor-dbus PASS 2484s socket PASS 2484s testfilemonitor PASS 2484s thread-pool-slow PASS 2484s threadtests PASS 2484s timeout PASS 2484s timer PASS 2484s 1065022-futureproofing FLAKY non-zero exit status 1